Pxe-Boot

用於 PXE 引導的 TFTP 和 DHCP 單獨伺服器

  • May 9, 2016

這看起來應該很簡單,但我找不到任何實際資訊:是否可以有兩台單獨的伺服器,一台執行 dnsmasq 執行 DHCP,而 TFTP(或 HTTP)伺服器在另一台機器上執行?

從 dnsmasq 範例配置

# An example of dhcp-boot with an external TFTP server: the name and IP
# address of the server are given after the filename.
# Can fail with old PXE ROMS. Overridden by --pxe-service.
#dhcp-boot=/var/ftpd/pxelinux.0,boothost,192.168.0.3

# If there are multiple external tftp servers having a same name
# (using /etc/hosts) then that name can be specified as the
# tftp_servername (the third option to dhcp-boot) and in that
# case dnsmasq resolves this name and returns the resultant IP
# addresses in round robin fasion. This facility can be used to
# load balance the tftp load among a set of servers.
#dhcp-boot=/var/ftpd/pxelinux.0,boothost,tftp_server_name

引用自:https://serverfault.com/questions/775552