PXE network booting: DHCP options, TFTP, UEFI and IP helpers explained
In short: PXE lets a computer start from the network instead of its disk, usually to install an operating system. The PC's firmware asks DHCP for an address and the boot server details, downloads a small boot file over TFTP (or HTTP with UEFI), and that file loads the installer. Across VLANs, routers need IP helper addresses, and the boot file must match BIOS or UEFI.
Why network boot
IT teams deploying dozens or hundreds of PCs do not want to walk around with USB sticks. With PXE (Preboot Execution Environment), a technician presses F12 on a new PC, chooses network boot, and an operating system image installs automatically from a deployment server such as Microsoft MECM/WDS, FOG or a Linux server. Thin clients, servers and some network devices also boot this way.
Step by step
- The PC's firmware sends a DHCP Discover with a vendor class "PXEClient" and its architecture (BIOS or UEFI).
- A DHCP server gives it an address and, either directly or through a PXE server, the boot server (option 66 or the "next server" field) and boot file name (option 67).
- The PC downloads the boot file using TFTP (UDP 69). Newer UEFI systems can also use HTTP boot, which is faster and works better over routed networks.
- The boot file loads a small operating system environment, such as Windows PE or a Linux kernel, which then connects to the deployment server and installs the image.
BIOS and UEFI
Older BIOS PCs and modern UEFI PCs need different boot files (for example boot\x64\wdsnbp.com for BIOS and boot\x64\wdsmgfw.efi for UEFI with WDS). Giving the wrong file makes the PC fail with a TFTP or boot error. Modern deployment servers answer PXE requests themselves and pick the right file automatically; if you use DHCP options 66 and 67 instead, you can create DHCP policies that send different files based on the client's architecture. UEFI Secure Boot also requires the boot files to be signed.
Across VLANs
DHCP Discover is a broadcast, so it does not cross routers. On the PCs' VLAN gateway, add IP helper addresses pointing to both the DHCP server and the PXE server (if they are different):
interface Vlan30
ip address 10.10.30.1 255.255.255.0
ip helper-address 10.10.5.10
ip helper-address 10.10.5.25
With a PXE server that answers directly, this approach usually works better than DHCP options 66 and 67.
Common problems
- "PXE-E53: No boot filename received": the DHCP reply has no boot information, often a missing IP helper or options.
- TFTP timeouts: a firewall blocking UDP 69 and the high ports TFTP uses for data, or an MTU or block-size problem on slow links.
- Spanning tree delay: without PortFast on the access port, the port is not forwarding for 30 seconds and the PXE client gives up. Always enable PortFast on PC ports.
- Wrong architecture file: BIOS file sent to a UEFI PC or the other way round.
- Very slow downloads: TFTP with a small block size over a WAN; use HTTP boot or a local distribution point.
Real-world example: the lab that would not image
A college's new computer lab PCs failed PXE boot with "No boot filename received", while an older lab worked. The new lab's VLAN had an IP helper to the DHCP server but not to the separate deployment server. Adding the second helper address let the PXE server answer, and 40 PCs imaged in under an hour.
Practice
Which DHCP options carry the boot server and boot file name for PXE?
Why is PortFast important on ports where PCs PXE boot?
Why might a UEFI PC fail when using DHCP options set for BIOS PCs?
Key takeaways
- PXE lets PCs boot from the network to install operating systems.
- DHCP provides the boot server and file; TFTP or HTTP downloads it.
- BIOS and UEFI need different boot files; Secure Boot needs signed files.
- Use IP helpers for DHCP and PXE servers, PortFast on PC ports.
Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.