Changes in IPv6 Configuration
Bjoern A. Zeeb
bzeeb-lists at lists.zabbadoz.net
Sun Sep 13 18:00:08 UTC 2009
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?
More information about the freebsd-current
mailing list