Sending DHCP client hostname

Cameron Hutchison camh+ubuntu at xdna.net
Mon Nov 8 08:13:03 UTC 2004


Once upon a time Oliver Grawert said...
> hi,
> Am Montag, den 08.11.2004, 16:55 +1100 schrieb Cameron Hutchison:
> > I have noticed that when my ubuntu machine requests an IP address via
> > DHCP, it does not seem to send a client hostname. In the dhcpd.leases
> > file on the DHCP server, the entry for the ubuntu machine does not have
> > a client-hostname entry.
> > 
> > I could not find anything in the dhclient man pages to tell it how to
> > send a client hostname. Is there a way, or should I switch to a
> > different dhcp client (I use dhcpcd successfully on other debian boxes).
>
> it is set in /etc/dhcp3/dhclient.conf (on my ubuntu its the first entry
> after the comments) edit and uncomment it.

Is there a way to tell dhclient to send the hostname as set on bootup, 
rather than having to specify the hostname in another place?

I just want the client to identify itself to the dhcp server and not
have to define the hostname in another place than the default.

Thanks




More information about the ubuntu-users mailing list