[PATCH] /etc/defaults/rc.conf -- Static Routing Explanation

Ryan Sommers ryans at gamersimpact.com
Thu Feb 3 21:21:00 PST 2005


The following patch makes it a little more clear how to use the static 
routing tunable in rc.conf.

If I don't hear from anyone, I'll submit a pr for it.

-- 
Ryan Sommers
ryans at gamersimpact.com

-------------- next part --------------
--- /etc/defaults/rc.conf	Fri Oct  8 09:25:02 2004
+++ rc.conf	Wed Feb  2 17:33:55 2005
@@ -241,7 +241,9 @@
 
 ### Network routing options: ###
 defaultrouter="NO"		# Set to default gateway (or NO).
-static_routes=""		# Set to static route list (or leave empty).
+static_routes=""		# Set to static route list seperated by spaces (or leave empty). (See following example.)
+#static_routes="subnet1"
+#route_subnet1="192.168.0.128/25 192.168.0.100"
 natm_static_routes=""		# Set to static route list for NATM (or leave empty).
 gateway_enable="NO"		# Set to YES if this host will be a gateway.
 router_enable="NO"		# Set to YES to enable a routing daemon.


More information about the freebsd-current mailing list