From owner-freebsd-rc@FreeBSD.ORG  Sun Nov 11 06:17:38 2007
Return-Path: <owner-freebsd-rc@FreeBSD.ORG>
Delivered-To: freebsd-rc@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9818E16A421
	for <freebsd-rc@freebsd.org>; Sun, 11 Nov 2007 06:17:38 +0000 (UTC)
	(envelope-from dougb@FreeBSD.org)
Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4])
	by mx1.freebsd.org (Postfix) with SMTP id 43DA313C4A3
	for <freebsd-rc@freebsd.org>; Sun, 11 Nov 2007 06:17:36 +0000 (UTC)
	(envelope-from dougb@FreeBSD.org)
Received: (qmail 15159 invoked by uid 399); 11 Nov 2007 06:17:20 -0000
Received: from localhost (HELO slave.dougb.net) (dougb@dougbarton.us@127.0.0.1)
	by localhost with ESMTP; 11 Nov 2007 06:17:20 -0000
X-Originating-IP: 127.0.0.1
Date: Sat, 10 Nov 2007 22:17:18 -0800 (PST)
From: Doug Barton <dougb@FreeBSD.org>
To: Bob Johnson <fbsdlists@gmail.com>
In-Reply-To: <54db43990711051446y6399b822p6ba9dbb86b65771b@mail.gmail.com>
Message-ID: <alpine.BSF.0.99999.0711102213130.15336@qbhto.arg>
References: <20070329182906.GB38703@rogue.navcom.lan>
	<20070405154644.GB1844@rogue.navcom.lan>
	<20070517131713.GE3228@rogue.navcom.lan>
	<1194301190.75993.3.camel@terra>
	<54db43990711051446y6399b822p6ba9dbb86b65771b@mail.gmail.com>
User-Agent: Alpine 0.99999 (BSF 796 2007-11-08)
X-message-flag: Outlook -- Not just for spreading viruses anymore!
X-OpenPGP-Key-ID: 0xD5B2F0FB
Organization: http://www.FreeBSD.org/
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Cc: freebsd-net@freebsd.org, mtm@freebsd.org, freebsd-rc@freebsd.org
Subject: Re: Merging rc.d/network_ipv6 into rc.d/netif
X-BeenThere: freebsd-rc@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Discussion related to /etc/rc.d design and implementation."
	<freebsd-rc.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-rc>,
	<mailto:freebsd-rc-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-rc>
List-Post: <mailto:freebsd-rc@freebsd.org>
List-Help: <mailto:freebsd-rc-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-rc>,
	<mailto:freebsd-rc-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 11 Nov 2007 06:17:38 -0000

On Mon, 5 Nov 2007, Bob Johnson wrote:

> On 11/5/07, Mike Makonnen <mtm@freebsd.org> 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_<IF> => ipv4_static_routes_<IF>
>>         route_<XXX>        => ipv4_route_<XXX>
>>         dhclient_program   => ipv4_dhclient_program
>>         dhclient_flags     => ipv4_dhclient_flags
>>         dhclient_flags_<IF> => ipv4_dhclient_flags_<IF>
>>         background_dhclient_<IF> => ipv4_background_dhclient_<IF>
>>
>> Please try it and let me know what you think.
>
> Personally, I'd prefer the new names be along the lines of
> ifconfig_<interface>_ipv4, ifconfig_<interface>_ipv6,
> defaultrouter_ipv4, defaultrouter_ipv6, dhclient_program_ipv4,
> dhclient_program_ipv6, etc.

Personally I think that grouping things by ipv4/ipv6 makes more sense, and 
has better longevity.

> And this would be a good time to change defaultrouter to default_router!

Or we could make it shorter and call it gateway.

Doug

-- 

     This .signature sanitized for your protection