What is Preboot Execution Environment (PXE)? (2024)

What is Preboot Execution Environment (PXE)? (1)

By

  • Rahul Awati

What is Preboot Execution Environment (PXE)?

The Preboot Execution Environment or PXE (commonly pronounced as pixie) is a client-server environment that enables network computers to boot over the network interface card (NIC), instead of from a CD-ROM or hard disk.

PXE network boot is achieved by using several network protocols, including Internet Protocol (IP), Dynamic Host Configuration Protocol (DHCP), User Datagram Protocol (UDP) and Trivial File Transfer Protocol (TFTP).

PXE plays a key role in helping IT managers handle client machines without a storage device. Since PXE is vendor independent, it allows new systems to be added to the network, and it also helps simplify system maintenance.

This open industry standard is part of the Wired for Management (WfM) framework defined by Intel and Microsoft in 1998. Although Active Management Technology has overtaken PXE, PXE is still an important tool for enterprise network administrators.

Understanding PXE booting

Computers can boot over a network in several ways, and PXE is one of them. PXE works with the system's NIC by making it function like a boot device. PXE evolved from the era before computers had internal disk drives.

The PXE booting process begins with the PXE-enabled NIC on the client system sending out a broadcast request to the DHCP server. This request goes out in the form of a "discover" packet. Once the DHCP server receives this packet, it returns the address of the TFTP server, which is where the boot files are located, as well as to the client's IP address.

The steps involved in the process are as follows:

  1. The NIC triggers a broadcast request to the DHCP server as a "discover" packet.
  2. The DHCP server intercepts the request.
  3. It responds with an "offer" packet containing the TFTP server address, boot image (pxelinux.0), and standard information like IP address, subnet mask, domain name system (DNS), etc.
  4. The client system receives this information from the server.
  5. It analyzes the server's offer and is then assigned various network parameters like IP address and subnet mask.
  6. The client contacts the PXE boot server (TFTP server) for the boot image.
  7. The PXE boot server sends the boot image through TFTP.
  8. The client executes it.
  9. The boot image searches the pxelinux.cfg directory on the TFTP server for boot configuration files.
  10. The client downloads and loads the files related to the kernel and root system.
  11. Finally, the client system reboots.

In the DHCP server, Option 66 or 67 are configured under scope or server options with the required information. Option 66 specifies which server to contact, and Option 67 specifies the name of the file to request. This method helps with the loading and launching of the boot files for the client system. It works well when clients and servers are on the same part of the network, and if only one type of device architecture is being used.

What is Preboot Execution Environment (PXE)? (2)

Advantages of PXE booting

PXE network booting is useful in a diskless environment, with the booting carried out with the help of routers and centrally managed devices.

Some of the crucial advantages of PXE booting include the following:

  • The client does not require an operating system or storage device.
  • Most tasks are performed remotely, conserving significant time and effort for IT managers.
  • Centralized data storage and control are possible, providing more reliable information security.
  • PXE is vendor agnostic, so new clients can be easily added to extend the network as business requirements change.

Disabling PXE boot

PXE is enabled by default on all computers. However, it can also be disabled. The disabling procedure varies by vendor. But in general, PXE can only be disabled from the BIOS (Basic Input Output System) interface. On some computers, BIOS is known as the System Setup screen.

To disable PXE boot, the steps are as follows:

  1. Enter "Setup" once the computer is turned on. It is usually achieved by pressing the F2, F2 or ESP keys when the initial splash screen loads.
  2. Click on the Advanced tab and locate the "Integrated Devices" option.
  3. Find the "Network Interface Controller" option.
  4. Set it to "On" instead of "On with PXE" to disable PXE. The exact wording may differ by vendor.
  5. This disables PXE.
  6. In some systems, there isn't a PXE option. In this scenario, navigate to "Boot Order" or "Boot Sequence," which may be listed under the "Advanced" tab.
  7. Move the network card to the bottom of the boot order list. This disables PXE so the computer will boot from the hard drive or with other media instead of the NIC.
  8. Finally, save the changes and exit the BIOS setup.

Differentiating PXE from iPXE

PXE and TFTP were originally designed for unstable networks operating at low speeds. But now, as Gigabit networks become more common, PXE and its related protocols are outdated. IPXE is an Open Source network boot firmware licensed under the GNU GPL. IPXE is included by default in products from many network card manufacturers and OEMs.

IPXE extends the traditional PXE boot process and enables the boot process from:

  • a web server via HTTP;
  • a wireless network;
  • a WAN;
  • the cloud;
  • an iSCSI SAN;
  • a fiber channel SAN via FCoE;
  • an ATA over Ethernet (AoE) SAN;
  • an InfiniBand network;
  • USB media; and
  • USB Ethernet

IPXE, allows administrators to control the boot process with a script. IPXE can replace the existing PXE ROM on a computer's NIC. Users can also chain load into iPXE to utilize its features without the need to reflash.

This was last updated in November 2021

Continue Reading About Preboot Execution Environment (PXE)

  • Requirements of integrating a PXE server with SCVMM 2012 R2
  • Follow a PXE boot tutorial to increase OS configuration automation
  • Pick up infrastructure as code tools and techniques
  • Simplify OpenStack installation with Ansible playbooks
  • Use infrastructure as code to simplify hybrid, multicloud management

Related Terms

IT service delivery
IT service delivery is the way a corporation provides users access to IT services, such as applications, data storage and other ...Seecompletedefinition
ITIL V3
ITIL V3 is the third version of the Information Technology Infrastructure Library (ITIL), a globally recognized collection of ...Seecompletedefinition
strategic planning
Strategic planning is a process in which an organization's leaders define their vision for the future and identify their ...Seecompletedefinition

Dig Deeper on IT operations and infrastructure management

  • guest operating system (guest OS)By: RahulAwati
  • How to use TFTP to transfer files across the networkBy: DamonGarn
  • bare-metal provisioningBy: RahulAwati
  • DHCP (Dynamic Host Configuration Protocol)By: AlexanderGillis
What is Preboot Execution Environment (PXE)? (2024)

FAQs

What is the Preboot Execution Environment PXE used for? ›

Preboot execution environment (PXE), pronounced pixie, is a set of standards that enables a computer to load an operating system (OS) over a network connection. PXE can be used to quickly install an OS and is commonly used for both servers and clients.

What is the PXE boot process? ›

PXE Boot Process

The DHCP server will send the Next Boot Server's IP address(Option 66) and the Boot Filename(Option 67) to the client. The client will contact the PXE boot server and request the boot files. The PXE boot server will send the boot files to the client through the Trivial File Transfer Protocol (TFTP).

What is the function of PXE? ›

The Preboot Execution Environment or PXE (commonly pronounced as pixie) is a client-server environment that enables network computers to boot over the network interface card (NIC), instead of from a CD-ROM or hard disk.

Why is my PC doing a PXE boot? ›

PXE booting is when your system starts over the IPv4-based network. This way of booting for your PC is a method of last resort. It also indicates that other devices for booting were not available such as the hard disk.

What is the difference between PXE boot and normal boot? ›

PXE (Pre-Execution Environment) boot is a method of booting a computer over a network, rather than from a local storage device such as a hard drive or solid-state drive. This allows a computer to be configured and managed remotely, without the need for a local operating system to be installed.

What are the disadvantages of using PXE boot? ›

When a client sends a PXE boot request, you have no way to make sure that the request is serviced by a valid PXE-enabled distribution point. This scenario has the following security risks: A rogue distribution point that responds to PXE requests could provide a tampered image to clients.

Is PXE boot still used? ›

The concept behind the PXE originated in the early days of protocols like BOOTP/DHCP/TFTP, and as of 2015 it forms part of the Unified Extensible Firmware Interface (UEFI) standard. In modern data centers, PXE is the most frequent choice for operating system booting, installation and deployment.

How do I enable PXE boot on my network? ›

[By Models] Go to Post & Boot > UEFI PXE Support > Enable , this setting can be enabled alone with Network Stack set to disabled. If you cannot find "UEFI PXE Support" in Post & Boot page, please Enable Network Stack in same page. Select Network and enable it as "Legacy" or "UEFI".

How do I enable PXE in BIOS? ›

OPS - How to enable PXE option in BIOS Print

Select the “Advanced” Tab and navigate to “CMS Configuration.” Under “Legacy PXE ROM”, change the default setting and enable Legacy Only. Click Save Changes and Exit.

What is the difference between DHCP and PXE? ›

The DHCP server responds, sending a broadcast packet that tells the client it's an address server. The PXE server responds to the client and reports that it's a boot server. The client sends a request to the DHCP server to ask for the IP address. The DHCP server sends the IP address to the client.

What components are required for a PXE boot? ›

The primary components involved in a PXE Boot process are the client machine, the DHCP (Dynamic Host Configuration Protocol) server, and the TFTP (Trivial File Transfer Protocol) server.

What ports does PXE boot use? ›

Port 4011 is the standard PXE port used by PXE clients to communicate with a PXE Server after the initial discover / offer, to unicast a request for the location of the TFTP boot image file. This port is not used if PXE Everywhere is configured to support DHCP Snooping. No. Port 67 is the standard PXE discover port.

How to check if PXE server is running? ›

Navigate to Start → Run → services. msc and double-click the service ManageEngine OS Deployer PXE Server. If the service is not running, click Start.

Why does my computer say start PXE over IPv4? ›

"Start PXE or IPv4" is a message that's generated when the VM's boot firmware can't find a bootable operating system on hard disk or CD/ROM. It's resorting to trying a network boot. Can you provide more information on your hardware configuration, macOS version, Fusion version and your Windows 11 VM?

How do I clear my PXE? ›

The Clear-CMPxeDeployment cmdlet clears the status of the most recent Pre-Boot EXecution Environment (PXE) deployment in Configuration Manager. You can redeploy a required PXE deployment for a collection of devices. Clear the status of the last PXE deployment assigned to that Configuration Manager collection.

What is the difference between UEFI and BIOS PXE? ›

In BIOS boot mode, individual network devices provide the PXE settings in System Setup > Device Settings. However, in UEFI boot mode, PXE settings are configured in the BIOS pages (System Setup > System BIOS > Network Settings > PXE Device Settings).

What is the difference between BIOS PXE and UEFI PXE? ›

What is the Difference. The difference is the process that the firmware uses to find the boot target, Legacy Boot is the boot process used by BIOS firmware and UEFI boot is used by UEFI firmware. UEFI is the newer standard and is more secure. In regards to imaging the major difference is the partition structure used.

How to boot from PXE in BIOS? ›

Press F2 during boot to enter BIOS setup. Go to the Boot Menu (this may also be under the Advanced Settings depending on BIOS version) Select Boot Priority (or Boot Configuration) and uncheck Boot Network Devices Last. Go to Network Boot and enable UEFI PXE & iSCSI.

Top Articles
Latest Posts
Article information

Author: Dan Stracke

Last Updated:

Views: 5519

Rating: 4.2 / 5 (63 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Dan Stracke

Birthday: 1992-08-25

Address: 2253 Brown Springs, East Alla, OH 38634-0309

Phone: +398735162064

Job: Investor Government Associate

Hobby: Shopping, LARPing, Scrapbooking, Surfing, Slacklining, Dance, Glassblowing

Introduction: My name is Dan Stracke, I am a homely, gleaming, glamorous, inquisitive, homely, gorgeous, light person who loves writing and wants to share my knowledge and understanding with you.