From owner-freebsd-current@FreeBSD.ORG Sun Sep 13 18:00:08 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 DC2001065670 for ; Sun, 13 Sep 2009 18:00:08 +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 852A88FC0A for ; Sun, 13 Sep 2009 18:00:08 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 207CA41C707; Sun, 13 Sep 2009 20:00:07 +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 o4HIJZgHpau8; Sun, 13 Sep 2009 20:00:06 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 52E7141C705; Sun, 13 Sep 2009 20:00:06 +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 CE7274448E6; Sun, 13 Sep 2009 17:58:02 +0000 (UTC) Date: Sun, 13 Sep 2009 17:58:02 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Pegasus Mc Cleaft In-Reply-To: <200909131837.56319.ken@mthelicon.com> Message-ID: <20090913175656.K68375@maildrop.int.zabbadoz.net> References: <200909131837.56319.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 , Hiroki Sato 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:00:08 -0000 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 -- Bjoern A. Zeeb What was I talking about and who are you again?