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
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