Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2014 01:24:57 GMT
From:      Tom Pusateri <pusateri@bangj.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/186806: dhclient 
Message-ID:  <201402160124.s1G1Ov6L053490@cgiserv.freebsd.org>
Resent-Message-ID: <201402160130.s1G1U0jE019977@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402160124.s1G1Ov6L053490>