Click here

Friday, December 20, 2013

Dhcp client identifier configuration - debian

 On the DHCP client side, you want:

send dhcp-client-identifier "myhost";


in /etc/dhcp/dhclient.conf



and on the DHCP server side, you want:

host myhost {
           option dhcp-client-identifier "myhost";
           fixed-address 192.168.1.7;
}

in dhcp.conf/dhcpd.conf


Example
________

/sbin/dhclient "eth0"


will send  Dhcp discover message to DHCP server with client-identifier as myhost in the option field of the DHCP packet

No comments:

Post a Comment

Omicron - people gathers in crowd

Amidst omicron thread, people are gathered in crowd at markets and public places to buy their daily needs. Because of full lockdown at Sunda...