I am trying to get my DHCP server (isc-dhcpd-4.1.1-P1) in CentOS to give the same IP and hostname to two different MAC addresses (LAN and WLAN) on the same computer depending on which is connected..
This is my entry in dhcpd.conf
host hostname.my.domain {
option host-name hostname;
hardware ethernet xx:xx:xx:xx:xx:xx;
fixed-address 10.0.1.134;
}
I've tried adding a second hardware line and adding the second MAC to the first hardware line. Neither worked. Does anyone have an idea how I can accomplish this task while using the same hostname and IP in DHCPd?
EDIT: My users bring their laptops into work. I want to make sure, whether they use our Wireless or LAN to connect to the network that their device gets the same IP address. I want to do this because I'm running out of IP addresses on my current internal ClassC.