This is a static, read-only archive of Wireshark Q&A. Older questions and answers from October 2017 and earlier can be found at osqa-ask.wireshark.org.
0

PXE Server and IP Helper

asked Sep 14 '22

Hello,

I setup a port SPAN to capture a new PXE client booting up and getting the necessary info from our DHCP server and PXE server. In the DHCP offer from our DHCP server, there is a relay agent IP, which is the IP Helper. There is no relay agent IP from our PXE server DHCP offer packet. The PXE client and PXE server are on the same subnet, but our DHCP server is not. If we were using an IP Helper to send packets to the PXE server, wouldn't the offer contain a relay agent IP?

Thanks

1 Answer

0

answered Nov 12 '26

No. A DHCP (or PXE) offer only has a Relay agent IP address (giaddr) when a relay forwarded the request. It is not a "this packet involved a helper somewhere on the network" flag.

Your DHCP server is on another subnet, so the client DISCOVER reaches it through the IP helper. The relay sets giaddr to its own interface address on the client subnet, and the server copies that into the OFFER. That is why you see a relay agent IP in the DHCP server's offer.

Your PXE server is on the same subnet as the client, so it hears the broadcast DISCOVER directly. No relay is used on that path, so giaddr in the PXE server's offer should be 0.0.0.0. That is expected, even if a helper is also sending a copy of the DISCOVER to the DHCP server.

Display filter for the conversation:

dhcp or (udp.port == 67 or udp.port == 68)

Then compare the two offers:

  • Relay agent IP address (giaddr)
  • Server Identifier (option 54) — which host sent the offer
  • Your-IP (yiaddr). A PXE/proxyDHCP offer often has yiaddr 0.0.0.0 and carries boot information in options (60, 66/67, or 43) instead of handing out the address
  • Option 60 (vendor class, often PXEClient) and option 82 if the helper added it

If you have a pcap you can share (a public file host is fine; new accounts often cannot attach files here), people can confirm whether the PXE packet is a second, same-subnet offer or something else.

cc-by-sa Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.