OMAPI Host Object and Duplicate MACs in different subnets

Glenn Satchell Glenn.Satchell at uniq.com.au
Tue Jul 8 15:00:51 UTC 2008


>Date: Tue, 8 Jul 2008 11:47:44 -0300
>From: "Caciano Machado" <caciano at gmail.com>
>To: dhcp-users at isc.org
>Subject: OMAPI Host Object and Duplicate MACs in different subnets
>
>Hi,
>
>I have a problem with the following scenario:
>
>A central DHCP server and many subnets which forward the DHCP requests
>through DHCP relays. The central server is managed via OMAPI. We
>manage static hosts configurations using it.
>
>The problem occurs when a subnet has a duplicate address interface...
>ISC DHCP don't permit this situation using OMAPI even if the
>interfaces are in different subnets. OMAPI doesn't have a way to tell
>to DHCP in which subnet the host is located.
>
>Anyone has a solution to this problem?
>
>Regards,
>Caciano Machado
>
In dhcpd.conf it is legal to have more than one address in the
fixed-address statement.

For example if you have one host which might need fixed addresses in
more than one subnet you can use:

host mylaptop {
  hardware ethernet c:0:f:f:e:e;
  fixed address 192.168.1.1, 192.168.2.20, 192.168.50.99;
}

Can you do this with omapi commands? Select using the mac address, then
add multiuple IP addresses?

set ip-address = 192.168.1.1, 192.168.2.20, 192.168.50.99

I'm not able to test this here, but it might be worth trying.

regards,
-glenn



More information about the dhcp-users mailing list