This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
howto:dhcpd [2017/04/12 15:18] mcb30 |
howto:dhcpd [2021/02/13 17:50] mcb30 |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Using ISC dhcpd ====== | ====== Using ISC dhcpd ====== | ||
- | [[http://www.isc.org/software/dhcp|ISC dhcpd]] is the default DHCP server on most Linux distributions. It can easily be configured to support iPXE. | + | [[https://www.isc.org/software/dhcp|ISC dhcpd]] is the default DHCP server on most Linux distributions. It can easily be configured to support iPXE. |
ISC dhcpd is configured using the file ''/etc/dhcpd.conf''. You can instruct iPXE to boot using the ''filename'' directive: | ISC dhcpd is configured using the file ''/etc/dhcpd.conf''. You can instruct iPXE to boot using the ''filename'' directive: | ||
Line 23: | Line 23: | ||
===== PXE chainloading ===== | ===== PXE chainloading ===== | ||
- | {{ :clipart:chain.jpeg?200x96|A chain}} | + | {{ :clipart:chain.jpeg?200x120|A chain}} |
- | To use [[:howto:chainloading|PXE chainloading]], you need to set up ISC dhcpd to hand out [[http://boot.ipxe.org/undionly.kpxe|undionly.kpxe]] to legacy PXE clients, and then hand out the "real" boot configuration only to iPXE clients. You can do this by telling ISC dhcpd to use different configurations based on the DHCP user class: | + | To use [[:howto:chainloading|PXE chainloading]], you need to set up ISC dhcpd to hand out [[https://boot.ipxe.org/undionly.kpxe|undionly.kpxe]] to legacy PXE clients, and then hand out the "real" boot configuration only to iPXE clients. You can do this by telling ISC dhcpd to use different configurations based on the DHCP user class: |
if exists user-class and option user-class = "iPXE" { | if exists user-class and option user-class = "iPXE" { |