iPXE Not Making Requests to Port 4011
|
2017-02-06, 05:52
Post: #3
|
|||
|
|||
RE: iPXE Not Making Requests to Port 4011
First, thanks for your help with this issue!
(2017-02-03 23:50)NiKiZe Wrote: Proxy dhcp can be disabled by the main dhcp server via a option. Ah. I've looked into this a bit (the Gist you mentioned was very helpful) and, if I'm understanding this right, the primary DHCP server can send back a reply with DHCP option 175 set to say "don't attempt to contact a proxy server," right? (I'm not sure what the ipxe-green.conf file is in that Gist, but it looks to be a configuration file for some sort of DHCP server?) That doesn't seem to be happening in my case. Here's a summary of all IPv4 UDP messages during the boot process: Code: 12:52:05.223313 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 52:54:00:4d:12:82, length 396 Code: 12:52:08.227723 IP (tos 0xc0, ttl 64, id 30016, offset 0, flags [none], proto UDP (17), length 328) So no option appears to be telling iPXE not to try sending a DHCP request to port 4011. Quote:regarding proxy dhcp there is a note at http://ipxe.org/cmd/ifconf#notes about something that is very similar to your issue Yes, I had already looked at this page. I suspect the advice is a bit old; it looks as if the 1.x versions of iPXE already build in the appropriate delay for a proxy server to reply. You'll note in the dump above that there's a second DHCP request made five seconds after the first DHCP reply is received; there's also a several-second delay after that before iPXE returns to the command line. I'm guessing that this would be iPXE waiting for a separate DHCP response from a proxy DHCP server. Unfortunately, since it never sent out a response on port 4011, no response is generated. (One solution I'd tried to check this out, BTW, was running the proxy DHCP server on port 67 on a different IP address, but unfortunately the primary DHCP server is configured to listen on port 67 on all addresses on the host, and so it grabs port 67 on the new address the instant I add that address to the system.) Quote:But first of: https://git.ipxe.org/ipxe.git/commit/6366fa7a that version is over a year old, you should try and do dhcp && chain http://boot.ipxe.org/ipxe.pxe m the qemu provided ipxe since there have been lots of improvements (and we do not like to try and debug old versions) Unfortunately I can't do that automatically unless I can get the darn thing to send a query to my proxy DHCP server, since changing the configuration of the DHCP server running on port 67 isn't practical in my situation. (In which case my problem would be solved, anyway, since the rest of the boot process works fine once I can get a filename to iPXE.) So at this point it looks as if I'm stuck. I did, however chainload the above link, which gave me a build from commit 4a4da (which is HEAD of the master branch from the Git repo) and examined its boot behaviour; it has the same problem as the 6366fa7a that came with QEMU: it never sends a request to port 4011. I'm wondering, do I not properly understand the behaviour that's supposed to be happening here? Is a PXE client not supposed to be sending DHCP requests to port 4011 as well as port 63, by default? |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
iPXE Not Making Requests to Port 4011 - cjs - 2017-02-03, 09:58
RE: iPXE Not Making Requests to Port 4011 - NiKiZe - 2017-02-03, 23:50
RE: iPXE Not Making Requests to Port 4011 - cjs - 2017-02-06 05:52
RE: iPXE Not Making Requests to Port 4011 - NiKiZe - 2017-02-06, 08:10
RE: iPXE Not Making Requests to Port 4011 - robinsmidsrod - 2017-02-06, 09:55
RE: iPXE Not Making Requests to Port 4011 - BitBub - 2017-02-07, 03:13
RE: iPXE Not Making Requests to Port 4011 - cjs - 2017-02-08, 04:29
RE: iPXE Not Making Requests to Port 4011 - BitBub - 2017-02-08, 06:33
RE: iPXE Not Making Requests to Port 4011 - NiKiZe - 2017-02-08, 21:10
|
User(s) browsing this thread: 2 Guest(s)