Hi Gui, thanks for your answer!
El 23/07/14 12:58, Gui Iribarren escribió:
On 18/07/14 10:06, Gabriel Tolón wrote:
Hi,
I'd like to use a configuration in a batman-adv openwrt mesh network in which the batman gateway relays the DHCP messages to and from a non batman-adv router. I think that's not a typical configuration right? Should it work? Do I need some additional packages? Thanks in advance!
Yes, it should work just fine, you should set gw_mode=master in the correspondent batman-adv gateway, but turn its dhcp server off.
you mean gw_mode=server? Or it's a new option?
So, when dhcp packets get to that node, it will naturally relay them over br-lan and they will reach the non-batman-adv router.
That setup is more typical than what you might think of :)
(we have used it this way in at least 4 or 5 different cases)
cheers!
That's good to know. Other option I had thought was to turn off gw_mode and use the mesh just as the L2 switch it is, but that way the possibility to choose the best batman-adv gateway would be lost i guess.
Regards
Gabriel