Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2017 00:48:12 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net>
Cc:        Kamil Czekirda <kczekirda@FreeBSD.org>, Baptiste Daroussin <bapt@FreeBSD.org>, "George V. Neville-Neil" <gnn@FreeBSD.org>, Steven Hartland <smh@FreeBSD.org>, Toomas Soome <tsoome@FreeBSD.org>, freebsd-net@FreeBSD.org, Mariusz Zaborski <oshogbo@FreeBSD.org>
Subject:   Re: svn commit: r314948 - in head: lib/libstand sys/boot/i386/libi386
Message-ID:  <e6ef07d2-575e-c7d5-b245-2bb9902f32c7@FreeBSD.org>
In-Reply-To: <201705281538.v4SFcxJ7018338@pdx.rh.CN85.dnsmgr.net>
References:  <201705281538.v4SFcxJ7018338@pdx.rh.CN85.dnsmgr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 28/05/2017 18:38, Rodney W. Grimes wrote:
>> 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?

Well, just test it.

>> So, yeah, in some setups we can shave off a request from pxeboot and it probably
>> makes sense to have that option.


-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e6ef07d2-575e-c7d5-b245-2bb9902f32c7>