From owner-freebsd-current@FreeBSD.ORG Sun Sep 13 20:20:14 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 2412C106566C; Sun, 13 Sep 2009 20:20:14 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [195.88.108.3]) by mx1.freebsd.org (Postfix) with ESMTP id D10968FC0C; Sun, 13 Sep 2009 20:20:13 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 901E241C6FC; Sun, 13 Sep 2009 22:20:12 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([195.88.108.3]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id 76s0oaUA1B0h; Sun, 13 Sep 2009 22:20:12 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id E2CCE41C6F2; Sun, 13 Sep 2009 22:20:11 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id CDD96444900; Sun, 13 Sep 2009 20:20:08 +0000 (UTC) Date: Sun, 13 Sep 2009 20:20:08 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Pegasus Mc Cleaft In-Reply-To: <200909131913.53853.ken@mthelicon.com> Message-ID: <20090913201914.A68375@maildrop.int.zabbadoz.net> References: <200909131837.56319.ken@mthelicon.com> <20090913175656.K68375@maildrop.int.zabbadoz.net> <200909131913.53853.ken@mthelicon.com> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 20:20:14 -0000 On Sun, 13 Sep 2009, Pegasus Mc Cleaft wrote: Hi, > 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 >> > > Thank you very much. That change did work and now the IPv6 default gateway > is being added to the route table on start-up. Thanks a lot for reporting and testing. I just comitted the correction. /bz -- Bjoern A. Zeeb What was I talking about and who are you again?