From owner-freebsd-current@FreeBSD.ORG Sun Sep 13 18:14:05 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9CC5106568B; Sun, 13 Sep 2009 18:14:05 +0000 (UTC) (envelope-from ken@mthelicon.com) Received: from hercules.mthelicon.com (hercules.mthelicon.com [IPv6:2001:49f0:2023::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6BB0F8FC18; Sun, 13 Sep 2009 18:14:05 +0000 (UTC) Received: from feathers.peganest.com (feathers.peganest.com [78.33.110.3]) (authenticated bits=0) by hercules.mthelicon.com (8.14.3/8.14.3) with ESMTP id n8DIDw77032806 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Sun, 13 Sep 2009 18:14:00 GMT (envelope-from ken@mthelicon.com) From: Pegasus Mc Cleaft Organization: Feathers To: "Bjoern A. Zeeb" Date: Sun, 13 Sep 2009 19:13:53 +0100 User-Agent: KMail/1.12.1 (FreeBSD/9.0-CURRENT; KDE/4.3.1; amd64; ; ) References: <200909131837.56319.ken@mthelicon.com> <20090913175656.K68375@maildrop.int.zabbadoz.net> In-Reply-To: <20090913175656.K68375@maildrop.int.zabbadoz.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200909131913.53853.ken@mthelicon.com> X-Spam-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on hercules.mthelicon.com Cc: hackers@freebsd.org, FreeBSD current mailing list Subject: Re: Changes in IPv6 Configuration X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Sep 2009 18:14:05 -0000 On Sunday 13 September 2009 18:58:02 Bjoern A. Zeeb wrote: > On Sun, 13 Sep 2009, Pegasus Mc Cleaft wrote: > > Hi, > > > With the recent changes to /etc/rc.d for network start-up. I was > > wondering what is now correct. The previously working ipv6 configuration > > no longer creates a static default route, and I have not been able to > > figure out why. After boot, if I manually add the default route for ipv6, > > all works OK but I must be missing something to make it happen > > automatically. Currently, I have this in my /etc/rc.conf and this does > > not work. Any help would be appreciated. > > > > ipv6_prefer="YES" > > ifconfig_re0_ipv6="inet6 2001:4d48:ad51:32:21d:7dff:fe07:241a prefixlen > > 64" ipv6_defaultrouter="2001:4d48:ad51:32::3" > > ipv6_network_interfaces="auto" > > ipv6_default_interface="re0" > > can you try this change (just pasted in): > > Index: etc/rc.d/routing > =================================================================== > --- etc/rc.d/routing (revision 197153) > +++ etc/rc.d/routing (working copy) > @@ -132,7 +132,7 @@ > if [ -n "${ipv6_static_routes}" ]; then > for i in ${ipv6_static_routes}; do > ipv6_route_args=`get_if_var $i ipv6_route_IF` > - route ${_action} -inet6 ${route_args} > + route ${_action} -inet6 ${ipv6_route_args} > done > fi > > > > /bz > Hi Bjoern, Thank you very much. That change did work and now the IPv6 default gateway is being added to the route table on start-up. Cheers, Peg