From owner-freebsd-net@freebsd.org Sun May 28 15:39:10 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 89356D84F59 for ; Sun, 28 May 2017 15:39:10 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 59E7A19C1; Sun, 28 May 2017 15:39:09 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id v4SFd1hI018339; Sun, 28 May 2017 08:39:01 -0700 (PDT) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id v4SFcxJ7018338; Sun, 28 May 2017 08:38:59 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201705281538.v4SFcxJ7018338@pdx.rh.CN85.dnsmgr.net> Subject: Re: svn commit: r314948 - in head: lib/libstand sys/boot/i386/libi386 In-Reply-To: To: Andriy Gapon Date: Sun, 28 May 2017 08:38:59 -0700 (PDT) CC: Kamil Czekirda , Baptiste Daroussin , "George V. Neville-Neil" , Steven Hartland , Toomas Soome , freebsd-net@freebsd.org, Mariusz Zaborski X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 28 May 2017 15:39:10 -0000 > On 28/05/2017 01:09, Kamil Czekirda wrote: > > In initial revision I noticed, that I'm not sure it should be default behavior. > > In a lot of installations pxeloader can base on the cache and doesn't require > > second, full request with the same answer. In that situation we can switch off > > bootp() and I think it would be nice to have this switch and give them to users. > > Flag during compilation is sensible. > > > > In very simple and popular case we have chain with four requests for the same > > information (!): > > PXE (NIC) -> iPXE -> pxeloader -> dhclient > > and it's possible to switch off request from iPXE and pxeloader without breaking > > boot process. > > Well, the information given to PXE/NIC and iPXE is not exactly the same as > bootfile must differ. Also, a nit: as far as I know, it's currently impossible > to run dhclient on a network booted _diskless_ system. I dont think that is actually true. Infact dont we need to run dhclient on a diskless client if we intend to keep our dhcp lease beyond the initial issue time period, ie renewal ever X minutes? > So, yeah, in some setups we can shave off a request from pxeboot and it probably > makes sense to have that option. > > -- > Andriy Gapon > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > -- Rod Grimes rgrimes@freebsd.org