From owner-freebsd-net@FreeBSD.ORG Thu May 9 19:41:51 2013 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 17F8AE73 for ; Thu, 9 May 2013 19:41:51 +0000 (UTC) (envelope-from florent@peterschmitt.fr) Received: from peterschmitt.fr (peterschmitt.fr [5.135.177.31]) by mx1.freebsd.org (Postfix) with ESMTP id D3F77E43 for ; Thu, 9 May 2013 19:41:50 +0000 (UTC) Received: from [192.168.0.23] (4ab54-4-88-163-248-31.fbx.proxad.net [88.163.248.31]) by peterschmitt.fr (Postfix) with ESMTPSA id 7E9D3774D for ; Thu, 9 May 2013 21:41:46 +0200 (CEST) Message-ID: <518BFBF6.4040907@peterschmitt.fr> Date: Thu, 09 May 2013 21:41:42 +0200 From: Florent Peterschmitt User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 MIME-Version: 1.0 CC: freebsd-net@FreeBSD.org Subject: Re: IPv6 configuration missunderstanding References: <518A6D5C.3030804@peterschmitt.fr> <20130510.041934.19893072298744952.hrs@allbsd.org> In-Reply-To: <20130510.041934.19893072298744952.hrs@allbsd.org> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2MELBRJIMBKDOWLJJRQGF" 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:41:51 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2MELBRJIMBKDOWLJJRQGF Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Le 09/05/2013 21:19, Hiroki Sato a =E9crit : > Florent Peterschmitt wrote > in <518A6D5C.3030804@peterschmitt.fr>: >=20 > fl> Hi, > fl> > fl> I want to configure IPv6 in FreeBSD 9.1-RELEASE like this : > fl> > fl> ipv6_enable=3Dyes > fl> ipv6_activate_all_interfaces=3Dyes > fl> ifconfig_em0_ipv6=3D"inet6 2001:41D0:8:B81f:: prefixlen 64" > fl> -interface em0" > fl> ipv6_defaultrouter=3D"2001:41D0:8:B8ff:ff:ff:ff:ff" >=20 > Why the default router is not in 2001:41d0:8:b81f::/64? >=20 > fl> But at boot I have : > fl> > fl> default fe80::264:40ff:fe3a:fac0%em0 UG em0 >=20 > I guess this is provided by the router via Router Advertisement > messages. >=20 > fl> And if ipv6_enable=3Dyes is not here (although it's depreciated), n= o IPv6 > fl> at all. >=20 > Please remove ipv6_enable=3Dyes and ipv6_activate_all_interfaces=3Dyes= > unless you understand you really need them. >=20 > I think only the following line is sufficient for your environment: >=20 > ifconfig_em0_ipv6=3D"inet6 2001:41d0:8:b81f::1 prefixlen 64 accept_rta= dv" >=20 > -- Hiroki >=20 I found how to configure it: ip6addrctl_policy=3D"ipv6_prefer" ipv6_activate_all_interfaces=3Dyes ifconfig_em0_ipv6=3D"inet6 2001:41d0:8:b81f::1 prefixlen 64" ipv6_defaultrouter=3D"2001:41d0:8:b8ff:ff:ff:ff:ff" Router advertisement is disabled at OVH and the gateway is the given one. Well, everything is good now ;) --=20 Florent Peterschmitt +33 (0)6 64 33 97 92 florent@peterschmitt.fr ------------------------ O< ascii ribbon campaign - stop html mail - www.asciiribbon.org ------enig2MELBRJIMBKDOWLJJRQGF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRi/v5AAoJEMtO2Sol0IIm0IcH/A9XrJECTXK2XmEeTn2FQEgM 0BHJAvgs1e7tPN8ax+kvOQ5ox2fz54CLmR+NvdACNhoSshyl3KwJ2QcreLb5GYQI hury33dRwtazR9DXRL83pVHOV0vykVXyisIdApAeVtuJ91hjVwpTM7lS5Z2e4GHE kNFrAxbhefQH8OE+fLw4IcCJpwHtHvpplrSI8wes7u4RUs9f06m6AfxssdagF5RK Rx5/aOcQ4U8rWY6vS6APsMYQhHVnZlJ330ZwuTef4IeVBkn+EBn0ebhzuooqYW42 dNcqoI18i6GCOUm2ghaAD6oCBU1dHGXzl8I84888/nXDyxvxyuNy+PjnLt4luDw= =39DB -----END PGP SIGNATURE----- ------enig2MELBRJIMBKDOWLJJRQGF--