From owner-freebsd-current@FreeBSD.ORG Fri Jan 23 11:43:28 2004 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 57C3B16A4CE for ; Fri, 23 Jan 2004 11:43:28 -0800 (PST) Received: from kientzle.com (h-66-166-149-50.SNVACAID.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id A20A343D5E for ; Fri, 23 Jan 2004 11:43:26 -0800 (PST) (envelope-from kientzle@acm.org) Received: from acm.org ([66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id i0NJgnkX021326; Fri, 23 Jan 2004 11:42:49 -0800 (PST) (envelope-from kientzle@acm.org) Message-ID: <40117936.5020005@acm.org> Date: Fri, 23 Jan 2004 11:42:46 -0800 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031006 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Danny Braniss References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: Wish List X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kientzle@acm.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2004 19:43:28 -0000 Danny Braniss wrote: > this is what i did for -current if using PXE boot. > > [ import DHCP tags into kernel env, then use that to > load addition rc.conf files ... ] Nice, but what if you're doing a PXE boot? Maybe there's some way for dhclient to register DHCP information somewhere that other programs can get access to it. A robust solution would need to accomodate systems with multiple DHCP-configured interfaces (that is, DHCP information must be tracked on a per-interface basis). I've often wondered if DHCP client support shouldn't just be moved into the kernel. Rather than running a userland DHCP client, you ask the network interface to DHCP configure itself, (Maybe "ifconfig xl0 -dhcp"?) and can then later ask that interface for relevant DHCP information. (An ifconfig option to export DHCP tags stored in the interface itself?) It's a tough call, though; there's a lot of practical advantages to having DHCP in userland. On the other hand, we already have DHCP in the kernel for PXE booting, so .... Tim