Re: Handling of multiple DHCP OFFERs

From: Chris Friesen
Date: Tue Oct 04 2011 - 10:33:26 EST


On 10/03/2011 07:12 PM, Robert Hancock wrote:
On 10/03/2011 05:36 PM, Chris Friesen wrote:
On 10/03/2011 05:21 PM, David Miller wrote:

There are multiple userspace implementations of DHCP, and the kernel
does not usually get involved at all. You'll therefore have to ask
the folks who write and maintain the various DHCP implementations.

What about netbooting? Or are you expecting people to use initramfs with
a userspace implementation?

Normally with PXE boot it's the PXE ROM that initially gets the IP
address. After the kernel boots up, userspace normally repeats the process.

I've worked with quite a few boards where PXE boots the kernel, but the kernel needs to do DHCP to get the location of the root filesystem (as well as various DHCP options not understood by PXE).

Chris




--
Chris Friesen
Software Developer
GENBAND
chris.friesen@xxxxxxxxxxx
www.genband.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/