From owner-freebsd-questions@FreeBSD.ORG Sat Jan 9 16:44:28 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58F3A106566C for ; Sat, 9 Jan 2010 16:44:28 +0000 (UTC) (envelope-from drl@bsd.my) Received: from tomoyo.MyBSD.org.my (tomoyo.MyBSD.org.my [IPv6:2001:328:2002:ace::3000]) by mx1.freebsd.org (Postfix) with ESMTP id 0F69D8FC08 for ; Sat, 9 Jan 2010 16:44:27 +0000 (UTC) Received: from matrix.bsd.my (odin.bsd.my [IPv6:2001:328:2002:10ee:215:c5ff:fecc:d24c]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: drl@bsd.my) by tomoyo.MyBSD.org.my (Speedy Gonzales) with ESMTPSA id 00F631143E; Sun, 10 Jan 2010 00:44:25 +0800 (MYT) Date: Sun, 10 Jan 2010 00:43:10 +0800 From: Darryl Yeoh To: Bogdan Webb Message-ID: <20100110004310.2a084ce5@matrix.bsd.my> Organization: MyBSD X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD ipv6 rc.conf settings issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: drl@BSD.my List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 16:44:28 -0000 > 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