Static DHCP binding

Posted by Alex on Server Fault See other posts from Server Fault or by Alex
Published on 2014-06-06T07:02:51Z Indexed on 2014/06/06 9:27 UTC
Read the original article Hit count: 159

Filed under:
|
|
|

Good time of day, SF people. I have created a manual DHCP binding entry on a Cisco router so that a client would always get leased to it. The clients wants to get the same address on both of his dual-boot linux systems. He tries to get an IP address leased and he succeeds on one of the dual-boot operating systems. When he reboots to another one he gets a lease for a completely different one.

I don't get it. The MAC addresses are the same (we checked in ifconfig, so what could be happening here? Why is the router confused? Or is it something else?

Also, how can I check DHCP server IP address who I have got an IP address from (on Linux)?

Configuration on Cisco:

ip dhcp pool MANUAL_BINDING0001
   host 192.168.0.64 255.255.255.0
   hardware-address dead.beef.1337
   dns-server 192.168.8.11
   default-router 192.168.0.254
   domain-name verynicedomainigothere.cn

PS. Is it mandatory to use client-name configuration line?

© Server Fault or respective owner

Related posts about linux

Related posts about dhcp