Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 May 2013 21:41:42 +0200
From:      Florent Peterschmitt <florent@peterschmitt.fr>
Cc:        freebsd-net@FreeBSD.org
Subject:   Re: IPv6 configuration missunderstanding
Message-ID:  <518BFBF6.4040907@peterschmitt.fr>
In-Reply-To: <20130510.041934.19893072298744952.hrs@allbsd.org>
References:  <518A6D5C.3030804@peterschmitt.fr> <20130510.041934.19893072298744952.hrs@allbsd.org>

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

[-- Attachment #1 --]
Le 09/05/2013 21:19, Hiroki Sato a écrit :
> Florent Peterschmitt <florent@peterschmitt.fr> 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
> 
I found how to configure it:

ip6addrctl_policy="ipv6_prefer"
ipv6_activate_all_interfaces=yes
ifconfig_em0_ipv6="inet6 2001:41d0:8:b81f::1 prefixlen 64"
ipv6_defaultrouter="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 ;)

-- 
Florent Peterschmitt
+33 (0)6 64 33 97 92
florent@peterschmitt.fr

------------------------
O< ascii ribbon campaign
- stop html mail
- www.asciiribbon.org


[-- Attachment #2 --]
-----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-----

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