Date: Sun, 10 Jan 2010 00:43:10 +0800 From: Darryl Yeoh <drl@bsd.my> To: Bogdan Webb <bogdan@pgn.ro> Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD ipv6 rc.conf settings issue Message-ID: <20100110004310.2a084ce5@matrix.bsd.my>
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 Hi Bogdan, This is what I use on FreeBSD 7.2 i386 with HE tunnel: rc.conf: # # IPv6 # ipv6_enable="YES" ipv6_gateway_enable="YES" cloned_interfaces="gif0" ipv6_network_interfaces="auto" ipv6_ifconfig_rl1="2001:470:f8a3:25a::1 prefixlen 64" ipv6_ifconfig_rl2="2001:470:19:25a:3::1 prefixlen 64" ipv6_defaultrouter="2001:470:18:25a::1" ifconfig_gif0="tunnel 219.95.208.53 216.218.221.6 up" ipv6_ifconfig_gif0="2001:470:18:25a::2 2001:470:18:25a::1 prefixlen 128" rtadvd_enable="YES" rtadvd_interfaces="rl1 rl2" -Darryl
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100110004310.2a084ce5>
