From owner-freebsd-questions@FreeBSD.ORG Thu Oct 23 19:22:20 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 154A537C for ; Thu, 23 Oct 2014 19:22:19 +0000 (UTC) Received: from mail.privatdemail.net (mail.privatdemail.net [217.139.17.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E8E4930A for ; Thu, 23 Oct 2014 19:22:16 +0000 (UTC) Received: from localhost (mail.privatdemail.net [127.0.0.1]) by mail.privatdemail.net (Postfix) with ESMTP id A45BD243D0 for ; Thu, 23 Oct 2014 21:14:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=privatdemail.net; h=content-type:content-type:subject:subject:mime-version :user-agent:from:from:date:date:message-id; s=pdm200902; t= 1414091661; x=1415906062; bh=tc8RNFIxFrt2Zu5MGahXNjDhWRkKsbS0ty5 wE6Gz8qg=; b=oGUDFa8Cql7CuT3qO0zPKLIRMLie+xxy1p9XJ4tUakz5b8sCfcA KyyDr/W4xm51eNuoc/V9FajBbNvyN0Z5NzLGS1qXxsP9zv70tAq0AgpH3SvH5y8H CIH6+10yyo9Gr1gbyikfyrY2y6O4VEPiiID9t1gUlSR7LMHFoAL03++g= X-Virus-Scanned: Debian amavisd-new at mail.privatdemail.net Received: from mail.privatdemail.net ([127.0.0.1]) by localhost (mail.privatdemail.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id eU9xd7tYA6c0 for ; Thu, 23 Oct 2014 21:14:21 +0200 (CEST) Message-ID: <54495388.6030106@privatdemail.net> Date: Thu, 23 Oct 2014 21:14:16 +0200 From: bsdaddict User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: dhclient.conf and ipv6 addresses Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2014 19:22:20 -0000 Hi, I'm running 10.0-RELEASE-p18 and have a native ipv6 address from my isp (dual ipv4 and ipv6). And my problem : /etc/dhclient.conf doesn't seem to want any ipv6 addresses. This is my /etc/dhclient.conf : cat /etc/dhclient.conf # $FreeBSD$ # # This file is required by the ISC DHCP client. # See ``man 5 dhclient.conf'' for details. # # In most cases an empty file is sufficient for most people as the # defaults are usually fine. # supersede domain-name-servers 8.8.8.8, 8.8.4.4; supersede domain-name-servers [2a02:1800:100::41:2], [2a02:1800:100::41:1]; All goes well for the ipv4 dns but no luck with the ipv6 format. From my dmesg : ... Starting dhclient. /etc/dhclient.conf line 10: expecting numeric value. supersede domain-name-servers [ ^ ... The "^" being under the square bracket. Trying without the square brackets [...] in dhclient.conf gets this in dmesg : ... re0: link state changed to UP Oct 6 19:50:58 bsdaddict dhclient[34123]: Bogus number: 2a02: digit 10 not in base 10 Oct 6 19:50:58 bsdaddict dhclient[34123]: /etc/dhclient.conf line 10: too few numbers. Oct 6 19:50:58 bsdaddict dhclient[34123]: supersede domain-name-servers 2a02: Oct 6 19:50:58 bsdaddict dhclient[34123]: ^ ... The "^" being under the semi colon. So first of all, is dhclient(.conf) ipv6 ready and if so in what format do I get the dns servers in? Thanks for any help here.