Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Sep 2009 19:13:53 +0100
From:      Pegasus Mc Cleaft <ken@mthelicon.com>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        hackers@freebsd.org, FreeBSD current mailing list <current@freebsd.org>
Subject:   Re: Changes in IPv6 Configuration
Message-ID:  <200909131913.53853.ken@mthelicon.com>
In-Reply-To: <20090913175656.K68375@maildrop.int.zabbadoz.net>
References:  <200909131837.56319.ken@mthelicon.com> <20090913175656.K68375@maildrop.int.zabbadoz.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909131913.53853.ken>