OMAPI Host Object and Duplicate MACs in different subnets

Caciano Machado caciano at gmail.com
Tue Jul 8 15:54:44 UTC 2008


Yes... in a large network it's very common.

On Tue, Jul 8, 2008 at 12:38 PM, Stéphane PURNELLE
<stephane.purnelle at corman.be> wrote:
>
> It's possible to have multiple same MAC address ?
>
> -----------------------------------
> Stéphane PURNELLE                         stephane.purnelle at corman.be
> Service Informatique       Corman S.A.           Tel : 00 32 087/342467
>
> dhcp-users-bounce at isc.org a écrit sur 08/07/2008 17:35:00 :
>
>> Glenn,
>>
>> It's not exactly what I need.
>>
>> My problem is: different machines which have the same MAC address but
>> are in different subnets. They may have different configurations.
>>
>> Anyway, I tried to create a host entry with the parameter
>> fixed-address using more than one IP, but it's not possible. OMAPI
>> takes only the first argument.
>>
>> Any ideas?
>>
>> Thanks,
>> Caciano Machado
>>
>> On Tue, Jul 8, 2008 at 12:00 PM, Glenn Satchell
>> <Glenn.Satchell at uniq.com.au> wrote:
>> >
>> >>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