summaryrefslogtreecommitdiff
path: root/dhcp3
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-04-12 20:59:38 +0000
committerJonas Smedegaard <dr@jones.dk>2008-04-12 20:59:38 +0000
commit7d6b1357427f80ef193d3bb3394b3db50ae02cca (patch)
treee3ca94903d778aa8e3e925f4bd62dcaf54ac9de2 /dhcp3
parent4b5cdbfa8f57d799a063d0c90eaad78403a90cc2 (diff)
New sample file.
Diffstat (limited to 'dhcp3')
-rw-r--r--dhcp3/dhcpd.bsdp54
1 files changed, 54 insertions, 0 deletions
diff --git a/dhcp3/dhcpd.bsdp b/dhcp3/dhcpd.bsdp
new file mode 100644
index 0000000..c016924
--- /dev/null
+++ b/dhcp3/dhcpd.bsdp
@@ -0,0 +1,54 @@
+# Sample BSDP config to support Macintosh netboot
+# Origin: https://www.math.ohio-state.edu/wiki/administration/macosx/netboot/bsdp_with_isc_dhcp
+class "AppleNBI-i386" {
+ match if substring (option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386";
+ option dhcp-parameter-request-list 1,3,17,43,60;
+ if (option dhcp-message-type = 1) { option vendor-class-identifier "AAPLBSDPC/i386"; }
+ if (option dhcp-message-type = 1) { option vendor-encapsulated-options 08:04:81:00:00:67; }
+ # The Apple Boot Loader binary image. This file will in turn TFTP the kernel image and extension cache.
+ filename "macnbi-i386/booter";
+
+ ## JJM Root FS DMG on HTTP Server:
+ # option root-path "http://192.168.7.1/Netboot/NetBootSP0/MacOSX10.4.5.i386.JJM.nbi/NetInstall-Restore.dmg";
+
+ ## JJm Root FS DMG on NFS Server.
+ # (Note the placement of the second ":" This indicates where /var/netboot is mounted on each client.
+ # The Resources folder should be in the folder indicated by the :, /nbi in this instance.
+
+ ## NOTE: THIS ROOT PATH IS TOO LONG AND WILL NOT WORK.
+ # option root-path "nfs:192.168.7.1:/disk/0/Netboot/NetBootSP0:MacOSX10.4.5.i386.JJM.nbi/NetInstall-Restore.dmg";
+
+ ## NOTE: Try to keep the root path as short as possible. I copy the DMG files to /nbi and export that folder.
+ option root-path "nfs:192.168.7.1:/nbi:NBI-i386.dmg";
+}
+
+
+class "AppleNBI-ppc" {
+ match if substring (option vendor-class-identifier, 0, 13) = "AAPLBSDPC/ppc";
+ option dhcp-parameter-request-list 1,3,6,12,15,17,43,53,54,60;
+ # The Apple Boot Loader binary image. This file will in turn TFTP the kernel image and extension cache.
+ filename "macnbi-ppc/booter";
+ option vendor-class-identifier "AAPLBSDPC";
+
+ if (option dhcp-message-type = 1) {
+ option vendor-encapsulated-options 08:04:81:00:00:09;
+ }
+ elsif (option dhcp-message-type = 8) {
+ option vendor-encapsulated-options 01:01:02:08:04:81:00:00:09;
+ }
+ else {
+ option vendor-encapsulated-options 00:01:02:03:04:05:06:07;
+ }
+
+ ## JJM Root FS DMG on HTTP Server:
+ # option root-path "http://192.168.7.1/Netboot/NetBootSP0/MacOSX10.4.5.powerpc.JJM.nbi/NetInstall-Restore.dmg";
+ ## JJm Root FS DMG on NFS Server.
+ # (Note the placement of the second ":" This indicates where /var/netboot is mounted on each client.
+ # The Resources folder should be in the folder indicated by the :, /nbi in this instance.
+
+ ## NOTE: THIS ROOT PATH IS TOO LONG AND WILL NOT WORK.
+ # option root-path "nfs:192.168.7.1:/disk/0/Netboot/NetBootSP0:MacOSX10.4.5.powerpc.JJM.nbi/NetInstall-Restore.dmg";
+
+ ## NOTE: Try to keep the root path as short as possible. I copy the DMG files to /nbi and export that folder.
+ option root-path "nfs:192.168.7.1:/nbi:NBI-ppc.dmg";
+}