5.2.1R: /etc/netstart kills default route

Dag-ErlingSmørgrav des at des.no
Mon Mar 1 11:08:08 PST 2004


"Edmund Craske" <edmund at m00is.net> writes:
> Do you have the defaultrouter setting in your rc.conf? this
> is what /etc/netstart uses to set the default route with.

You've got it backwards - 5.2.1's netstart clears the default route
and fails to apply the defaultrouter setting.  The following patch
should fix this:

Index: netstart
===================================================================
RCS file: /home/ncvs/src/etc/netstart,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- netstart    13 Oct 2003 10:36:26 -0000      1.63
+++ netstart    10 Feb 2004 19:10:34 -0000      1.64
@@ -56,6 +56,7 @@
 /etc/rc.d/ipfw start
 /etc/rc.d/ip6fw start
 /etc/rc.d/network_ipv6 start
+/etc/rc.d/routing start
 /etc/rc.d/mroute6d start
 /etc/rc.d/route6d start
 /etc/rc.d/mrouted start

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-stable mailing list