Skip to contentSkip to conversation

DHCP-Monitoring of Gateways

B.A.T.M.A.N. Jan Lühr 3 participants 5 messages Jun 15, 2014 – Jun 16, 2014

lore
Share & tools
lore

Jan Lühr

author
#0 lore raw

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

#1 lore raw

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.

Quoted 19 lines · Jan Lühr

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

#2 lore raw
In reply to Jan Lühr

Hi,

Quoted 9 lines

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.

Quoted 3 lines

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

author
#3 lore raw

Hello,

Am 06/16/2014 08:14 AM, schrieb Marek Lindner:

Quoted 12 lines

Hi,

Quoted 9 lines

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.

Quoted 6 lines
Quoted 3 lines

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

#4 lore raw
Quoted 6 lines · On Monday 16 June 2014 09:42:40 Jan Lühr wrote:
Quoted 2 lines

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