public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] batman-adv mesh slows down wired clients (bridge-loop-avoidance)
@ 2011-02-24 17:02 Vinay Tharigopula
  2011-02-24 19:44 ` Linus Lüssing
  0 siblings, 1 reply; 13+ messages in thread
From: Vinay Tharigopula @ 2011-02-24 17:02 UTC (permalink / raw)
  To: b.a.t.m.a.n

Hello..

I succesfully configured a batman-adv mesh to add access points to our 
existing wired lan.  I am using Openwrt 10.04 and batman-adv 2010.1.0. 
DHCP and everything works as expected. Any wired or wireless client 
connecting to the network gets an IP from a DHCP server hooked into the 
switch etc etc.

Our Network configuration:

8 batman-adv routers with a wireless mesh  with two or more of the 
routers having a wired connection directly to the switch. In this case, 
the 8 routers decide to pick one of the "plugged in" routers as a 
gateway to avoid bridge loops. This is fine.

I have been running into issues with wired clients however.

When a wired client plugged into the switch tries to contact a wired 
client plugged into the same switch, the packets manage to get lost. I 
believe they are are going through the wireless routers plugged into the 
same switch.

Instead of going like this..

PC 1 ----> switch1 ---> PC 2

they seem to be going like this... (my guess).

PC 1 ---> switch1 ---> wireless router 1 ----(wireless mesh link)----> 
wireless router 2 ----> switch1 --->  PC 2.

I think this is because the translation tables on the bat node are 
announcing that even the wired clients are connected to them.

This is causing extreme delays even in wired clients. Any help will be 
appreciated. Should I enable STP in on the switch ports ?

- Vinay

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: [B.A.T.M.A.N.] batman-adv mesh slows down wired clients (bridge-loop-avoidance)
@ 2011-02-26 23:01 Marek Lindner
  0 siblings, 0 replies; 13+ messages in thread
From: Marek Lindner @ 2011-02-26 23:01 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking


Hi,

Linus has some problems sending mails to the list, so I forward his reply.

Cheers,
Marek


============================================


Hi Vinay,

On Fri, Feb 25, 2011 at 08:44:33AM -0500, Vinay Tharigopula wrote:
> Marek..
>
> I got the binaries from the openwrt prebuilt packages. However,
> now
> I rebuilt the image and built batman-adv 2011.myself. I will try
> this now and let you know.
>
> However, now I am running into a much bigger issue. If two
> routers
> are plugged in to the same switch, bridge loop avoidance doesnt
> work
> and both of them are stopping responding to pings.
Could you try "batctl ping" too and check whether this is working
or not.

If that's working but the normal pinging is not, then it should be
a layer 3 problem - in that case we'd need the outputs of "ip
route show" and "ip address show".

If batctl ping is already not working then "batctl o" and "batctl
if" output will be interesting.
>
> Here is my config.
>
> bat0 if:
> wlan1: active.
>
> wlan1: Mesh Network.
>
> wlan0: Infrastructure network.
> eth0 : 4 lan ports
> eth1: 1 wan port
>
> br-lan : wlan0 eth0 eth1 bat0
Hmm, that looks sane and correct, should work like that.

Is there anything weird in the output of "dmesg"? Any errors or
warnings?

Cheers, Linus

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-03-01  2:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-24 17:02 [B.A.T.M.A.N.] batman-adv mesh slows down wired clients (bridge-loop-avoidance) Vinay Tharigopula
2011-02-24 19:44 ` Linus Lüssing
2011-02-24 20:12   ` Vinay Tharigopula
2011-02-25  0:30     ` Marek Lindner
2011-02-25 13:44       ` Vinay Tharigopula
2011-02-25 16:14         ` Vinay Tharigopula
2011-02-25 16:22         ` Vinay Tharigopula
2011-02-25 22:41         ` Linus Lüssing
2011-02-26 19:31         ` Linus Lüssing
2011-02-26 22:49         ` Marek Lindner
2011-02-28 19:12           ` Vinay Tharigopula
2011-03-01  2:24             ` Marek Lindner
  -- strict thread matches above, loose matches on Subject: below --
2011-02-26 23:01 Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox