summaryrefslogtreecommitdiff
path: root/dhcp3/dhcpd.pxe
diff options
context:
space:
mode:
Diffstat (limited to 'dhcp3/dhcpd.pxe')
-rw-r--r--dhcp3/dhcpd.pxe31
1 files changed, 31 insertions, 0 deletions
diff --git a/dhcp3/dhcpd.pxe b/dhcp3/dhcpd.pxe
new file mode 100644
index 0000000..75f3489
--- /dev/null
+++ b/dhcp3/dhcpd.pxe
@@ -0,0 +1,31 @@
+# This ISC dhcpd 3.x config snippet is inspired by the following:
+# http://www.bpbatch.org/docs/linux.html
+
+# TODO: Otpmize to different releases of PXE.
+# According to http://cui.unige.ch/info/pc/remote-boot/howto-3.html
+# "PXE 2.0 bootroms can only receive option 128-135".
+
+# Definition of PXE-specific options
+# Code 1: Multicast IP address of bootfile
+# Code 2: UDP port that client should monitor for MTFTP responses
+# Code 3: UDP port that MTFTP servers are using to listen
+# for MTFTP requests
+# Code 4: Number of secondes a client must listen for activity before
+# trying to start a new MTFTP transfer
+# Code 5: Number of secondes a client must listen before trying to
+# restart a MTFTP transfer
+option space PXE;
+option PXE.mtftp-ip code 1 = ip-address;
+option PXE.mtftp-cport code 2 = unsigned integer 16;
+option PXE.mtftp-sport code 3 = unsigned integer 16;
+option PXE.mtftp-tmout code 4 = unsigned integer 8;
+option PXE.mtftp-delay code 5 = unsigned integer 8;
+
+# Sample host config
+#host pxetest1 {
+# hardware ethernet 00:01:02:03:04:05;
+# fixed-address 192.168.1.101;
+# next-server 192.168.1.2;
+# filename "pxelinux.0";
+# include "/etc/local-COMMON/dhcp3/dhcpd.pxe.host";
+#}