On a Fedora 15 VM, we use the following command to set the host name with the DHCP server:
dhclient p2p1 -H <host>;
This works great until the lease expires and then the host name doesn't work anymore. I've tried adding a dhclient config file /etc/dhclient-p2p1.conf:
send host-name "<host>"; send dhcp-lease-time 384000; option tcp-keepalive-interval 600;
But this doesn't seem to help. Is the issue with the dhcp server (which I have no control over) or is there another dhclient configuration option which can help with this?