Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DHCP message configuration
2013-05-16, 12:10
Post: #6
RE: DHCP message configuration
(2013-05-16 09:57)mcb30 Wrote:  Answering your StackOverflow question here:

I would strongly recommend that you do not under any circumstances use cached DHCP settings from the OEM PXE stack's DHCP request. Allow iPXE to make its own DHCP request, and it should request everything that might be relevant.

If you see "DHCP (net0 52:54:00:12:34:56)... using cached" then you are using cached DHCP settings. This is a Bad Thing.

If you are currently using undionly.kkpxe, try switching to undionly.kpxe or to ipxe.pxe.

Michael
I tried both undionly.kpxe and ipxe.pxe. ipxe.pxe is not compatible, while undionly.kpxe can only send DHCP messages (Discover and Request), but server returns no reply. Only undionly.kkpxe works and the embedded script has "set use-cached 0"  I captured the packets on both case using tcpdump (I stopped when iPXE finished downloading all tftp files) and inspect them with Wireshark. 

According to what you say, iPXE should request everything from the server. However, I only got a subset of specified options in /etc/dhcpd.conf, because DHCP discover message only contains that many.

Is there any other solution? If not, then I guess the only way is to modify the code.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
DHCP message configuration - Rickert - 2013-05-15, 03:48
RE: DHCP message configuration - Rickert - 2013-05-16 12:10



User(s) browsing this thread: 2 Guest(s)