public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] DHCP-Monitoring of Gateways
@ 2014-06-15 21:19 Jan Lühr
  2014-06-16  0:12 ` cmsv
  2014-06-16  6:14 ` Marek Lindner
  0 siblings, 2 replies; 5+ messages in thread
From: Jan Lühr @ 2014-06-15 21:19 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Hello,

we're running batman 2013.4, having multiple Gateways. For doing so,
we'd like to monitor the availability of every dhcp-server on each Gateway.

I noticed: If DHCP-Packages (even unicast ones) that unicast
DHCP-Requests / Discovery are unanswered, if
-> they're sent locally on a gateway
-> sent to a gateway not "chosen" (according to batctl gwl) by the
monitoring host.

What's the best way of monitoring all DHCP-Servers? Is there a way to
set up a monitoring node, that can reach all DHCP-Servers?
If not, how can request an ip address locally?


Thanks,
Greetz, Jan

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

* Re: [B.A.T.M.A.N.] DHCP-Monitoring of Gateways
  2014-06-15 21:19 [B.A.T.M.A.N.] DHCP-Monitoring of Gateways Jan Lühr
@ 2014-06-16  0:12 ` cmsv
  2014-06-16  6:14 ` Marek Lindner
  1 sibling, 0 replies; 5+ messages in thread
From: cmsv @ 2014-06-16  0:12 UTC (permalink / raw)
  To: ff; +Cc: The list for a Better Approach To Mobile Ad-hoc Networking

[-- Attachment #1: Type: text/plain, Size: 849 bytes --]


Although the answer has nothing to do with batman-adv or layer 2
services/setup you may want to look into a radius server for your network.

Batman-adv has no relation to how dhcp works.

On 06/15/2014 05:19 PM, Jan Lühr wrote:
> Hello,
> 
> we're running batman 2013.4, having multiple Gateways. For doing so,
> we'd like to monitor the availability of every dhcp-server on each Gateway.
> 
> I noticed: If DHCP-Packages (even unicast ones) that unicast
> DHCP-Requests / Discovery are unanswered, if
> -> they're sent locally on a gateway
> -> sent to a gateway not "chosen" (according to batctl gwl) by the
> monitoring host.
> 
> What's the best way of monitoring all DHCP-Servers? Is there a way to
> set up a monitoring node, that can reach all DHCP-Servers?
> If not, how can request an ip address locally?
> 
> 
> Thanks,
> Greetz, Jan
> 

[-- Attachment #2: 0x15C4B382.asc --]
[-- Type: application/pgp-keys, Size: 36238 bytes --]

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

* Re: [B.A.T.M.A.N.] DHCP-Monitoring of Gateways
  2014-06-15 21:19 [B.A.T.M.A.N.] DHCP-Monitoring of Gateways Jan Lühr
  2014-06-16  0:12 ` cmsv
@ 2014-06-16  6:14 ` Marek Lindner
  2014-06-16  7:42   ` Jan Lühr
  1 sibling, 1 reply; 5+ messages in thread
From: Marek Lindner @ 2014-06-16  6:14 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

[-- Attachment #1: Type: text/plain, Size: 698 bytes --]


Hi,

> we're running batman 2013.4, having multiple Gateways. For doing so,
> we'd like to monitor the availability of every dhcp-server on each Gateway.
> 
> I noticed: If DHCP-Packages (even unicast ones) that unicast
> DHCP-Requests / Discovery are unanswered, if
> -> they're sent locally on a gateway
> -> sent to a gateway not "chosen" (according to batctl gwl) by the
> monitoring host.
> 
> What's the best way of monitoring all DHCP-Servers? Is there a way to
> set up a monitoring node, that can reach all DHCP-Servers?
> If not, how can request an ip address locally?

if you don't wish batman to interfere with your DHCP requests I suggest to 
disable the gateway mode.

Cheers,
Marek

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

* Re: [B.A.T.M.A.N.] DHCP-Monitoring of Gateways
  2014-06-16  6:14 ` Marek Lindner
@ 2014-06-16  7:42   ` Jan Lühr
  2014-06-16  8:37     ` Marek Lindner
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Lühr @ 2014-06-16  7:42 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Hello,

Am 06/16/2014 08:14 AM, schrieb Marek Lindner:
> 
> Hi,
> 
>> we're running batman 2013.4, having multiple Gateways. For doing
>> so, we'd like to monitor the availability of every dhcp-server on
>> each Gateway.
>> 
>> I noticed: If DHCP-Packages (even unicast ones) that unicast 
>> DHCP-Requests / Discovery are unanswered, if -> they're sent
>> locally on a gateway -> sent to a gateway not "chosen" (according
>> to batctl gwl) by the monitoring host.
>> 
>> What's the best way of monitoring all DHCP-Servers? Is there a
>> way to set up a monitoring node, that can reach all
>> DHCP-Servers? If not, how can request an ip address locally?
> 
> if you don't wish batman to interfere with your DHCP requests I
> suggest to disable the gateway mode.

thanks for your feedback. I'd like to keep the gateway mode enable for
regular clients. It is sufficient to disable the gateway-mode on the
monitoring-node?

Thanks,
Jan


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

* Re: [B.A.T.M.A.N.] DHCP-Monitoring of Gateways
  2014-06-16  7:42   ` Jan Lühr
@ 2014-06-16  8:37     ` Marek Lindner
  0 siblings, 0 replies; 5+ messages in thread
From: Marek Lindner @ 2014-06-16  8:37 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

[-- Attachment #1: Type: text/plain, Size: 460 bytes --]

On Monday 16 June 2014 09:42:40 Jan Lühr wrote:
> > if you don't wish batman to interfere with your DHCP requests I
> > suggest to disable the gateway mode.
> 
> thanks for your feedback. I'd like to keep the gateway mode enable for
> regular clients. It is sufficient to disable the gateway-mode on the
> monitoring-node?

Absolutely. DHCP packets are manipulated by batman-adv only on the node where 
the packets enters the mesh.

Cheers,
Marek

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

end of thread, other threads:[~2014-06-16  8:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-15 21:19 [B.A.T.M.A.N.] DHCP-Monitoring of Gateways Jan Lühr
2014-06-16  0:12 ` cmsv
2014-06-16  6:14 ` Marek Lindner
2014-06-16  7:42   ` Jan Lühr
2014-06-16  8:37     ` Marek Lindner

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