Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
dhcpd [2008/06/05 17:03] mcb30 created |
dhcpd [2009/02/17 17:21] (current) mcb30 |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== How to configure ISC dhcpd for gPXE ====== | ====== How to configure ISC dhcpd for gPXE ====== | ||
| - | ===== Defining the gPXE option space ===== | + | ===== Defining the gPXE-specific options ===== |
| Add the following block to the top of your ///etc/dhcpd.conf// file: | Add the following block to the top of your ///etc/dhcpd.conf// file: | ||
| Line 10: | Line 10: | ||
| option gpxe-encap-opts code 175 = encapsulate gpxe; | option gpxe-encap-opts code 175 = encapsulate gpxe; | ||
| option gpxe.priority code 1 = signed integer 8; | option gpxe.priority code 1 = signed integer 8; | ||
| - | option gpxe.no-proxydhcp code 176 = unsigned integer 8; | + | option gpxe.keep-san code 8 = unsigned integer 8; |
| + | option gpxe.no-pxedhcp code 176 = unsigned integer 8; | ||
| option gpxe.bus-id code 177 = string; | option gpxe.bus-id code 177 = string; | ||
| option gpxe.bios-drive code 189 = unsigned integer 8; | option gpxe.bios-drive code 189 = unsigned integer 8; | ||
| option gpxe.username code 190 = string; | option gpxe.username code 190 = string; | ||
| option gpxe.password code 191 = string; | option gpxe.password code 191 = string; | ||
| + | option gpxe.reverse-username code 192 = string; | ||
| + | option gpxe.reverse-password code 193 = string; | ||
| + | option gpxe.version code 235 = string; | ||
| | | ||
| # Other options that may be useful | # Other options that may be useful | ||
| # | # | ||
| option iscsi-initiator-iqn code 203 = string; | option iscsi-initiator-iqn code 203 = string; | ||
| + | |||
| + | ===== Using the gPXE-specific options ===== | ||
| + | |||
| + | {{ nic.jpeg?237×222|A network card}} | ||
| + | |||
| + | The gPXE-specific options can be used in the same way as any other DHCP options. For example: | ||
| + | |||
| + | host koala { | ||
| + | fixed-address 10.0.0.12; | ||
| + | hardware ethernet 00:01:80:34:5e:e4; | ||
| + | # Do not wait for a ProxyDHCP reply | ||
| + | option gpxe.no-pxedhcp 1; | ||
| + | } | ||