From owner-freebsd-net@FreeBSD.ORG Mon Nov 5 23:10:19 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2C6916A417 for ; Mon, 5 Nov 2007 23:10:19 +0000 (UTC) (envelope-from fbsdlists@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.189]) by mx1.freebsd.org (Postfix) with ESMTP id 9DEDA13C49D for ; Mon, 5 Nov 2007 23:10:19 +0000 (UTC) (envelope-from fbsdlists@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so1464985rvb for ; Mon, 05 Nov 2007 15:10:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=grmBgyE9EbX+RMWQKtCHMj00MN1CSF8jlbiNH3qlCts=; b=JufZaXL3LQy57IRS3l2W5ahgXJ/X463FKv9da4QyuEbhg+KIHFj41XcJN0I25j69EtuHPU8YPQzghxpYpsieRJ8wjzBVIbFqCEvr6YeJCGIbqGErX6OR9hc7Fa1beJ9yQNKtJy+P556LPgkBJQXnMCj65+Qj0EGmZQdKXnPywlM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=twU9/YuX6jpi1tROc+5qJULEh4PVdDqkrcU+GfXGhnZIrkNuw0BKwgbJHxTsbh9FvXIvNltPUcGq+TcQknvIsdKnozYhWv5Q2pgFL2kDKG9ggyfUw0rWRNou7DmhcRI9VwCP6qEc1OrKX7y99unoFOgcGetkpB+mxjstWcw5tPU= Received: by 10.141.15.19 with SMTP id s19mr2687459rvi.1194302770412; Mon, 05 Nov 2007 14:46:10 -0800 (PST) Received: by 10.141.142.18 with HTTP; Mon, 5 Nov 2007 14:46:10 -0800 (PST) Message-ID: <54db43990711051446y6399b822p6ba9dbb86b65771b@mail.gmail.com> Date: Mon, 5 Nov 2007 17:46:10 -0500 From: "Bob Johnson" To: mtm@freebsd.org In-Reply-To: <1194301190.75993.3.camel@terra> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070329182906.GB38703@rogue.navcom.lan> <20070405154644.GB1844@rogue.navcom.lan> <20070517131713.GE3228@rogue.navcom.lan> <1194301190.75993.3.camel@terra> Cc: freebsd-net@freebsd.org, freebsd-rc@freebsd.org Subject: Re: Merging rc.d/network_ipv6 into rc.d/netif X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2007 23:10:19 -0000 On 11/5/07, Mike Makonnen wrote: > Most IP related knobs will have an ipv4_ and ipv6_ version. To make the > transition easier rc.subr(8) will "automagically" DTRT for the following > knobs: > gateway_enable => ipv4_gateway_enable > router_enable => ipv4_router_enable > router => ipv4_router > router_flags => ipv4_router_flags > defaultrouter => ipv4_defaultrouter > static_routes => ipv4_static_routes > static_routes_ => ipv4_static_routes_ > route_ => ipv4_route_ > dhclient_program => ipv4_dhclient_program > dhclient_flags => ipv4_dhclient_flags > dhclient_flags_ => ipv4_dhclient_flags_ > background_dhclient_ => ipv4_background_dhclient_ > > Please try it and let me know what you think. Personally, I'd prefer the new names be along the lines of ifconfig__ipv4, ifconfig__ipv6, defaultrouter_ipv4, defaultrouter_ipv6, dhclient_program_ipv4, dhclient_program_ipv6, etc. The alphabetical ordering of my rc.conf file will remain more sensible, at least to my mind. All the dhclient knobs would still be grouped together, etc. But separating rc.conf into an ipv4 section and an ipv6 section (which your names would do) is entirely reasonable, so I don't feel strongly about it. And your names would segregate network configuration knobs from all the other things found in rc.conf, which some might view as an advantage. And this would be a good time to change defaultrouter to default_router! - Bob