dhcpd.conf 1.16 KB
Newer Older
Kirk Webb's avatar
Kirk Webb committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
# 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 "apt.emulab.net";
#option domain-name-servers ns1.example.org, ns2.example.org;

default-lease-time 86400;
max-lease-time 172800;

# 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;

# Allow booting
allow booting;
allow bootp;

log-facility local7;
#option subnet-mask 255.255.255.0 ;
#option broadcast-address 192.168.0.255;
#option routers 192.168.4.80;
#option domain-name-servers 192.168.4.80;
#option time-servers 192.168.4.80;

subnet 192.168.1.0 netmask 255.255.255.0 {
    range 192.168.1.101 192.168.1.110;
}

subnet 192.168.2.0 netmask 255.255.255.0 {
    range 192.168.2.101 192.168.2.110;
}