# # 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"; # 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; option broadcast-address 10.21.0.255; option routers 10.21.0.254; default-lease-time 3600; max-lease-time 10800; option domain-name "ashram.np.sahajayoga.at"; #option domain-name-servers 10.21.1.254; #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; 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 guest 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; } # 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 ############################################################################### 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; } } ############################################################################### # Mac addresses of all devices from the ashramites ###############################################################################