[Bug 1009396] [NEW] dhcp-client does not use host-name option

peter.kohlendorfer 1009396 at bugs.launchpad.net
Wed Jun 6 09:19:12 UTC 2012


Public bug reported:

Ubuntu 12.04 LTS: isc-dhcp 4.1-ESV-R4-0ubuntu5

My dhcp-server is supposed to provide the host-name for the clients. I
am using the standard /etc/dhcp/dhclient.conf which requests the host-
name (commentaries omitted):

option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
send host-name "<hostname>";
request subnet-mask, broadcast-address, time-offset, routers,
        domain-name, domain-name-servers, domain-search, host-name,
        netbios-name-servers, netbios-scope, interface-mtu,
        rfc3442-classless-static-routes, ntp-servers,
        dhcp6.domain-search, dhcp6.fqdn,
        dhcp6.name-servers, dhcp6.sntp-servers;

When reconnecting to the network the client requests the host-name and
the server answers correctly (tested with Wireshark). However, when
using the hostname command the client still issues the local host-name
given in /etc/hostname.

Looks like Bug #537978 for dhcp3 again.

** Affects: isc-dhcp (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1009396

Title:
  dhcp-client does not use host-name option

Status in “isc-dhcp” package in Ubuntu:
  New

Bug description:
  Ubuntu 12.04 LTS: isc-dhcp 4.1-ESV-R4-0ubuntu5

  My dhcp-server is supposed to provide the host-name for the clients. I
  am using the standard /etc/dhcp/dhclient.conf which requests the host-
  name (commentaries omitted):

  option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
  send host-name "<hostname>";
  request subnet-mask, broadcast-address, time-offset, routers,
          domain-name, domain-name-servers, domain-search, host-name,
          netbios-name-servers, netbios-scope, interface-mtu,
          rfc3442-classless-static-routes, ntp-servers,
          dhcp6.domain-search, dhcp6.fqdn,
          dhcp6.name-servers, dhcp6.sntp-servers;

  When reconnecting to the network the client requests the host-name and
  the server answers correctly (tested with Wireshark). However, when
  using the hostname command the client still issues the local host-name
  given in /etc/hostname.

  Looks like Bug #537978 for dhcp3 again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1009396/+subscriptions




More information about the foundations-bugs mailing list