> For the complete documentation index, see [llms.txt](https://documentation.2pintsoftware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.2pintsoftware.com/2pxe-server/configuration/dhcp-configuration.md).

# DHCP Configuration

PXE booting leverages DHCP (Dynamic Host Configuration Protocol) on a network to enable computers to perform a network boot. When a client PXE boots, it sends a DHCP broadcast to the network. This broadcast is a request for IP address configuration information but also uniquely indicates that the client is PXE-capable and is seeking to boot from the network.

If the local subnet does not contain a PXE server which can respond to the broadcast, the client needs additional information to direct its request to the PXE server.&#x20;

This can be done in two ways:

## [DHCP Scope Options](/2pxe-server/configuration/dhcp-configuration/using-dhcp-scope-options.md)

This option requires modifications to the configuration of your DHCP scopes.

## [Using IP Helpers](/2pxe-server/configuration/dhcp-configuration/using-ip-helpers.md)

This option requires modifications to networking hardware to route specific traffic to the PXE server.

### DHCP Scope Options vs IP Helpers?

Reasons to use DHCP scope options to control network boot:

1. Smaller footprint to deploy
2. Maybe no need to talk to the network team

Reasons not to use DHCP scope options to control the network boot:

1. No ability to use DHCP to set the right boot loader
2. DHCP changes can be hard to tweak and test depending on vendor of DHCP
3. Difficult to directly control which machines receive PXE boot offers.
4. More administration needed to allow different boot options to different clients
5. No need to talk to the DHCP team.

When using DHCP options there is no way for the iPXE NBP to automatically detect the options values from the 2PXE server. Instead the URL for the client to contact is configured through DHCP option 175.

{% hint style="info" %}
**NOTE:** DHCP Scope Option 175 contains the 2PXE URL and must be in lower case and end with a trailing backslash:\
**https\://\<serverFQDN>:\<port>/**
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://documentation.2pintsoftware.com/2pxe-server/configuration/dhcp-configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
