[gPXE] DHCP Client ID in gPXE 1.0.0?

Steven Shiau steven at nchc.org.tw
Fri Mar 19 08:37:15 EDT 2010



Stefan Hajnoczi wrote:
> On Fri, Mar 19, 2010 at 8:55 AM, Steven Shiau <steven at nchc.org.tw> wrote:
>   
>>> Does this mean you removed the client identifier and dhcpd handed out
>>> the same IP address when Linux booted?
>>>       
>> Yes. That's true here.
>>     
>
> I'm not a DHCP expert.  It would be interesting to check the RFCs and
> ISC dhcpd IP allocation code.  I assumed DHCP servers only hash MAC
> addresses for IP allocation but your case shows that the client
> identifier also comes into play.
>   
Not really. From RFC 2131:
http://tools.ietf.org/html/rfc2131
DHCP client identifier is honored if it's assigned.
> Could you change the Linux dhcp client's identifier -
> which one you change is arbitrary, right?
>   
FWIK, basically yes, you can give it an arbitrary value, if it's unique 
in the subnet.

Steven.

-- 
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A



More information about the gPXE mailing list