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?
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to