Are the two address on the same broadcast network? You would need to assign them different dhcp-client-identifiers and have two host records for the same hardware using the two different identifiers to assign the two addresses to the sub-interfaces. I haven't done this for some time, so my info is also old.
Don Friesen
From: dhcp-users <dhcp-users-bounces at lists.isc.org> On Behalf Of Patrick Trapp
Sent: February 19, 2019 7:30 AM
To: Users of ISC DHCP <dhcp-users at lists.isc.org>
Subject: RE: About two ip address on client
In my admittedly older installation of DHCP, I can make two host declarations for the same MAC, but the second address is the one that appears to be used. The first address is apparently ignored.
You might need to confirm in the documentation that what you seek is allowed.
From: dhcp-users <dhcp-users-bounces at lists.isc.org<mailto:dhcp-users-bounces at lists.isc.org>> On Behalf Of Rogelio Guerra Riverón
Sent: Tuesday, February 19, 2019 9:19 AM
To: dhcp-users at lists.isc.org<mailto:dhcp-users at lists.isc.org>
Subject: About two ip address on client
Hi all
How can I assign more than one fixed ip to my dhcp server?
I have tried twice with the assignment, but it gives me an error
host userExample.azumat.azcuba.cu {
ethernet hardware 12: 12: 12: 12: 12: 12;
fixed-address
172.16.10.30
;
fixed-address
192.168.0.30
;
}
Feb 19 10:13:19 debDHCP dhcpd [4275]: /etc/dhcp/dhcpd.conf line 331: Only one fixed address declaration per host.
Feb 19 10:13:19 debDHCP dhcpd [4275]: fixed-address
192.168.0.130
;
Rogelio
______________________________
Empresa de Logistica Azumat
Garantía de la Producción Azucarera
______________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20190219/e0b5aa7f/attachment.html>