2019/misc/dhcp/dhcpd.conf

89 lines
2.2 KiB
ISCdhcpd
Raw Normal View History

2019-10-06 11:15:06 +03:00
#
# Sample configuration file for ISC dhcpd for Debian
#
#
# 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 "example.org";
#option domain-name-servers ns1.example.org, ns2.example.org;
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;
# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.
#subnet 10.152.187.0 netmask 255.255.255.0 {
#}
# This is a very basic subnet declaration.
#subnet 10.254.239.0 netmask 255.255.255.224 {
# range 10.254.239.10 10.254.239.20;
# option routers rtr-239-0-1.example.org, rtr-239-0-2.example.org;
#}
# philharmonic
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.254;
option routers 192.168.1.1;
option domain-name-servers 192.168.1.1;
}
# MGMT
subnet 10.20.0.0 netmask 255.255.255.0 {
range 10.20.0.20 10.20.0.250;
option routers 10.20.0.1;
option domain-name-servers 10.20.0.1;
}
# VIDEO
subnet 10.23.0.0 netmask 255.255.255.0 {
range 10.23.0.100 10.23.0.250;
option routers 10.23.0.1;
option domain-name-servers 10.23.0.1;
}
# overflow
subnet 10.24.0.0 netmask 255.255.255.0 {
range 10.24.0.10 10.24.0.250;
option routers 10.24.0.1;
option domain-name-servers 10.24.0.1;
}
# wired
subnet 10.21.0.0 netmask 255.255.252.0 {
range 10.21.1.10 10.21.3.250;
option routers 10.21.0.1;
option domain-name-servers 10.21.0.1;
}
# wireless
subnet 10.22.0.0 netmask 255.255.252.0 {
range 10.22.0.10 10.22.3.250;
option routers 10.22.0.1;
option domain-name-servers 10.22.0.1;
}
# phones
subnet 10.25.0.0 netmask 255.255.255.0 {
range 10.25.0.10 10.25.0.200;
option routers 10.25.0.1;
option domain-name-servers 10.25.0.1;
next-server 10.25.0.1;
}