Re: [B.A.T.M.A.N.] Using batman L2 on multiple wireless cards

Gargi Purohit
2009-02-13T20:58:03Z

> Yes, batman has the concept of "main interface" (the first given interface) to
> reduce overhead but on the node that has 2 interfaces you should see both
> interfaces in the originator table (on a more distant host this might be
> different).
> Could you post the important lines from originators and explain the
> corresponding setup ?

Ok...now I get that...However I think not always I am able to
reproduce this scenario. I have node A, node B, node C - each with 2
radios

--ch60---| A |---ch56---------ch56---| B |---ch40-------ch40---| C |---ch48
(1C)..........(22)...............(20)............(21).................(1D).........(23)...

The terminating mac addresses for the radios are shown in ( )

My originator tables for node a, b, c are as follows:
For Node A
=======
root@OpenWrt:/# cat /proc/net/batman-adv/originators
Originator (#/255) Nexthop [outgoingIF]: Potential nexthops .
00:02:6f:52:80:20 (255) 00:02:6f:52:80:20 [ ath1]: 00:02:6f:52:80:20 (255)
00:02:6f:52:80:1d (177) 00:02:6f:52:80:20 [ ath1]: 00:02:6f:52:80:20 (177)
00:02:6f:52:80:21 (255) 00:02:6f:52:80:20 [ ath1]: 00:02:6f:52:80:20 (255)

For Node B
=======
root@OpenWrt:/# cat /proc/net/batman-adv/originators
Originator (#/255) Nexthop [outgoingIF]: Potential nexthops .
00:02:6f:52:80:22 (255) 00:02:6f:52:80:22 [ ath1]: 00:02:6f:52:80:22 (255)
00:02:6f:52:80:1d (250) 00:02:6f:52:80:1d [ ath0]: 00:02:6f:52:80:1d (250)
00:02:6f:52:80:1c (255) 00:02:6f:52:80:22 [ ath1]: 00:02:6f:52:80:22 (255)

For Node C
=======
root@OpenWrt:/# cat /proc/net/batman-adv/originators
Originator (#/255) Nexthop [outgoingIF]: Potential nexthops .
00:02:6f:52:80:1c (241) 00:02:6f:52:80:21 [ ath0]: 00:02:6f:52:80:21 (241)
00:02:6f:52:80:21 (255) 00:02:6f:52:80:21 [ ath0]: 00:02:6f:52:80:21 (255)

I am wondering why

Node A: Cannot reach mac 23
Node B: Cannot reach mac 23
Node C: Cannot reach 20, 22

Should they be able to reach out "each of the radios" on "a node" or
"just one of the radios" on "the node". Sometimes they can and some
times they dont seem to..

For instance...
I am not sure if it is more of a radio issue than software problem...