On Friday, 9 June 2023 20:55:24 CEST Mark Mundy wrote:
I think I understand this to mean that I should remove the ipaddress, netmask configuration items from the bat0 interface, and create a bridge with bat0 and eth1.
Nearly correct - the eth1 IP configuration must also be removed because you configured two conflicting IP addresses (with the same subnet and metric) and in this process broke the routing table.
Something more like this for 10.1.1.1, and similar changes for 10.2.1.1 where it is actually the bridge interface that contains holds the IP address info
[...]
allow hotplug eth1 auto eth1 iface eth1 inet static address 10.1.1.1 netmask 255.0.0.0 gateway 10.0.0.1 # dns-nameservers 1.1.1.1 8.8.8.8 8.8.4.4
Why do you configure an IP address on eth1? It is part of a bridge and the IP configuration must be on top of the bridge. But you already have an IP address in the same subnet configured on br0. There are ways to still work around this configuration problem but it would be weird to not simply fix the configuration.
Btw. this has nothing to do with batman-adv but is just about basic (Linux) networking.
Kind regards, Sven