From dd572eae7639d05066e3d3f8fcde8988f5dbc7b1 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 6 Oct 2004 21:02:12 +0000 Subject: Add somewhat generic dhcpd addon snippets. --- dhcp3/dhcpd.pxe | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 dhcp3/dhcpd.pxe (limited to 'dhcp3/dhcpd.pxe') 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"; +#} -- cgit v1.2.3