2024/etc/dhcpd.conf

124 lines
2.9 KiB
ISCdhcpd
Raw Permalink Normal View History

2024-11-11 17:35:27 +02:00
# dhcpd.conf
default-lease-time 600;
max-lease-time 7200;
# 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;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
subnet 10.20.0.0 netmask 255.255.255.0 {
option routers 10.20.0.1;
option domain-name-servers 10.20.0.1;
option domain-name "openfest.org";
range 10.20.0.100 10.20.0.250;
default-lease-time 7200;
}
subnet 10.21.0.0 netmask 255.255.252.0 {
option routers 10.21.0.1;
option domain-name-servers 10.21.0.1;
option domain-name "net.openfest.org";
range 10.21.0.100 10.21.3.250;
default-lease-time 600;
}
subnet 10.22.0.0 netmask 255.255.252.0 {
option routers 10.22.0.1;
option domain-name-servers 10.22.0.1;
option domain-name "net.openfest.org";
range 10.22.0.2 10.22.3.240;
default-lease-time 600;
}
subnet 10.23.0.0 netmask 255.255.255.0 {
option routers 10.23.0.1;
option domain-name-servers 10.23.0.1;
option domain-name "video.openfest.org";
range 10.23.0.100 10.23.0.250;
default-lease-time 7200;
}
subnet 10.24.0.0 netmask 255.255.255.0 {
option routers 10.24.0.1;
option domain-name-servers 10.24.0.1;
option domain-name "overflow.openfest.org";
range 10.24.0.100 10.24.0.250;
default-lease-time 7200;
}
subnet 10.25.0.0 netmask 255.255.255.0 {
option routers 10.25.0.1;
option domain-name-servers 10.25.0.1;
option domain-name "reception.openfest.org";
range 10.25.0.100 10.25.0.250;
default-lease-time 7200;
}
subnet 10.26.0.0 netmask 255.255.255.0 {
option routers 10.26.0.1;
option domain-name-servers 10.26.0.1;
option domain-name "voice.openfest.org";
range 10.26.0.100 10.26.0.250;
default-lease-time 7200;
}
subnet 10.27.0.0 netmask 255.255.255.0 {
option routers 10.27.0.1;
option domain-name-servers 10.27.0.1;
option domain-name "ws.openfest.org";
range 10.27.0.100 10.27.0.250;
default-lease-time 7200;
}
subnet 10.22.4.0 netmask 255.255.252.0 {
option routers 10.22.4.1;
option domain-name-servers 10.22.4.1;
option domain-name "net.openfest.org";
range 10.22.4.2 10.22.7.240;
default-lease-time 600;
}
host phone-noc {
hardware ethernet 2c:86:d2:10:ce:2d;
fixed-address 10.26.0.10;
}
host phone-voc-a {
hardware ethernet 00:9a:d2:c7:38:ba;
fixed-address 10.26.0.11;
}
host phone-voc-b {
hardware ethernet e0:2f:6d:60:81:75;
fixed-address 10.26.0.12;
}
host phone-voc-z {
hardware ethernet 00:9a:d2:c7:38:e8;
fixed-address 10.26.0.13;
}
host phone-voc-rec-ja {
hardware ethernet 00:9a:d2:c7:38:c8;
fixed-address 10.26.0.14;
}
host phone-voc-rec-z {
hardware ethernet 00:9a:d2:c7:3a:57;
fixed-address 10.26.0.15;
}
host phone-voc-team {
hardware ethernet 00:0e:08:d2:ac:1b;
fixed-address 10.26.0.16;
}