|
|
@@ -0,0 +1,113 @@
|
|
|
+#
|
|
|
+# ISC dhcpd config file for NP
|
|
|
+#
|
|
|
+#
|
|
|
+
|
|
|
+# The ddns-updates-style parameter controls whether or not the server will
|
|
|
+# attempt to do a DNS update when a lease is confirmed. We default to the
|
|
|
+# behavior of the version 2 packages ('none', since DHCP v2 didn't
|
|
|
+# have support for DDNS.)
|
|
|
+ddns-update-style none;
|
|
|
+
|
|
|
+# option definitions common to all supported networks...
|
|
|
+option domain-name "np.sahajayoga.at";
|
|
|
+option domain-name-servers 8.8.8.8, 8.8.4.4;
|
|
|
+
|
|
|
+default-lease-time 600;
|
|
|
+max-lease-time 7200;
|
|
|
+
|
|
|
+# If this DHCP server is the official DHCP server for the local
|
|
|
+# network, the authoritative directive should be uncommented.
|
|
|
+authoritative;
|
|
|
+
|
|
|
+# Use this to send dhcp log messages to a different log file (you also
|
|
|
+# have to hack syslog.conf to complete the redirection).
|
|
|
+log-facility local7;
|
|
|
+
|
|
|
+lease-file-name "/var/lib/dhcp/dhcpd.leases";
|
|
|
+
|
|
|
+# np-technik Subnetz
|
|
|
+subnet 10.21.0.0 netmask 255.255.255.0 {
|
|
|
+ range 10.21.0.10 10.21.0.250;
|
|
|
+ option broadcast-address 10.21.0.255;
|
|
|
+ option routers 10.21.0.254;
|
|
|
+ default-lease-time 3600;
|
|
|
+ max-lease-time 10800;
|
|
|
+ option domain-name "technik.np.sahajayoga.at";
|
|
|
+ #option domain-name-servers 10.21.1.254;
|
|
|
+ #interface "eth0.211";
|
|
|
+}
|
|
|
+# np-technik Subnetz
|
|
|
+subnet 10.21.1.0 netmask 255.255.255.0 {
|
|
|
+ range 10.21.1.10 10.21.1.250;
|
|
|
+ option broadcast-address 10.21.1.255;
|
|
|
+ option routers 10.21.1.254;
|
|
|
+ default-lease-time 3600;
|
|
|
+ max-lease-time 10800;
|
|
|
+ option domain-name "technik.np.sahajayoga.at";
|
|
|
+ #option domain-name-servers 10.21.1.254;
|
|
|
+ #interface "eth0.211";
|
|
|
+}
|
|
|
+# np-media Subnetz
|
|
|
+subnet 10.21.2.0 netmask 255.255.255.0 {
|
|
|
+ range 10.21.2.20 10.21.2.250;
|
|
|
+ option broadcast-address 10.21.2.255;
|
|
|
+ option routers 10.21.2.254;
|
|
|
+ default-lease-time 3600;
|
|
|
+ max-lease-time 10800;
|
|
|
+ option domain-name "media.np.sahajayoga.at";
|
|
|
+ #option domain-name-servers 10.21.2.254;
|
|
|
+ #interface "eth0.212";
|
|
|
+
|
|
|
+ host streamingPC {
|
|
|
+ hardware ethernet 00:26:c7:77:4a:62;
|
|
|
+ fixed-address 10.21.2.160;
|
|
|
+ }
|
|
|
+}
|
|
|
+# nirmalprasth Subnetz
|
|
|
+subnet 10.21.4.0 netmask 255.255.254.0 {
|
|
|
+ range 10.21.4.10 10.21.5.200;
|
|
|
+ option broadcast-address 10.21.5.255;
|
|
|
+ option routers 10.21.5.254;
|
|
|
+ default-lease-time 3600;
|
|
|
+ max-lease-time 10800;
|
|
|
+ option domain-name "lan.np.sahajayoga.at";
|
|
|
+ #option domain-name-servers 10.21.5.254;
|
|
|
+ #interface "eth0.214";
|
|
|
+ #next-server 10.21.4.2;
|
|
|
+}
|
|
|
+# Ashram Subnet
|
|
|
+ subnet 10.0.0.0 netmask 255.255.255.0 {
|
|
|
+ range 10.0.0.140 10.0.0.250;
|
|
|
+ option broadcast-address 192.168.0.255;
|
|
|
+ option routers 10.0.0.138;
|
|
|
+ default-lease-time 3600;
|
|
|
+ max-lease-time 10800;
|
|
|
+ option domain-name "ashram.np.sahajayoga.at";
|
|
|
+ #option domain-name-servers 10.0.0.254;
|
|
|
+ #interface eth0.210;
|
|
|
+ # only allow known clients
|
|
|
+ # deny unknown-clients;
|
|
|
+ # install ubuntu
|
|
|
+ #filename "/pxelinux";
|
|
|
+
|
|
|
+###############################################################################
|
|
|
+# Mac addresses of all collective items
|
|
|
+###############################################################################
|
|
|
+ host router_anand {
|
|
|
+ hardware ethernet 58:6d:8f:a5:24:c1;
|
|
|
+ fixed-address 10.0.0.240;
|
|
|
+ }
|
|
|
+ host a1modem {
|
|
|
+ hardware ethernet 38:22:9d:7b:b1:c5;
|
|
|
+ fixed-address 10.0.0.138;
|
|
|
+ }
|
|
|
+ host npcoreswitch {
|
|
|
+ hardware ethernet 44:d9:e7:f5:50:7b;
|
|
|
+ fixed-address 10.0.0.251;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+###############################################################################
|
|
|
+# Mac addresses of all devices from the ashramites
|
|
|
+###############################################################################
|