Date: Sun, 13 Sep 2009 20:20:08 +0000 (UTC) From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> To: Pegasus Mc Cleaft <ken@mthelicon.com> Cc: hackers@freebsd.org, FreeBSD current mailing list <current@freebsd.org> Subject: Re: Changes in IPv6 Configuration Message-ID: <20090913201914.A68375@maildrop.int.zabbadoz.net> In-Reply-To: <200909131913.53853.ken@mthelicon.com> References: <200909131837.56319.ken@mthelicon.com> <20090913175656.K68375@maildrop.int.zabbadoz.net> <200909131913.53853.ken@mthelicon.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090913201914.A68375>