Maybe it's just too late...
I'm wondering if I can do something like this in /etc/dhcpd.conf on my
DHCP server for a laptop which has a wireless care and an onboard
ethernet adapter:
# josh's laptop
host joplin {
hardware ethernet 00:30:ab:20:96:ff; # ma401 wireless card
hardware ethernet 00:c0:f0:3d:0a:8d; # onboard NIC
fixed-address 192.168.0.2;
}
I want to have DHCP assign this host to .2 whether it comes in via
wireless or wired.
dhcpd doesn't complain about syntax but when I go to the logs, but
it's not assigning to .2, instead it's using .88:
Sep 20 23:37:44 rachmaninoff dhcpd: DHCPDISCOVER from
00:30:ab:20:96:ff via eth0
Sep 20 23:37:45 rachmaninoff dhcpd: DHCPOFFER on 192.168.0.88 to
00:30:ab:20:96:ff via eth0
Sep 20 23:37:45 rachmaninoff dhcpd: DHCPREQUEST for 192.168.0.88
(192.168.0.3) from 00:30:ab:20:96:ff via eth0
Sep 20 23:37:45 rachmaninoff dhcpd: DHCPACK on 192.168.0.88 to
00:30:ab:20:96:ff via eth0
Any ideas? The man page doesn't say if two hardware lines are legal,
maybe the first one is getting overwritten by the second.
Josh