Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Feb 2012 19:55:38 +0000
From:      Vlad Galu <dudu@dudu.ro>
To:        Mr Dandy <subbsd@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: ipv6 host inaccessible via route -inteface without ndp pairs
Message-ID:  <F627A808268A46B1A8DFB0927AC9E4AB@dudu.ro>
In-Reply-To: <201202252333.36403.subbsd@gmail.com>
References:  <201202252213.50760.subbsd@gmail.com> <371110A7FCE442FA8189BEDF90DF6451@dudu.ro> <201202252333.36403.subbsd@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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?



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