FreeBSD ipv6 rc.conf settings issue

Bogdan Webb bogdan at pgn.ro
Thu Jan 7 08:59:19 UTC 2010


I'm having problems with the /etc/rc.conf setup of a ipv6 tunnel on my
FreeBSD 7.2-RELEASE-p6
It`s a particular issue on the ipv6_defaultrouter config, it jost does not
work...
Upon network and routing restart ipv6 is enabled the gif interface are given
ip's and everything but the defaultrouter does not.
Researching a bit i found some say that gif1 sould work and tried both
ipv6_defaultrouter="-interface gif1"
and
ipv6_defaultrouter="2001:0470:1f0a:d40::1"

but no joy...

here is the basic comand line config from tunnelbroker.net
http://pastebin.ca/1736599


here's the rc.conf

defaultrouter="86.122.121.129"
gateway_enable="YES"
hostname="pgn.ro"
ifconfig_nfe0="inet ....."
[...]
ipv6_enable="YES"
ipv6_network_interfaces="lo0 gif1"
ipv6_gateway_enable="YES"
gif_interfaces="gif1"
gifconfig_gif1="86.122.121.171 216.66.80.30"
ipv6_ifconfig_gif1="2001:0470:1f0a:d40::2/64"
ipv6_defaultrouter="-interface gif1"
[...]


after that i do a quick network restart
http://pastebin.ca/1736601

as ipv6 does not work i use route to add the gateaway :
http://pastebin.ca/1736604


More information about the freebsd-questions mailing list