Multiple mac addresses for one static host configuration.

Jan Hugo Prins jhp at jhprins.org
Tue Jun 16 13:17:13 UTC 2009


Hello,

In an old version of dhcpd, for some hosts I had 2 mac addresses
configured for their static IPv4 address.
This worked great, for example when they were transitioning from an old
system to a new one, or had both wireless and wired access.
In these cases they would always have their own IP and firewall rules
etc would match.

On a new set of dhcp servers I installed version 4.0 and now I can't do
this anymore, I get the following error in my logfiles:
Jun 16 13:52:25 firewall02 dhcpd: /etc/dhcpd.d/dhcpd.vlan1 line 262:
Host benz hardware address already configured.
Jun 16 13:52:25 firewall02 dhcpd: #011#011hardware
Jun 16 13:52:25 firewall02 dhcpd:                  ^
Jun 16 13:52:25 firewall02 dhcpd: /etc/dhcpd.d/dhcpd.vlan1 line 262:
expecting a parameter or declaration
Jun 16 13:52:25 firewall02 dhcpd: #011#011hardware ethernet
Jun 16 13:52:25 firewall02 dhcpd:                  ^


Is their some way to get around this? Maybe something with class
declarations ? Or am i missing an option somewhere?

The specific host part for this client looks like this:

        host benz {
                option host-name "benz";
                hardware ethernet 00:16:36:85:B4:C9;
                hardware ethernet 00:18:DE:30:51:F1;
                fixed-address 192.168.2.73;
        }

Thanks a lot,
Jan Hugo Prins





More information about the dhcp-users mailing list