From owner-freebsd-net@FreeBSD.ORG Thu May 9 19:20:02 2013 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9D7F9742 for ; Thu, 9 May 2013 19:20:02 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper.allbsd.org [IPv6:2001:2f0:104:e001::32]) by mx1.freebsd.org (Postfix) with ESMTP id 23132D73 for ; Thu, 9 May 2013 19:20:01 +0000 (UTC) Received: from alph.d.allbsd.org (p2175-ipbf701funabasi.chiba.ocn.ne.jp [122.25.209.175]) (authenticated bits=128) by mail.allbsd.org (8.14.5/8.14.5) with ESMTP id r49JJj95073621 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 10 May 2013 04:19:55 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) (authenticated bits=0) by alph.d.allbsd.org (8.14.5/8.14.5) with ESMTP id r49JJhpJ036423; Fri, 10 May 2013 04:19:45 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Fri, 10 May 2013 04:19:34 +0900 (JST) Message-Id: <20130510.041934.19893072298744952.hrs@allbsd.org> To: florent@peterschmitt.fr Subject: Re: IPv6 configuration missunderstanding From: Hiroki Sato In-Reply-To: <518A6D5C.3030804@peterschmitt.fr> References: <518A6D5C.3030804@peterschmitt.fr> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.5 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Fri_May_10_04_19_34_2013_266)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.4 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (mail.allbsd.org [133.31.130.32]); Fri, 10 May 2013 04:19:55 +0900 (JST) X-Spam-Status: No, score=-94.5 required=13.0 tests=CONTENT_TYPE_PRESENT, ONLY1HOPDIRECT,RCVD_IN_PBL,SAMEHELOBY2HOP,TO_NO_BRKTS_PCNT,USER_IN_WHITELIST autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on gatekeeper.allbsd.org Cc: freebsd-net@FreeBSD.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 May 2013 19:20:02 -0000 ----Security_Multipart(Fri_May_10_04_19_34_2013_266)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Florent Peterschmitt wrote in <518A6D5C.3030804@peterschmitt.fr>: fl> Hi, fl> fl> I want to configure IPv6 in FreeBSD 9.1-RELEASE like this : fl> fl> ipv6_enable=yes fl> ipv6_activate_all_interfaces=yes fl> ifconfig_em0_ipv6="inet6 2001:41D0:8:B81f:: prefixlen 64" fl> -interface em0" fl> ipv6_defaultrouter="2001:41D0:8:B8ff:ff:ff:ff:ff" Why the default router is not in 2001:41d0:8:b81f::/64? fl> But at boot I have : fl> fl> default fe80::264:40ff:fe3a:fac0%em0 UG em0 I guess this is provided by the router via Router Advertisement messages. fl> And if ipv6_enable=yes is not here (although it's depreciated), no IPv6 fl> at all. Please remove ipv6_enable=yes and ipv6_activate_all_interfaces=yes unless you understand you really need them. I think only the following line is sufficient for your environment: ifconfig_em0_ipv6="inet6 2001:41d0:8:b81f::1 prefixlen 64 accept_rtadv" -- Hiroki ----Security_Multipart(Fri_May_10_04_19_34_2013_266)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iEYEABECAAYFAlGL9sYACgkQTyzT2CeTzy0KBACdE/pLdXtHCvJtHfqxYCcwdb1q EiUAoJu8SApJSArIyka5BkbGHMej2jtw =pl1f -----END PGP SIGNATURE----- ----Security_Multipart(Fri_May_10_04_19_34_2013_266)----