dhclient doesn't send hostname to dhcp server

Bug #22919 reported by Martin Holt Juliussen
4
Affects Status Importance Assigned to Milestone
dhcp3 (Ubuntu)
Invalid
Wishlist
Unassigned

Bug Description

For example ISC dhcpd supports updating a name server if it is provided with a
hostname which the client can set. For example set up
breezybadgermachine.example.org if dhcpd is set up to update example.org. It
depends on the server if the hostname will be set or not, so I think maybe it
would be a nice idea to let Ubuntu clients send their hostnames while getting a
lease from dhcpd. If you want to do that now, you have to set it in
/etc/dhclient.conf yourself.

This is how a dhcpd lease for a Windows Client looks like on the server:
lease 192.168.1.119 {
        starts 3 2005/08/03 11:30:56;
        ends 3 2005/08/03 23:30:56;
        hardware ethernet 00:11:43:39:fb:34;
        uid 01:00:11:43:39:fb:34;
        client-hostname "aj";
}

This is how a dhcpd lease for a ordinary Ubuntu client looks like on a server:

lease 192.168.1.111 {
        starts 3 2005/08/03 13:12:45;
        ends 4 2005/08/04 01:12:45;
        hardware ethernet 00:00:e2:5b:b9:fd;
}

This is how a dhcpd lease looks like for a Ubuntu client on which I have edited
the dhclient.conf file to contain "send host.name and dhcp-client-identifier.

(
In dhclient.conf:
#send host-name "andare.fugue.com";
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
(man dhclient)
):

lease 192.168.1.111 {
        starts 3 2005/08/03 13:55:30;
        ends 4 2005/08/04 01:55:30;
        hardware ethernet 00:00:e2:5b:b9:fd;
        uid 01:00:00:e2:5b:b9:fd;
        client-hostname "mike";
}

Revision history for this message
Dennis Kaarsemaker (dennis) wrote :

Downgrading to enhancement

Revision history for this message
Matt Zimmerman (mdz) wrote :

This bug has been marked as a duplicate of bug 10239.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.