[GOD]Anck |
06-07-2010 04:36 AM |
dhcp fixed address not working
I have a slackware server running ISC dhcpd and bind, and I want to give a dual boot XP / Ubuntu client a fixed address based on its MAC. I added a host stanza to my server's dhcpd.conf:
Code:
host fixed {
hardware ethernet 00:1f:c6:88:8b:75;
fixed address 192.168.1.200;
}
I restarted bind and dhcpd, restarted the client's networking, and it still requests (and receives) its previously leased address, which is not the fixed address I want it to get. I tried dhclient -r to make the client release the old address, didn't help. On networking restart it still gets offered the old (wrong) address. Could it be that dhcpd somehow hangs on to the old lease even after the client sent a DHCPRELEASE?
How do I tell dhcpd to forget about an old lease, and how do I make dhcpd hand out the fixed address (and only that address) I specified for a given MAC, regardless of what the client requests?
|