From owner-freebsd-current@FreeBSD.ORG Fri Feb 4 14:48:59 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 1A53F16A4CF for ; Fri, 4 Feb 2005 14:48:59 +0000 (GMT) Received: from node15.coopprint.com (node15.cooperativeprinting.com [208.4.77.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 5E66C43D54 for ; Fri, 4 Feb 2005 14:48:57 +0000 (GMT) (envelope-from ryans@gamersimpact.com) Received: (qmail 66766 invoked by uid 0); 4 Feb 2005 14:48:49 -0000 Received: from unknown (HELO ?192.168.0.5?) (63.231.157.250) by node15.coopprint.com with SMTP; 4 Feb 2005 14:48:49 -0000 Message-ID: <42038B63.4060803@gamersimpact.com> Date: Fri, 04 Feb 2005 08:49:07 -0600 From: Ryan Sommers User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: ticso@cicely.de References: <42030649.7020806@gamersimpact.com> <20050204115544.H20546@mp2.macomnet.net> <20050204091743.GK51800@cicely12.cicely.de> In-Reply-To: <20050204091743.GK51800@cicely12.cicely.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Maxim Konovalov cc: current@freebsd.org Subject: Re: [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 14:48:59 -0000 Maxim Konovalov wrote: > > There is a good example in rc.conf(5) already. > We have examples in both rc.conf(5) (as shown below) and defaults/rc.conf then. To keep a form of congruence why not put all the examples in one place, either the manpage or the file? As someone that's used FreeBSD since 4.0-RELEASE I had to do a less /etc/rc.d/routing to figure out how to use the tunables. It was my fault that I didn't do a man rc.conf, however, never in my using FreeBSD and rc.conf have I needed to look at this manpage. Nor have I ever seen there was one. Might I also suggest a reference in defaults/rc.conf to the manpage? Bernd Walter wrote: > > And comment lines are not defaults. > Then I guess the following lines need to all be removed: #cloned_interfaces="gif0 gif1 gif2 gif3" # Pre-cloning GENERIC config. #ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry. #ifconfig_ed0_ipx="ipx 0x00010010" # Sample IPX address family entry. #sppp_interfaces="isp0" # example: sppp over ISDN #spppconfig_isp0="authproto=chap myauthname=foo myauthsecret='top secret' hisauthname=some-gw hisauthsecret='another secret'" #gif_interfaces="gif0 gif1" # Examples typically for a router. #gifconfig_gif0="10.1.1.1 10.1.2.1" # Examples typically for a router. #gifconfig_gif1="10.1.1.2 10.1.2.2" # Examples typically for a router. #syslogd_flags="-ss" # Syslogd flags to not bind an inet socket #atm_netif_hea0="atm 1" # Network interfaces for physical interface. #atm_sigmgr_hea0="uni31" # Signalling manager for physical interface. #atm_prefix_hea0="ILMI" # NSAP prefix (UNI interfaces only) (or ILMI). #atm_macaddr_hea0="NO" # Override physical MAC address (or NO). #atm_arpserver_atm0="0x47.0005.80.999999.9999.9999.9999.999999999999.00" # ATMARP server address (or local). #atm_scsparp_atm0="NO" # Run SCSP/ATMARP on network interface (or NO). #ipv6_defaultrouter="2002:c058:6301::" # Use this for 6to4 (RFC 3068) #ipv6_static_routes="xxx" # An example to set fec0:0000:0000:0006::/64 #ipv6_route_xxx="fec0:0000:0000:0006:: -prefixlen 64 ::1" #ipv6_router_flags="-l" # Example for route6d with only IPv6 site local #ipv6_router_flags="-q" # If you want to run a routing daemon on an end #ipv6_network_interfaces="ed0 ep0" # Examples for router #ipv6_prefix_ed0="fec0:0000:0000:0001 fec0:0000:0000:0002" # Examples for rtr. #ipv6_prefix_ep0="fec0:0000:0000:0003 fec0:0000:0000:0004" # Examples for rtr. #ipv6_ifconfig_ed0="fec0:0:0:5::1 prefixlen 64" # Sample manual assign entry #ipv6_ifconfig_ed0_alias0="fec0:0:0:5::2 prefixlen 64" # Sample alias entry. #jail_example_rootdir="/usr/jail/default" # Jail's root directory #jail_example_hostname="default.domain.com" # Jail's hostname #jail_example_ip="192.168.0.10" # Jail's IP number #jail_example_exec="/bin/sh /etc/rc" # command to execute in jail #jail_example_devfs_enable="NO" # mount devfs in the jail #jail_example_fdescfs_enable="NO" # mount fdescfs in the jail #jail_example_procfs_enable="NO" # mount procfs in jail #jail_example_devfs_ruleset="ruleset_name" # devfs ruleset to apply to jail -- Ryan Sommers ryans@gamersimpact.com