[pkg-dhcp-devel] Bug#670865: isc-dhcp-client: dhclient does not send a hostname to DHCPv6 server by default

Martin Jackson martin.h.jackson at gmail.com
Sun Apr 29 19:19:55 UTC 2012


Package: isc-dhcp-client
Version: 4.2.2.dfsg.1-5
Severity: normal
Tags: patch ipv6

Dear Maintainer,

Stateful DHCPv6 requires a client to send the fqdn.fqdn option, not "host-name" as in DHCPv4.  I believe this issue can be patched trivially by adding the following line to dhclient.conf:

send fqdn.fqdn = gethostname();

This should not interfere with DHCPv4 hostname interaction and will enable 
clients to register with DHCPv6 stateful servers, such as ISC DHCPD 4.x.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages isc-dhcp-client depends on:
ii  debianutils      4.3
ii  iproute          20120319-1
ii  isc-dhcp-common  4.2.2.dfsg.1-5
ii  libc6            2.13-30

isc-dhcp-client recommends no packages.

Versions of packages isc-dhcp-client suggests:
ii  avahi-autoipd  <none>
ii  resolvconf     1.65

-- Configuration Files:
/etc/dhcp/dhclient.conf changed:
option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
send host-name = gethostname();
send fqdn.fqdn = gethostname();
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;


-- no debconf information





More information about the pkg-dhcp-devel mailing list