Support PXE proxy-DHCP and DHCP-relay at the same time.

When using PXE proxy-DHCP, dnsmasq supplies PXE information to
the client, which also talks to another "normal" DHCP server
for address allocation and similar. The normal DHCP server may
be on the local network, but it may also be remote, and accessed via
a DHCP relay. This change allows dnsmasq to act as both a
PXE proxy-DHCP server AND a DHCP relay for the same network.
This commit is contained in:
Simon Kelley
2024-12-05 17:25:38 +00:00
parent 7199531ff1
commit 5483fead6a
3 changed files with 20 additions and 14 deletions

View File

@@ -1680,6 +1680,11 @@ to allow netbooting. This mode is enabled using the
.B proxy
keyword in
.B --dhcp-range.
If the "other" DHCP server is on a remote network, it is
possible, and useful, to configure dnsmasq as both a PXE proxy-DHCP server
and a DHCP relay to the remote DHCP server. See
.B --dhcp-relay
for details. PXE is only supported over IPv4 at this time.
.TP
.B --dhcp-pxe-vendor=<vendor>[,...]
According to UEFI and PXE specifications, DHCP packets between PXE clients and