Hi
I was wondering if I can run L2 batman kernel module on hardware which has 3 wireless cards. Should be process be the same as in adding interfaces e.g. ath0, ath1, ath2 to /proc/net/batman-adv/interfaces (where ath0, ath1, ath2 are different wireless cards) and adding bat0 with eth0 to the bridge?
Regards
Gargi
Hello Gargi,
yep, thats exactly the way to go. :)
best regards Simon
On Wed, Feb 11, 2009 at 09:06:46PM -0600, Gargi Purohit wrote:
Hi
I was wondering if I can run L2 batman kernel module on hardware which has 3 wireless cards. Should be process be the same as in adding interfaces e.g. ath0, ath1, ath2 to /proc/net/batman-adv/interfaces (where ath0, ath1, ath2 are different wireless cards) and adding bat0 with eth0 to the bridge?
Regards
Gargi _______________________________________________ B.A.T.M.A.N mailing list B.A.T.M.A.N@open-mesh.net https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n
cool....i set it up that way...i have each of the cards on different channels...so every board has ath0 and ath1 each tuned to a different channel....
so some boards are reachable on channel X whereas others on channel Y
however when i check the /proc/net/batman-adv/originators....i see that all other nodes are reachable but the interface mentioned is ath1....(even those which are actually reachable by ath0)
shouldn't some of the boards be reachable by ath0 - as some nodes are on a different channel...
or is it like ath1 is some main interface.....
On Thu, Feb 12, 2009 at 6:53 AM, Simon Wunderlich simon.wunderlich@s2003.tu-chemnitz.de wrote:
Hello Gargi,
yep, thats exactly the way to go. :)
best regards Simon
On Wed, Feb 11, 2009 at 09:06:46PM -0600, Gargi Purohit wrote:
Hi
I was wondering if I can run L2 batman kernel module on hardware which has 3 wireless cards. Should be process be the same as in adding interfaces e.g. ath0, ath1, ath2 to /proc/net/batman-adv/interfaces (where ath0, ath1, ath2 are different wireless cards) and adding bat0 with eth0 to the bridge?
Regards
Gargi _______________________________________________ B.A.T.M.A.N mailing list B.A.T.M.A.N@open-mesh.net https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFJlBvbrzg/fFk7axYRAtgKAKDu6Wnm㨍跿䇹῁㫯ꝧ婙ꌀ⟛� dFuChjqLqYH/dXsbdAqH9vU= =/7Tb -----END PGP SIGNATURE-----
B.A.T.M.A.N mailing list B.A.T.M.A.N@open-mesh.net https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n
Hello List,
however when i check the /proc/net/batman-adv/originators....i see that all other nodes are reachable but the interface mentioned is ath1....(even those which are actually reachable by ath0)
shouldn't some of the boards be reachable by ath0 - as some nodes are on a different channel...
if the three interfaces are working in ad-hoc-mode be sure to assign different BSSIDs to further separate the channels. with a low distance beween the radios (or even all three readios in one case) the channel-crosstalk is severe. I have seen cards running on channel 1 even decode some frames from channel 13. thats why a logical separation is necessary or at least recommended.
regards,
dennis bartsch
_________________________________________________________________ http://redirect.gimas.net/?n=M0902xFTPFotoalbum Digitale Fotoalben und Videos ganz einfach selbst erstellen.
On Thursday 12 February 2009 22:58:31 Gargi Purohit wrote:
however when i check the /proc/net/batman-adv/originators....i see that all other nodes are reachable but the interface mentioned is ath1....(even those which are actually reachable by ath0)
shouldn't some of the boards be reachable by ath0 - as some nodes are on a different channel...
or is it like ath1 is some main interface.....
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 ?
Regards, Marek
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...
Hello Gargi,
the design of the main interface in BATMAN has the effect that only OGM packets from the main interface are distritibuted over the whole network. OGM packets from secondary interfaces are only sent with TTL=1, that means the next neighbor will drop them.
The reason for this system is that the secondary interfaces need an unique ID/MAC (not the same address as the main interface), because physically this address must be used to send the frames. The "secondary neighbor" will want to send only to the main interface, because this address is known in the whole mesh. The "secondary neighbor" therefore needs to address the "secondary interface" correctly, so he (and he alone) receives the secondary OGMs. This allows the neighbor to build a route to the main interface. Flooding the secondary OGMs throughout the mesh would have been another possible alternative, but thats redundandant, and we don't want to flood too much.
Hope that makes it somewhat clear. ;)
The consequence is that by design you won't see the secondary interfaces of the nodes if you're not physically connected (and in range) with them.
I am wondering why
Node A: Cannot reach mac 23 Node B: Cannot reach mac 23 Node C: Cannot reach 20, 22
So i guess for your scenario 22 is As secondary interface, 20 is Bs secondary interface, and 23 is Cs secondary interface.
You can verify that with your local setups: The first interface added is the main interface, the following ones are the secondary interfaces.
best regards, Simon
On Fri, Feb 13, 2009 at 02:58:03PM -0600, Gargi Purohit wrote:
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... _______________________________________________ B.A.T.M.A.N mailing list B.A.T.M.A.N@open-mesh.net https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n
b.a.t.m.a.n@lists.open-mesh.org