Florent Peterschmitt <flor...@peterschmitt.fr> wrote
  in <518bfbf6.4040...@peterschmitt.fr>:

fl> Le 09/05/2013 21:19, Hiroki Sato a écrit :
fl> > Florent Peterschmitt <flor...@peterschmitt.fr> wrote
fl> >   in <518a6d5c.3030...@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=yes
fl> > fl> ipv6_activate_all_interfaces=yes
fl> > fl> ifconfig_em0_ipv6="inet6 2001:41D0:8:B81f:: prefixlen 64"
fl> > fl> -interface em0"
fl> > fl> ipv6_defaultrouter="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=yes is not here (although it's depreciated), no 
IPv6
fl> > fl> at all.
fl> > 
fl> >  Please remove ipv6_enable=yes and ipv6_activate_all_interfaces=yes
fl> >  unless you understand you really need them.
fl> > 
fl> >  I think only the following line is sufficient for your environment:
fl> > 
fl> >  ifconfig_em0_ipv6="inet6 2001:41d0:8:b81f::1 prefixlen 64 accept_rtadv"
fl> > 
fl> > -- Hiroki
fl> > 
fl> I found how to configure it:
fl> 
fl> ip6addrctl_policy="ipv6_prefer"
fl> ipv6_activate_all_interfaces=yes
fl> ifconfig_em0_ipv6="inet6 2001:41d0:8:b81f::1 prefixlen 64"
fl> ipv6_defaultrouter="2001:41d0:8:b8ff:ff:ff:ff:ff"
fl> 
fl> Router advertisement is disabled at OVH and the gateway is the given
fl> one. Well, everything is good now ;)

 So, why do you need ipv6_activate_all_interfaces=yes?

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

-- Hiroki

Attachment: pgpik_BRkswCu.pgp
Description: PGP signature

Reply via email to