How I set up a PXE Server in my home Network using an Ubiquiti EdgeRouter and netboot.xyz

My lab setup:

The end goal is being able to PXE boot the server in my rack and install any of the Operating Systems available via netboot.xyz.

Setting up the PXE server on my Ubiquiti EdgeRouter Lite

  _____    _            
 | ____|__| | __ _  ___          (c) 2010-2020
 |  _| / _  |/ _  |/ _ \         Ubiquiti Networks, Inc.
 | |__| (_| | (_| |  __/         
 |_____\__._|\__. |\___|         https://www.ubnt.com
             |___/

Welcome to EdgeOS

Follow this guide: https://netboot.xyz/docs/kb/networking/edgerouter

Things that were different for me:

  • The DHCP pool in my home network is called LAN1
  • The LAN1 pool in my home network manages 192.168.1.0/24

Note: The tftp-hpa package provides the tftp client on Ubuntu 24.04 LTS (Noble)

# apt install tftp-hpa

The guide was pretty self explanatory. I only followed the top section (not the Advanced part).

Note: The first section of guide focuses on configuring PXE boot for systems using Legacy BIOS. It provides detailed instructions and setups tailored specifically for Legacy boot environments, without support for UEFI-based systems.

Booting the Server using PXE

I powered my Lenovo ThinkServer RS140 on and immediately hit F1 to enter Setup. I navigated to the Startup Tab and edited the Primary Boot Sequence.

I set the boot order on the server to cycle through all NICs. The screenshots show the server booting with PXE and then loading the netboox.xyz Menu.

More Resources

I recommend this WIKI page for a primer on what PXE is as well as some background information, https://en.wikipedia.org/wiki/Preboot_Execution_Environment.

It’s helpful to know what TFTP is and how it works to get a foundational understanding of PXE. This WIKI page is a good reference, https://en.wikipedia.org/wiki/Trivial_File_Transfer_Protocol.

DHCP in itself is quite a broad topic due it’s prevalent usage across computer systems. While not necessary to know the ins and outs of DHCP in order to use and understand PXE, this wiki page is a great reference, https://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol.

Visit the ‘Edgerouter – Ubiquiti Help Center’ for more guides and How To’s: https://help.ui.com/hc/en-us/sections/360008075214-EdgeRouter

Scroll to Top