Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.30 KB | None | 0 0
  1. # DHCP Server Configuration file\n#see /usr/share/doc/dhcp*/dhcpd.conf.sample
  2. # This file was created by FOG
  3. #Definition of PXE-specific options
  4. # Code 1: Multicast IP Address of bootfile
  5. # Code 2: UDP Port that client should monitor for MTFTP Responses
  6. # Code 3: UDP Port that MTFTP servers are using to listen for MTFTP requests
  7. # Code 4: Number of seconds a client must listen for activity before trying
  8. # to start a new MTFTP transfer
  9. # Code 5: Number of seconds a client must listen before trying to restart
  10. # a MTFTP transfer
  11. option space PXE;
  12. option PXE.mtftp-ip code 1 = ip-address;
  13. option PXE.mtftp-cport code 2 = unsigned integer 16;
  14. option PXE.mtftp-sport code 3 = unsigned integer 16;
  15. option PXE.mtftp-tmout code 4 = unsigned integer 8;
  16. option PXE.mtftp-delay code 5 = unsigned integer 8;
  17. option arch code 93 = unsigned integer 16;
  18. use-host-decl-names on;
  19. ddns-update-style interim;
  20. ignore client-updates;
  21. # Specify subnet of ether device you do NOT want service.
  22. # For systems with two or more ethernet devices.
  23. # subnet 136.165.0.0 netmask 255.255.0.0 {}
  24. subnet 192.168.43.0 netmask 255.255.255.0{
  25. option subnet-mask 255.255.255.0;
  26. range dynamic-bootp 192.168.43.10 192.168.43.254;
  27. default-lease-time 21600;
  28. max-lease-time 43200;
  29. option routers 192.168.43.1;
  30. option domain-name-servers 192.168.43.1;
  31. next-server 192.168.43.60;
  32. class "Legacy" {
  33. match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000";
  34. filename "undionly.kkpxe";
  35. }
  36. class "UEFI-32-2" {
  37. match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00002";
  38. filename "i386-efi/ipxe.efi";
  39. }
  40. class "UEFI-32-1" {
  41. match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00006";
  42. filename "i386-efi/ipxe.efi";
  43. }
  44. class "UEFI-64-1" {
  45. match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00007";
  46. filename "ipxe.efi";
  47. }
  48. class "UEFI-64-2" {
  49. match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00008";
  50. filename "ipxe.efi";
  51. }
  52. class "UEFI-64-3" {
  53. match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00009";
  54. filename "ipxe.efi";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement