public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] non DHCP batman-adv gateway
@ 2014-07-18 13:06 Gabriel Tolón
  2014-07-23 15:58 ` Gui Iribarren
  0 siblings, 1 reply; 4+ messages in thread
From: Gabriel Tolón @ 2014-07-18 13:06 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

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!

Gabriel

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

* Re: [B.A.T.M.A.N.] non DHCP batman-adv gateway
  2014-07-18 13:06 [B.A.T.M.A.N.] non DHCP batman-adv gateway Gabriel Tolón
@ 2014-07-23 15:58 ` Gui Iribarren
  2014-07-24 12:38   ` Gabriel Tolón
  0 siblings, 1 reply; 4+ messages in thread
From: Gui Iribarren @ 2014-07-23 15:58 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

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.

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!

> 
> Gabriel

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

* Re: [B.A.T.M.A.N.] non DHCP batman-adv gateway
  2014-07-23 15:58 ` Gui Iribarren
@ 2014-07-24 12:38   ` Gabriel Tolón
  2014-07-29 15:28     ` Gui Iribarren
  0 siblings, 1 reply; 4+ messages in thread
From: Gabriel Tolón @ 2014-07-24 12:38 UTC (permalink / raw)
  To: b.a.t.m.a.n

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

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

* Re: [B.A.T.M.A.N.] non DHCP batman-adv gateway
  2014-07-24 12:38   ` Gabriel Tolón
@ 2014-07-29 15:28     ` Gui Iribarren
  0 siblings, 0 replies; 4+ messages in thread
From: Gui Iribarren @ 2014-07-29 15:28 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On 24/07/14 09:38, Gabriel Tolón wrote:
> 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?

yes, definitely. my mistake. It's gw_mode=server.

cheers!

gui

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

end of thread, other threads:[~2014-07-29 15:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-18 13:06 [B.A.T.M.A.N.] non DHCP batman-adv gateway Gabriel Tolón
2014-07-23 15:58 ` Gui Iribarren
2014-07-24 12:38   ` Gabriel Tolón
2014-07-29 15:28     ` Gui Iribarren

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