Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2010 10:59:10 +0200
From:      Bogdan Webb <bogdan@pgn.ro>
To:        freebsd-questions@freebsd.org
Subject:   FreeBSD ipv6 rc.conf settings issue
Message-ID:  <c81e6afd1001070059h698fc0d2g629977802276c1b9@mail.gmail.com>

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



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