|
|
@@ -1,5 +1,5 @@
|
|
|
#
|
|
|
-# ISC dhcpd config file for NP
|
|
|
+# ISC dhcpd config file for NP
|
|
|
#
|
|
|
#
|
|
|
|
|
|
@@ -26,20 +26,25 @@ log-facility local7;
|
|
|
|
|
|
lease-file-name "/var/lib/dhcp/dhcpd.leases";
|
|
|
|
|
|
-# np-technik Subnetz
|
|
|
+# Unifi stuff
|
|
|
+option space ubnt;
|
|
|
+option ubnt.unifi-address code 1 = ip-address;
|
|
|
+
|
|
|
+
|
|
|
+# Ashram Subnetz
|
|
|
subnet 10.21.0.0 netmask 255.255.255.0 {
|
|
|
- range 10.21.0.10 10.21.0.250;
|
|
|
+ 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 "ashram.np.sahajayoga.at";
|
|
|
#option domain-name-servers 10.21.1.254;
|
|
|
- #interface "eth0.211";
|
|
|
+ #interface "eth0.210";
|
|
|
}
|
|
|
# np-technik Subnetz
|
|
|
subnet 10.21.1.0 netmask 255.255.255.0 {
|
|
|
- range 10.21.1.10 10.21.1.250;
|
|
|
+ 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;
|
|
|
@@ -50,7 +55,7 @@ subnet 10.21.1.0 netmask 255.255.255.0 {
|
|
|
}
|
|
|
# np-media Subnetz
|
|
|
subnet 10.21.2.0 netmask 255.255.255.0 {
|
|
|
- range 10.21.2.20 10.21.2.250;
|
|
|
+ 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;
|
|
|
@@ -60,13 +65,13 @@ subnet 10.21.2.0 netmask 255.255.255.0 {
|
|
|
#interface "eth0.212";
|
|
|
|
|
|
host streamingPC {
|
|
|
- hardware ethernet 00:26:c7:77:4a:62;
|
|
|
+ hardware ethernet 00:26:c7:77:4a:62;
|
|
|
fixed-address 10.21.2.160;
|
|
|
}
|
|
|
}
|
|
|
-# nirmalprasth Subnetz
|
|
|
+# nirmalprasth guest Subnetz
|
|
|
subnet 10.21.4.0 netmask 255.255.254.0 {
|
|
|
- range 10.21.4.10 10.21.5.200;
|
|
|
+ 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;
|
|
|
@@ -76,36 +81,41 @@ subnet 10.21.4.0 netmask 255.255.254.0 {
|
|
|
#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";
|
|
|
+# Uplink 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 ubnt.unifi-address 144.76.238.58;
|
|
|
+ #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
|
|
|
+# 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;
|
|
|
- }
|
|
|
+ host router_anand {
|
|
|
+ hardware ethernet 58:6d:8f:a5:24:c1;
|
|
|
+ fixed-address 10.0.0.240;
|
|
|
+ }
|
|
|
+ host a1modem {
|
|
|
+ hardware ethernet 7c:39:53:95:bb:dc;
|
|
|
+ fixed-address 10.0.0.138;
|
|
|
+ }
|
|
|
+ host npcoreswitch {
|
|
|
+ hardware ethernet 44:d9:e7:f5:50:7b;
|
|
|
+ fixed-address 10.0.0.251;
|
|
|
+ }
|
|
|
+ host orangepi {
|
|
|
+ hardware ethernet 76:cd:89:ae:e2:ec;
|
|
|
+ fixed-address 10.0.0.254;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
###############################################################################
|