You are not logged in.

#1 2009-06-15 09:45:43

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,231
Website

Nagios and/or dhcpd and/or mac address spoofing

Hey all,

Just a general question, which leads to another issue... I'm monitoring the laptops at home, but they could have 2 different IP addresses depending on whether they are on wireless or wired. AFAIK, there's no way to get dhcpd to hand out the same IP address for 2 different MAC addresses.

1) How do people monitor a host in Nagios with multiple IP addresses?
2) Can dhcpd be made to hand the same address to 2 different MAC addresses?
3) If neither of the above it possible, I guess spoofing the MAC address on the wired interface to match the wired interface would work?

Offline

#2 2009-06-15 10:12:28

von_Wanderlust
Member
Registered: 2008-11-03
Posts: 67

Re: Nagios and/or dhcpd and/or mac address spoofing

Re #2, you could probably do it via netcfg. I set my IP address in the netcfg profile like so:

IFOPTS="10.0.0.43 netmask 255.255.255.0 broadcast 10.0.0.255"
GATEWAY=10.0.0.1
DNS=10.0.0.1

I am thinking that you could try setting up a wired and wireless profile for each laptop, but using the same address.

Offline

#3 2009-06-15 11:44:12

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,231
Website

Re: Nagios and/or dhcpd and/or mac address spoofing

That's the easy solution tongue

I use DHCP so if I change domain/ip range/subnet mask etc all I have to do it change it on the server rather than have to go to each individual computer - they'll just 'fix' themselves at new DHCP lease renewal.

Offline

#4 2009-06-16 00:05:40

von_Wanderlust
Member
Registered: 2008-11-03
Posts: 67

Re: Nagios and/or dhcpd and/or mac address spoofing

Ah, I see. OK, I'm out of my league now.. smile

Offline

Board footer

Powered by FluxBB