From owner-freebsd-current@FreeBSD.ORG Tue Jun 7 20:26:28 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 B8D3A16A41C for ; Tue, 7 Jun 2005 20:26:28 +0000 (GMT) (envelope-from andy@siliconlandmark.com) Received: from lexi.siliconlandmark.com (lexi.siliconlandmark.com [209.69.98.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2445443D48 for ; Tue, 7 Jun 2005 20:26:27 +0000 (GMT) (envelope-from andy@siliconlandmark.com) Received: from lexi.siliconlandmark.com (localhost [127.0.0.1]) by lexi.siliconlandmark.com (8.13.3/8.13.3) with ESMTP id j57KQHct002184; Tue, 7 Jun 2005 16:26:17 -0400 (EDT) (envelope-from andy@siliconlandmark.com) Received: from localhost (andy@localhost) by lexi.siliconlandmark.com (8.13.3/8.13.3/Submit) with ESMTP id j57KQDPl002181; Tue, 7 Jun 2005 16:26:13 -0400 (EDT) (envelope-from andy@siliconlandmark.com) X-Authentication-Warning: lexi.siliconlandmark.com: andy owned process doing -bs Date: Tue, 7 Jun 2005 16:26:13 -0400 (EDT) From: Andre Guibert de Bruet To: Sten Spans In-Reply-To: Message-ID: <20050607162452.A42933@lexi.siliconlandmark.com> References: <20050607034620.GA32718@odin.ac.hmc.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Information: Please contact the ISP for more information X-SL-MailScanner: Found to be clean X-SL-SpamCheck: not spam, SpamAssassin (score=-2.532, required 6, autolearn=not spam, AWL 0.07, BAYES_00 -2.60) X-MailScanner-From: andy@siliconlandmark.com Cc: freebsd-current@freebsd.org Subject: Re: HEADSUP: OpenBSD dhclient incoming X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 07 Jun 2005 20:26:28 -0000 On Tue, 7 Jun 2005, Sten Spans wrote: > On Mon, 6 Jun 2005, Brooks Davis wrote: > >> I'm about to start importing the OpenBSD dhclient and required >> support in /etc. I will unhook dhclient from the build while I work so >> there shouldn't be much breakage for most people. >> > >> >> Since the interface configuration process had to change to accommodate >> this, I've taken the opportunity to streamline it. There are now less >> paths by which and interface will be configured. First, >> /etc/rc.d/dhclient is no longer a start script and simply exists to >> start and stop individual dhclients. Second, /etc/rc.d/netif now >> handles both DHCP and non-DHCP interfaces. As a bonus, it can handle >> interface which are both so the following is a valid configuration: >> >> ifconfig_fxp0="DHCP media 100baseTX" > > This is great, another use for this is dhcp on vlan interfaces, aka: > ifconfig_vlan42="DHCP vlandev fxp0" > > Previously this had to be done with interface start scripts. Could I suggest that all of this wonderful magic be documented in the ifconfig and/or dhclient manpage? Andy /* Andre Guibert de Bruet * 6f43 6564 7020 656f 2e74 4220 7469 6a20 */ /* Code poet / Sysadmin * 636f 656b 2e79 5320 7379 6461 696d 2e6e */ /* GSM: +1 734 846 8758 * 5520 494e 2058 6c73 7565 6874 002e 0000 */ /* WWW: siliconlandmark.com * Tormenting bytes since 1980. */