bin/186806: dhclient
Tom Pusateri
pusateri at bangj.com
Sun Feb 16 01:30:01 UTC 2014
>Number: 186806
>Category: bin
>Synopsis: dhclient
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 16 01:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Tom Pusateri
>Release: 9.2-RELEASE
>Organization:
>Environment:
FreeBSD freebsd92.foobar.com 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Google provides public IPv6 name servers. If you try to prepend them in the dhclient.conf, you get an error because it won't accept IPv6 addresses.
interface "em0"
{
prepend domain-name-servers 2001:4860:4860::8888, 2001:4860:4860::8844;
}
# /etc/rc.d/dhclient restart em0
Stopping dhclient.
Starting dhclient.
value 2001 exceeds max (255) for precision.
/etc/dhclient.conf line 13: too few numbers.
prepend domain-name-servers 2001:
^
DHCPREQUEST on em0 to 255.255.255.255 port 67
DHCPACK from 172.16.21.1
bound to 172.16.21.107 -- renewal in 21600 seconds.
This doesn't work either:
interface "em0"
{
prepend dhcp6.name-servers 2001:4860:4860::8888;
}
# /etc/rc.d/dhclient restart em0
Stopping dhclient.
Starting dhclient.
/etc/dhclient.conf line 14: no vendor named dhcp6.
prepend dhcp6.name-servers
^
DHCPREQUEST on em0 to 255.255.255.255 port 67
DHCPACK from 172.16.21.1
bound to 172.16.21.107 -- renewal in 21600 seconds.
>How-To-Repeat:
configure /etc/dhclient.conf like above and restart dhclient.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list