Hi, Im new to batman-adv and this is my first attempt to make it work. Im having connectivity issue, couldnt complete the configuration.
topology: PC1---eth0(Openwrt1)phy1sta0----------phy1ap0(openwrt2)eth0--PC2
openwrt1 has bridge(br-lan), with members of eth0 and bat0. PC1 is connected to eth0 bat0 has interface phy1-ap0 and interface is active openwrt1 br1 ip is 192.168.1.11
openwrt2 has bridge(br-lan), with members of eth0 and bat0 PC2 is connected to eth0 bat0 has interface phy1-sta0 and interface is active openwrt2 br1 ip is 192.168.1.12
openwrt2 phy1-sta0 is connected to openwrt1 phy1-ap0
I can not ping 192.168.1.11 from openwrt2 and can not 192.168.1.12 from openwrt1 (from console/ssh interfaces) My final aim is to be able to ping from PC1 connected to eth0 of openwrt1, to openwrt1, openwrt2 and PC2 connected to eth0 of openwrt2. What I am missing here?
some logs from batman-adv: version: batctl 2024.3-openwrt-1 [batman-adv: 2024.3-openwrt-2]
[ 188.360147] phy1-sta0: associated [ 188.379399] batman_adv: bat0: Adding interface: phy1-sta0 [ 188.384849] batman_adv: bat0: The MTU of interface phy1-sta0 is too small (1532) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 188.409162] batman_adv: bat0: Interface activated: phy1-sta0
root@dasal-01:~# brctl show bridge name bridge id STP enabled interfaces br-lan 7fff.16acd96f6f78 no eth0 bat0 root@owrt-01:~# batctl if phy1-sta0: active
On Monday, 18 November 2024 20:44:44 CET soanican@gmail.com wrote:
Im new to batman-adv and this is my first attempt to make it work. Im having connectivity issue, couldnt complete the configuration.
Unfortunately, this is not enough information to answer the question. And some of the information is only one-sided, Here are some pointers how you might be able to continue:
https://www.open-mesh.org/projects/batman-adv/wiki/Troubleshooting
Kind regards, Sven
Dear Sven,
I would like to ask generic system and topology questions:
1-)Generic System Question According to info at the "https://www.kernel.org/doc/Documentation/networking/batman-adv.txt" (referred from the troubleshooting page) , if following "batman-adv" folder do not exist, your interface might not be supported. -->"/sys/class/net/eth0/batman_adv/"
If that folder does NOT exist in a system but interfaces can be add/removed via "batctl if" command, and outputs indicates interface active, can we consider this system works properly?
2-)Generic Topology Question Consider multiple batman nodes, each have 1 bridge interface, bridge have two ports, one "bat0" and "eth0", and IP is assigned to the bridge port. At each node, multiple wired/wireless interfaces are assigned to "bat0" which have stable connections to other nodes bat0 interfaces. These interfaces are indicated as "active" via batctl. Can local process of batman nodes and external non-batman nodes connected to "eth0" port of the bridge, have IP connectivity to each other via IP addresses assigned to bridges?
best regards MuDe
b.a.t.m.a.n@lists.open-mesh.org