From owner-freebsd-net@FreeBSD.ORG Sun Nov 11 17:48:24 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 436AB16A628; Sun, 11 Nov 2007 17:48:24 +0000 (UTC) (envelope-from xride@x12.dk) Received: from cicero-fbr1.cybercity.dk (cicero-fbr1.cybercity.dk [212.242.40.5]) by mx1.freebsd.org (Postfix) with ESMTP id EEBD113C4E3; Sun, 11 Nov 2007 17:48:23 +0000 (UTC) (envelope-from xride@x12.dk) Received: from cicero4.cybercity.dk (cicero4.cybercity.dk [212.242.40.52]) by cicero-fbr1.cybercity.dk (Postfix) with ESMTP id 13F643D2E72; Sun, 11 Nov 2007 18:03:38 +0100 (CET) Received: from beacon.x12.dk (0x5550f21e.adsl.cybercity.dk [85.80.242.30]) by cicero4.cybercity.dk (Postfix) with ESMTP id 539343CC391; Sun, 11 Nov 2007 18:03:23 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by beacon.x12.dk (Postfix) with ESMTP id 2F82728417; Sun, 11 Nov 2007 18:03:39 +0100 (CET) Date: Sun, 11 Nov 2007 18:02:56 +0100 From: Soeren Straarup To: Doug Barton Message-ID: <20071111180256.07c41270@x12.dk> In-Reply-To: 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> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.1; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Bob Johnson , freebsd-net@freebsd.org, mtm@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: Sun, 11 Nov 2007 17:48:24 -0000 On Sat, 10 Nov 2007 22:17:18 -0800 (PST) Doug Barton wrote: > On Mon, 5 Nov 2007, Bob Johnson wrote: > > > 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. > > 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. Well there is a difference between router and gateway. I think that gateway would be a better word since from my understanding that is what people use today. /Soeren -- Soeren Straarup | aka OZ2DAK aka Xride FreeBSD committer | FreeBSD since 2.2.6-R If a program is not working right, then send a patch