From owner-freebsd-bugs@FreeBSD.ORG Thu Feb 12 23:20:17 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AA9F16A4CF for ; Thu, 12 Feb 2004 23:20:17 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E067E43D1F for ; Thu, 12 Feb 2004 23:20:16 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1D7KGbv015967 for ; Thu, 12 Feb 2004 23:20:16 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1D7KGui015966; Thu, 12 Feb 2004 23:20:16 -0800 (PST) (envelope-from gnats) Resent-Date: Thu, 12 Feb 2004 23:20:16 -0800 (PST) Resent-Message-Id: <200402130720.i1D7KGui015966@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alain Hoang Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FB4716A4CE for ; Thu, 12 Feb 2004 23:10:36 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3965643D1D for ; Thu, 12 Feb 2004 23:10:36 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i1D7AZ72035781 for ; Thu, 12 Feb 2004 23:10:35 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id i1D7AZ5d035780; Thu, 12 Feb 2004 23:10:35 -0800 (PST) (envelope-from nobody) Message-Id: <200402130710.i1D7AZ5d035780@www.freebsd.org> Date: Thu, 12 Feb 2004 23:10:35 -0800 (PST) From: Alain Hoang To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.0 Subject: conf/62772: static_routes needs an example in /etc/defaults/rc.conf X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2004 07:20:17 -0000 >Number: 62772 >Category: conf >Synopsis: static_routes needs an example in /etc/defaults/rc.conf >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 12 23:20:16 PST 2004 >Closed-Date: >Last-Modified: >Originator: Alain Hoang >Release: FreeBSD 5.2.1-RC i386 >Organization: Doctor M >Environment: FreeBSD worcester.kannai.doctorm.jp 5.2.1-RC FreeBSD 5.2.1-RC #0: Sat Jan 31 05:36:22 GMT 2004 root@cypress.btc.adpatec.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: The documentation for static_routes in /etc/rc.conf is extremely unfriendly to someone without a background in how the system is supposed to work. There is no examples in /etc/defaults/rc.conf that can be used by a newbie to figure out this works without actually looking at /etc/rc.d/networking and noticing how static_routes actually works. >How-To-Repeat: Find someone who has never configured a static route under FreeBSD and ask them to figure out how to configure a static route using the /etc/rc.conf manpage and /etc/defaults/rc.conf file and the Handbook only. >Fix: An example in /etc/defaults/rc.conf showing the usage would greatly benefit clarifying how to setup a static route. Example snippet: # Static routes is a list of strings seperated by a space # Each of these strings will point to a another # configuration directive labeled route_... # The following example shows an example of two # static routes being configured. They are labeled # net1 and net2 and point to configuration directives # route_net1 and route_net2 respectively. static_routes="net1 net2" route_net1="-net 192.168.0.0 192.168.0.1" route_net2="-net 192.168.1.0 192.168.1.1" >Release-Note: >Audit-Trail: >Unformatted: