Faking a windows dhcp server with dhcp-client-identifier
15/02/2009Windows DHCP server, require (that the DHCP client will send) the client’s dhcp identifier in order to give an IP to a machine that just entered the network. This leads to problems when there are linux clients that request IP adresses from Windows DHCP servers(Windows server 2003 or 2008). This happens because, by default, linux dhcp clients do not send their DHCP “client identifier”. Thus the DHCP server does not recognize them and they cannot get an IP dynamically.
To solve this, just put the following in: /etc/dhclient.conf
send host-name “yourhostnamehere” send dhcp-client-identifier 1:your_macaddress_here
Restart your dhcp client (or reboot your computer) and hopefully you will get an IP.
No comments yet.