Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 May 2013 04:49:31 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        florent@peterschmitt.fr
Cc:        freebsd-net@FreeBSD.org
Subject:   Re: IPv6 configuration missunderstanding
Message-ID:  <20130510.044931.944156092944449444.hrs@allbsd.org>
In-Reply-To: <518BFBF6.4040907@peterschmitt.fr>
References:  <518A6D5C.3030804@peterschmitt.fr> <20130510.041934.19893072298744952.hrs@allbsd.org> <518BFBF6.4040907@peterschmitt.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Fri_May_10_04_49_31_2013_611)--
Content-Type: Text/Plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Florent Peterschmitt <florent@peterschmitt.fr> wrote
  in <518BFBF6.4040907@peterschmitt.fr>:

fl> Le 09/05/2013 21:19, Hiroki Sato a =E9crit :
fl> > Florent Peterschmitt <florent@peterschmitt.fr> wrote
fl> >   in <518A6D5C.3030804@peterschmitt.fr>:
fl> > =

fl> > fl> Hi,
fl> > fl>
fl> > fl> I want to configure IPv6 in FreeBSD 9.1-RELEASE like this :
fl> > fl>
fl> > fl> ipv6_enable=3Dyes
fl> > fl> ipv6_activate_all_interfaces=3Dyes
fl> > fl> ifconfig_em0_ipv6=3D"inet6 2001:41D0:8:B81f:: prefixlen 64"
fl> > fl> -interface em0"
fl> > fl> ipv6_defaultrouter=3D"2001:41D0:8:B8ff:ff:ff:ff:ff"
fl> > =

fl> >  Why the default router is not in 2001:41d0:8:b81f::/64?
fl> > =

fl> > fl> But at boot I have :
fl> > fl>
fl> > fl> default    fe80::264:40ff:fe3a:fac0%em0  UG          em0
fl> > =

fl> >  I guess this is provided by the router via Router Advertisement
fl> >  messages.
fl> > =

fl> > fl> And if ipv6_enable=3Dyes is not here (although it's depreciat=
ed), no IPv6
fl> > fl> at all.
fl> > =

fl> >  Please remove ipv6_enable=3Dyes and ipv6_activate_all_interfaces=
=3Dyes
fl> >  unless you understand you really need them.
fl> > =

fl> >  I think only the following line is sufficient for your environme=
nt:
fl> > =

fl> >  ifconfig_em0_ipv6=3D"inet6 2001:41d0:8:b81f::1 prefixlen 64 acce=
pt_rtadv"
fl> > =

fl> > -- Hiroki
fl> > =

fl> I found how to configure it:
fl> =

fl> ip6addrctl_policy=3D"ipv6_prefer"
fl> ipv6_activate_all_interfaces=3Dyes
fl> ifconfig_em0_ipv6=3D"inet6 2001:41d0:8:b81f::1 prefixlen 64"
fl> ipv6_defaultrouter=3D"2001:41d0:8:b8ff:ff:ff:ff:ff"
fl> =

fl> Router advertisement is disabled at OVH and the gateway is the give=
n
fl> one. Well, everything is good now ;)

 So, why do you need ipv6_activate_all_interfaces=3Dyes?

 And, using an address on the different subnet as the default router
 is wrong even if it looks working.

-- Hiroki

----Security_Multipart(Fri_May_10_04_49_31_2013_611)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (FreeBSD)

iEYEABECAAYFAlGL/csACgkQTyzT2CeTzy2f1ACgjTq/5kyZEjYoRs4zY+EyJw44
IN4AoIiNQavADI1f/vamz+HpHaYO9Oti
=4fdw
-----END PGP SIGNATURE-----

----Security_Multipart(Fri_May_10_04_49_31_2013_611)----



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