spacepaste

  1.  
  2. # dhcpd.conf
  3. option space PXE;
  4. option PXE.mtftp-ip code 1 = ip-address;
  5. option PXE.mtftp-cport code 2 = unsigned integer 16;
  6. option PXE.mtftp-sport code 3 = unsigned integer 16;
  7. option PXE.mtftp-tmout code 4 = unsigned integer 8;
  8. option PXE.mtftp-delay code 5 = unsigned integer 8;
  9. option PXE.discovery-control code 6 = unsigned integer 8;
  10. option PXE.discovery-mcast-addr code 7 = ip-address;
  11. option arch code 93 = unsigned integer 16;
  12. default-lease-time 21600;
  13. max-lease-time 86400;
  14. authoritative;
  15. stash-agent-options true;
  16. ddns-updates on;
  17. ddns-domainname "klima.uni-bremen.de";
  18. ddns-update-style standard;
  19. ignore client-updates;
  20. update-static-leases off;
  21. update-optimization on;
  22. include "/etc/bind/ddns.key";
  23. zone klima.uni-bremen.de. {
  24. primary 127.0.0.1;
  25. key "ddns-key";
  26. }
  27. subnet 10.110.15.0 netmask 255.255.255.0 {
  28. option subnet-mask 255.255.255.0;
  29. option broadcast-address 10.110.15.255;
  30. option routers 10.110.15.250;
  31. option domain-name-servers 10.110.16.10;
  32. option domain-name "klima.uni-bremen.de";
  33. option domain-search "klima.uni-bremen.de", "uni-bremen.de";
  34. range 10.110.15.50 10.110.15.200;
  35. }
  36. subnet 10.110.27.0 netmask 255.255.255.0 {
  37. option subnet-mask 255.255.255.0;
  38. option broadcast-address 10.110.27.255;
  39. option routers 10.110.27.250;
  40. option domain-name-servers 10.110.16.10;
  41. option domain-name "klima.uni-bremen.de";
  42. option domain-search "klima.uni-bremen.de", "uni-bremen.de";
  43. range 10.110.27.100 10.110.27.200;
  44. }
  45. subnet 10.110.20.0 netmask 255.255.255.0 {
  46. option subnet-mask 255.255.255.0;
  47. option broadcast-address 10.110.20.255;
  48. option routers 10.110.20.10;
  49. option domain-name-servers 10.110.20.10;
  50. option domain-name "klima.uni-bremen.de";
  51. option domain-search "klima.uni-bremen.de";
  52. option interface-mtu 9000;
  53. class "pxeclients" {
  54. match if substring(option vendor-class-identifier, 0, 9) = "PXEClient";
  55. vendor-option-space PXE;
  56. option PXE.mtftp-ip 0.0.0.0;
  57. option PXE.discovery-control 11;
  58. next-server 10.110.20.10;
  59. filename "/grub/x86_64-efi/core.efi";
  60. }
  61. }
  62. subnet 10.110.16.0 netmask 255.255.255.0 {
  63. }
  64. host node01 {
  65. hardware ethernet 00:25:90:fa:74:c6;
  66. fixed-address 10.110.20.20;
  67. option host-name "node01";
  68. }
  69. host node02 {
  70. hardware ethernet 00:25:90:fa:75:3a;
  71. fixed-address 10.110.20.21;
  72. option host-name "node02";
  73. }
  74.