Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Feb 2005 23:21:13 -0600
From:      Ryan Sommers <ryans@gamersimpact.com>
To:        current@freebsd.org
Subject:   [PATCH] /etc/defaults/rc.conf -- Static Routing Explanation
Message-ID:  <42030649.7020806@gamersimpact.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------020408000003040401010505
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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@gamersimpact.com


--------------020408000003040401010505
Content-Type: text/plain;
 name="defaults.rc.conf.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="defaults.rc.conf.diff"

--- /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.

--------------020408000003040401010505--



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