On Saturday, February 25, 2012 at 7:33 PM, Mr Dandy wrote:
> On Saturday 25 February 2012 22:47:50 Vlad Galu wrote:
> > > Hi
> > 
> > 
> > 
> > You might need to add ipv6_default_interface="re0" to /etc/rc.conf. After
> > you do that, it will have ACCEPT_RTADV and DEFAULTIF set.
> 
> 
> 
> Thanks for informations.
> 
> Ok - looks like FreeBSD still not have rc.conf variable for controlling 
> net.inet6.ip6.accept_rtadv
> 
Why don't you add that to /etc/sysctl.conf? 
> 
> (ipv6_default_interface="re0") = ndp -I re0
> 
> But that in my case I have seen on netstat correct information about default 
> gw for ipv6 - I should in /etc/rc.d/routing change string from
> 
> ipv6_static_routes="default ${ipv6_static_routes}"
> to
> ipv6_static_routes="${ipv6_static_routes} default"
> 
> And however I all the same can't achieve working configuration IPv6 from the 
> boot. At present i have /etc/rc.conf related to ipv6:
> 
> ipv6_activate_all_interfaces="YES"
> ipv6_static_routes="hetzner"
> ipv6_route_hetzner="2a01:4f8:61:50c0::/59 -iface re0"
> ipv6_default_interface="re0"
> ifconfig_re0_ipv6="inet6 2a01:4f8:61:50c2::13/64"
> ipv6_defaultrouter="2a01:4f8:61:50c0::1"
> rtadvd_enable="YES"
> rtadvd_interfaces="re0"


You don't need to run rtadvd. The following configuration should work (although 
I use RELENG_9, rc.conf variable naming is slightly different, but not by much):

ipv6_enable="YES"
ipv6_default_interface="re0"
ipv6_static_routes="hetzner"
ipv6_route_hetzner="2a01:4f8:61:50c0:: -prefixlen 59 -iface re0"
ipv6_ifconfig_re0="2a01:4f8:61:50c2::13"

ipv6_defaultrouter="2a01:4f8:61:50c0::1" 

Maybe you have some conflicting firewall rules?
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to