Can you ping
from the nodes running batman-adv to other nodes running batman-
adv ? In other words: Is your mesh working ?
Yes, I can use the standard ping command to ping any batman node on the
mesh from any other batman node. It is the non-batman clients that are
not communicating with anything. They can only ping the node they are
directly connected to.
Double checked this just now and I can ping all batman nodes
interfaces) just fine from any node.
provide specifics about what you saw when running tcpdump ? What does
'never getting anything back' mean ? The ping goes one way without any pong
showing up ? Have you checked on the ping destination (via tcpdump) that the
ping ever made it there ?
I had two non-batman clients on the mesh, connected to two different
nodes separated by a third node (i.e. for the client on node 1 to
communicate to the client on node 3, the data has to go through node 2).
Each client can ping the node they are connected to (the br0
interface, which has the IP address), but when they try and ping another
node or the other client I see the ping requests go out in tcpdump, but
nothing received at the other end (again in tcpdump). I do see a lot of
ARP requests without replies on the originator if that helps.
Here is some sample output. Client 3b is trying to ping client 4a and
4a is trying to ping 3b at the same time. While all batman nodes can
ping other nodes, they can only ping their own clients (i.e. those
connected directly to them).
I'm guessing I'm missing some sort of routing information or bridge
configuration. If anyone can shed some light or let me know what sort
of output they'd like to see I'm happy to gather it and send it along.
Client 3b: 192.168.1.132/24 -- 08:00:27:32:c7:1c
17:46:26.923228 ARP, Request who-has 192.168.1.132 tell 192.168.1.141,
17:46:26.923246 ARP, Reply 192.168.1.132 is-at 08:00:27:32:c7:1c (oui
Unknown), length 28
17:46:26.952511 IP 192.168.1.132 > 192.168.1.141: ICMP echo request, id
1374, seq 221, length 64
Client 4b: 192.168.1.141/24 -- 08:00:27:1f:90:aa
17:46:26.021447 ARP, Request who-has 192.168.1.132 tell 192.168.1.141,
17:46:26.357353 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP,
Request from 08:00:27:9d:43:0a (oui Unknown), length 300
17:46:26.953478 08:00:27:1f:90:aa (oui Unknown) > Broadcast, ethertype
Unknown (0x4305), length 74:
0x0000: 000f 3200 d609 7156 0800 271f 90aa 0800 ..2...qV..'.....
0x0010: 271f 90aa 00ff 0024 0401 0014 0102 0002 '......$........
0x0020: 3f0f a131 8000 2000 7720 f3e8 0000 0000 ?..1....w.......
0x0030: 0601 0004 0000 0000 0201 0000 ............