From owner-freebsd-questions@FreeBSD.ORG Tue Apr 3 19:18:17 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 213231065700 for ; Tue, 3 Apr 2012 19:18:17 +0000 (UTC) (envelope-from freebsd@growveg.net) Received: from smtp1.servage.net (smtp1.servage.net [IPv6:2a01:3b0:1:fb:1::2001]) by mx1.freebsd.org (Postfix) with ESMTP id AC2E78FC08 for ; Tue, 3 Apr 2012 19:18:16 +0000 (UTC) Received: from [10.60.16.67] (internet-gw-1.demon.net [194.221.40.148]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp1.servage.net (Postfix) with ESMTPSA id AFCB432516 for ; Tue, 3 Apr 2012 19:42:33 +0000 (UTC) Message-ID: <4F7B4CF4.6080201@growveg.net> Date: Tue, 03 Apr 2012 20:18:12 +0100 From: John User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.27) Gecko/20120216 Lightning/1.0b2 Thunderbird/3.1.19 ThunderBrowse/3.8 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20120403174051.GA2540@aurora.oekb.co.at> In-Reply-To: <20120403174051.GA2540@aurora.oekb.co.at> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: IPv6 default-route - gone X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2012 19:18:17 -0000 On 03/04/2012 18:40, Ewald Jenisch wrote: > Hi, > > After installing a new machine under FreeBSD9 I discovered that the > IPv6-configuration I had in place with FreeBSD8 does no longer work. > > Here's what I've got in /etc/rc.conf: > ipv6_enable="YES" > ipv6_ifconfig_em0="2001:76c:2218:2009::11/64" > ipv6_defaultrouter="2001:76c:2218:2009::1" > > The interface address correctly shows up under "ifconfig" however the > default route doesn't seem to be installed, so I'm basically cut off > the Internet in terms of IPv6. > > Please note that the above config has worked unser FreeBSD8 - in fact > I've got a couple of boxes under FreeBSD8 with this exact same config. > > Has the IPv6-related config changed from FBSD 8 -> FBSD 9? > > Thanks much in advance for any help, > -ewald Hi, Yeah it's changed in 9. Here's what I have, for autoconfig use with a tunnel: ipv6_network_interfaces="re0" ifconfig_re0_ipv6="inet6 accept_rtadv" ip6addrctl_policy="ipv6_prefer" ...and it works For static I'd have: #ipv6_network_interfaces="re0" #ifconfig_re0_ipv6="my_end_of_tunnel_ipv6_ip prefixlen 64" #ipv6_defaultrouter="their_end_of_tunnel_ipv6_ip" #ip6addrctl_policy="ipv6_prefer" but I've not tried it static yet. -- freebsd at growveg dot net