[B.A.T.M.A.N.] BLAII + gw_mode, DHCP sometimes gets dropped

Guido Iribarren guidoiribarren at buenosaireslibre.org
Tue Jul 3 22:07:17 CEST 2012


Hello there again,
I have observed a problem since updating to 2012.2 and enabled BLAII

I'm compiling logs to understand what's happening, but as always,
reading logs only gets me more lost :(
So here i am again begging for help

the setup is the same I described in yesterday's attachment, but
what's not pictured is an ethernet cable between colmena-casa and
f8d11504758.
f8d11504758 is the only router that connects to the internet (through
WAN cable), and it's also the only one that has dnsmasq running and
gw_mode=server.
All the other nodes have gw_mode=client

All of the nodes have bridge_loop_avoidance=1
(even though there are no other utp connections, so it could in fact
be enabled only on colmena-casa and f8d11504758)

with this setup, dhcp requests from the mesh sometimes get "lost",
either they don't reach f8d11504758 or the reply doesn't get out

this didn't happen with batman 2012.1 , setup as indicated by the BLAI
wiki page (batctl if add br-lan)
furthermore, with batman 2012.2 , BLAII activated, but gw_mode=off in
all nodes, DHCP also works fine.

So, a few questions arise:
is it a problem to activate bridge_loop_avoidance=1 in all nodes,
regardless of the fact that they "need" it or not? (that is, it is
activated on nodes that don't have any ethernet cables connected and
couldn't possibly create a bridge loop)

would it make a difference, if I add br-lan to bat0 (batctl if add
br-lan) the way I used to do with batman 2012.1 ?

any other thoughts or ideas?

thanks as always!

Gui


More information about the B.A.T.M.A.N mailing list