| 1 |
# ------------------------- |
| 2 |
# dhcpd.conf |
| 3 |
# |
| 4 |
# Sample configuration file for ISC dhcpd |
| 5 |
# |
| 6 |
|
| 7 |
# option definitions common to all supported networks... |
| 8 |
option domain-name "example.org"; |
| 9 |
# option domain-name-servers ns1.example.org, ns2.example.org; |
| 10 |
|
| 11 |
default-lease-time 1800; |
| 12 |
max-lease-time 7200; |
| 13 |
|
| 14 |
# We're going to be authoritative for the network we've |
| 15 |
# just created. |
| 16 |
|
| 17 |
authoritative; |
| 18 |
|
| 19 |
# No service will be given on this subnet, but we're telling |
| 20 |
# the DHCP server about it so it understands it's there and |
| 21 |
# not to hand out leases for it. |
| 22 |
|
| 23 |
subnet 10.14.8.195 netmask 255.255.255.0 { |
| 24 |
} |
| 25 |
|
| 26 |
# But we do want to hand out leases for the 192.168.1.0/24 |
| 27 |
# network for purposes of this test.. |
| 28 |
|
| 29 |
subnet 192.168.1.0 netmask 255.255.255.0 { |
| 30 |
range 192.168.1.100 192.168.1.150; |
| 31 |
option routers 192.168.1.1; |
| 32 |
} |
| 33 |
# ------------------------- |