Hi all, thank you so much for such an awesome project! I got a problem and need your help.
I've set up a 4-router wireless network, routers are connected together in a linear topology, by using the AP-APCLI (AP Client) mode provided by the driver.
The figure shows how they are connected:
However, the node 2 and node 4 cannot connect to each other, while other things go well.
Ping status:
Node 1 can ping 2, 3, 4.
Node 2 can ping 1, 3.
Node 3 can ping 1, 2, 4.
Node 4 can ping 1, 3.
Use Node 2 to ping Node 4, the `tcpdump -i any icmp` output on Node 4:
02:11:54.683342 bat0 P IP 192.168.6.2 > 192.168.6.4: ICMP echo request, id 32006, seq 0, length 64
02:11:54.693420 br-lan In IP 192.168.6.2 > 192.168.6.4: ICMP echo request, id 32006, seq 0, length 64
02:11:54.703673 br-lan Out IP 192.168.6.4 > 192.168.6.2: ICMP echo reply, id 32006, seq 0, length 64
02:11:54.703677 ra0 Out IP 192.168.6.4 > 192.168.6.2: ICMP echo reply, id 32006, seq 0, length 64
Here I noticed that the outgoing interface is ra0, instead of bat0, maybe this is the problem?
Use Node 4 to ping Node 2, Node 2 gets nothing.
`batctl ping` works well:
Node 2 -> 4:
~# ./batctl ping 192.168.6.4
PING 192.168.6.4 (9a:15:64:00:0b:f7) 20(48) bytes of data
20 bytes from 192.168.6.4 icmp_seq=1 ttl=49 time=1.20 ms
Node 4 -> 2:
~# ./batctl ping 192.168.6.2
PING 192.168.6.2 (9a:15:64:00:0b:f8) 20(48) bytes of data
20 bytes from 192.168.6.2 icmp_seq=1 ttl=49 time=1.08 ms
`batctl o` outputs below. I also feel the output on node 3 and 4 are a bit weird, too.
On 1:
[B.A.T.M.A.N. adv 2024.4, MainIF/MAC: rax0/90:15:64:00:0b:ee (bat0/22:f9:67:7c:cd:e8 BATMAN_IV)]
Originator last-seen (#/255) Nexthop [outgoingIF]
* 9a:15:64:00:0b:f8 0.016s (255) 9a:15:64:00:0b:f8 [ rax0]
* 9a:15:64:00:0b:b9 0.980s (221) 9a:15:64:00:0b:f8 [ rax0]
* 9a:15:64:00:0b:f7 0.216s (197) 9a:15:64:00:0b:f8 [ rax0]
On 2:
[B.A.T.M.A.N. adv 2024.4, MainIF/MAC: apclix0/9a:15:64:00:0b:f8 (bat0/f2:71:14:f3:8c:e8 BATMAN_IV)]
Originator last-seen (#/255) Nexthop [outgoingIF]
* 90:15:64:00:0b:ee 0.212s (247) 90:15:64:00:0b:ee [ apclix0]
* 9a:15:64:00:0b:b9 0.392s (255) 9a:15:64:00:0b:b9 [ rax0]
* 9a:15:64:00:0b:f7 0.588s (225) 9a:15:64:00:0b:b9 [ rax0]
On 3:
[B.A.T.M.A.N. adv 2024.4, MainIF/MAC: apclix0/9a:15:64:00:0b:b9 (bat0/ca:97:7e:d4:23:7e BATMAN_IV)]
Originator last-seen (#/255) Nexthop [outgoingIF]
* 90:15:64:00:0b:ee 0.972s (221) 90:15:64:00:0b:f9 [ apclix0]
* 9a:15:64:00:0b:f8 0.032s (255) 90:15:64:00:0b:f9 [ apclix0]
* 90:15:64:00:0b:f9 0.128s (251) 90:15:64:00:0b:f9 [ apclix0]
* 9a:15:64:00:0b:f7 0.536s (255) 9a:15:64:00:0b:f7 [ rax0]
On 4:
[B.A.T.M.A.N. adv 2024.4, MainIF/MAC: apclix0/9a:15:64:00:0b:f7 (bat0/ae:77:82:36:4d:f7 BATMAN_IV)]
Originator last-seen (#/255) Nexthop [outgoingIF]
* 90:15:64:00:0b:ee 0.412s (187) 90:15:64:00:0b:ba [ apclix0]
* 9a:15:64:00:0b:f8 0.652s (217) 90:15:64:00:0b:ba [ apclix0]
* 9a:15:64:00:0b:b9 0.840s (255) 90:15:64:00:0b:ba [ apclix0]
* 90:15:64:00:0b:ba 0.552s (255) 90:15:64:00:0b:ba [ apclix0]
`ip neigh` on Node 2 (pasted related entries only):
192.168.6.4 dev br-lan lladdr 90:15:64:00:0b:f6 used 0/0/0 probes 1 STALE
192.168.6.3 dev br-lan lladdr 90:15:64:00:0b:b8 used 0/0/0 probes 1 STALE
192.168.6.1 dev br-lan lladdr 90:15:64:00:0b:ec used 0/0/0 probes 1 STALE
`ip neigh` on Node 4:
192.168.6.1 dev br-lan lladdr 90:15:64:00:0b:ec used 0/0/0 probes 1 STALE
192.168.6.2 dev br-lan lladdr 90:15:64:00:0b:f7 used 0/0/0 probes 4 STALE
192.168.6.3 dev br-lan lladdr 90:15:64:00:0b:b8 used 0/0/0 probes 1 STALE
All batctl parameters are remained default.
Thank you so much for your kind help!
Jingwei