From owner-freebsd-current@FreeBSD.ORG Fri Feb 4 05:21:00 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CAE516A4CE for ; Fri, 4 Feb 2005 05:21:00 +0000 (GMT) Received: from node15.coopprint.com (node15.cooperativeprinting.com [208.4.77.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 9D33043D39 for ; Fri, 4 Feb 2005 05:20:59 +0000 (GMT) (envelope-from ryans@gamersimpact.com) Received: (qmail 50973 invoked by uid 0); 4 Feb 2005 05:20:55 -0000 Received: from unknown (HELO ?192.168.0.5?) (63.231.157.250) by node15.coopprint.com with SMTP; 4 Feb 2005 05:20:55 -0000 Message-ID: <42030649.7020806@gamersimpact.com> Date: Thu, 03 Feb 2005 23:21:13 -0600 From: Ryan Sommers User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org Content-Type: multipart/mixed; boundary="------------020408000003040401010505" Subject: [PATCH] /etc/defaults/rc.conf -- Static Routing Explanation X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Feb 2005 05:21:00 -0000 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--