dhcpd.conf 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. #
  2. # ISC dhcpd config file for NP
  3. #
  4. #
  5. # The ddns-updates-style parameter controls whether or not the server will
  6. # attempt to do a DNS update when a lease is confirmed. We default to the
  7. # behavior of the version 2 packages ('none', since DHCP v2 didn't
  8. # have support for DDNS.)
  9. ddns-update-style none;
  10. # option definitions common to all supported networks...
  11. option domain-name "np.sahajayoga.at";
  12. option domain-name-servers 8.8.8.8, 8.8.4.4;
  13. default-lease-time 600;
  14. max-lease-time 7200;
  15. # If this DHCP server is the official DHCP server for the local
  16. # network, the authoritative directive should be uncommented.
  17. authoritative;
  18. # Use this to send dhcp log messages to a different log file (you also
  19. # have to hack syslog.conf to complete the redirection).
  20. log-facility local7;
  21. lease-file-name "/var/lib/dhcp/dhcpd.leases";
  22. # np-technik Subnetz
  23. subnet 10.21.0.0 netmask 255.255.255.0 {
  24. range 10.21.0.10 10.21.0.250;
  25. option broadcast-address 10.21.0.255;
  26. option routers 10.21.0.254;
  27. default-lease-time 3600;
  28. max-lease-time 10800;
  29. option domain-name "technik.np.sahajayoga.at";
  30. #option domain-name-servers 10.21.1.254;
  31. #interface "eth0.211";
  32. }
  33. # np-technik Subnetz
  34. subnet 10.21.1.0 netmask 255.255.255.0 {
  35. range 10.21.1.10 10.21.1.250;
  36. option broadcast-address 10.21.1.255;
  37. option routers 10.21.1.254;
  38. default-lease-time 3600;
  39. max-lease-time 10800;
  40. option domain-name "technik.np.sahajayoga.at";
  41. #option domain-name-servers 10.21.1.254;
  42. #interface "eth0.211";
  43. }
  44. # np-media Subnetz
  45. subnet 10.21.2.0 netmask 255.255.255.0 {
  46. range 10.21.2.20 10.21.2.250;
  47. option broadcast-address 10.21.2.255;
  48. option routers 10.21.2.254;
  49. default-lease-time 3600;
  50. max-lease-time 10800;
  51. option domain-name "media.np.sahajayoga.at";
  52. #option domain-name-servers 10.21.2.254;
  53. #interface "eth0.212";
  54. host streamingPC {
  55. hardware ethernet 00:26:c7:77:4a:62;
  56. fixed-address 10.21.2.160;
  57. }
  58. }
  59. # nirmalprasth Subnetz
  60. subnet 10.21.4.0 netmask 255.255.254.0 {
  61. range 10.21.4.10 10.21.5.200;
  62. option broadcast-address 10.21.5.255;
  63. option routers 10.21.5.254;
  64. default-lease-time 3600;
  65. max-lease-time 10800;
  66. option domain-name "lan.np.sahajayoga.at";
  67. #option domain-name-servers 10.21.5.254;
  68. #interface "eth0.214";
  69. #next-server 10.21.4.2;
  70. }
  71. # Ashram Subnet
  72. subnet 10.0.0.0 netmask 255.255.255.0 {
  73. range 10.0.0.140 10.0.0.250;
  74. option broadcast-address 192.168.0.255;
  75. option routers 10.0.0.138;
  76. default-lease-time 3600;
  77. max-lease-time 10800;
  78. option domain-name "ashram.np.sahajayoga.at";
  79. #option domain-name-servers 10.0.0.254;
  80. #interface eth0.210;
  81. # only allow known clients
  82. # deny unknown-clients;
  83. # install ubuntu
  84. #filename "/pxelinux";
  85. ###############################################################################
  86. # Mac addresses of all collective items
  87. ###############################################################################
  88. host router_anand {
  89. hardware ethernet 58:6d:8f:a5:24:c1;
  90. fixed-address 10.0.0.240;
  91. }
  92. host a1modem {
  93. hardware ethernet 38:22:9d:7b:b1:c5;
  94. fixed-address 10.0.0.138;
  95. }
  96. host npcoreswitch {
  97. hardware ethernet 44:d9:e7:f5:50:7b;
  98. fixed-address 10.0.0.251;
  99. }
  100. }
  101. ###############################################################################
  102. # Mac addresses of all devices from the ashramites
  103. ###############################################################################