Created on
05-30-2022
12:53 AM
Edited on
06-07-2025
01:09 PM
By
Jean-Philippe_P
Description
This article describes the procedure to configure FortiGate for facilitating PXE booting.
Scope
FortiGate
Diagram
Ensure the following configuration and infrastructure are in place before configuring FortiGate.
Ensure that there is IP reachability between FortiGate and the TFTP PXE server (the PXE server can be on the same subnet or a different subnet than the PXE client).
Use case:
Solution
Under DHCP configuration on FortiGate, provide the TFTP server IP address and file name on the server
config system dhcp server
edit 1
set next-server <IP address of a server>
set filename "Boot\\x64\\Images\\boot.win"
end
next-server = example 192.168.10.1 - default type - string
set filename = some implementations might require the filename converted to HEX, some others does require the file to be in the root directory as the application can't grab inside folders. Please check the proper format on the vendor's documentation.
Verifying / Troubleshooting:
On FortiGate's SSH, use 'diagnose debug application dhcps -1' to collect more details about the DHCP transaction.
Look for the DHCPDISCOVER coming from the client, and let's make sure the client is requesting the DHCP options necessary for each implementation. Usually, options 60, 66, and 67 are pretty common.
Make sure the FortiGate is sending out a DHCPOFFER.
Use the packet sniffer to collect the DHCP transaction and open it on Wireshark.
filter on ports 67 and 68 UDP.
The DHCPDISCOVERY should look like this, and make sure it includes option 53: Technical Tip: Bootp relay.
The DHCPOFFER coming from the FortiGate should look like this:
Make sure:
If the option is not visible in the DHCPOFFER, double-check if the client has included it in the DHCDISCOVERY.
The PXE Client would also provide a nice indication that the DHCP options were received and processed correctly.
Related articles:
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.