Paulo Lopes wrote:
Hi,

My work network expects machines to broadcast their hostname when
performing the DHCP operations in order to register and get a IP on
the network. I've followed some tutorials on the net by changing the
/etc/default/dhcpagent to set CLIENT_ID=mymachine and
REQUEST_HOSTNAME=yes and creating a file /etc/hostname.e1000g0 with
inet mymachine but nothing happens when I restart.


You don't need to set the CLIENT_ID value for this to work. You also need to do the following after enabling the hostname request feature , which is in the dhcpagent man page:

  # pkill dhcpagent
  # rm /etc/dhcp/interface.dhc
  # reboot

Did anything change for having this to work on OSOL 2009.06?

No.

Dave
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to