Fix error in default dhcpd configuration: 'host' section should not be nested into 'subnet'.

This commit is contained in:
Alexey Ivanov 2015-03-18 10:53:35 +00:00
parent 43927d6922
commit 3d18ac1323
2 changed files with 9 additions and 7 deletions

View file

@ -8,7 +8,7 @@
Name: dhcp
Epoch: 3
Version: %{major_version}%{patch_version}
Release: 2
Release: 3
Summary: The ISC DHCP (Dynamic Host Configuration Protocol) server/relay agent/client
License: Distributable
Group: System/Servers

View file

@ -14,10 +14,12 @@ subnet 192.168.0.0 netmask 255.255.255.0 {
default-lease-time 21600;
max-lease-time 43200;
# we want the nameserver to appear at a fixed address
host ns {
}
# we want the nameserver to appear at a fixed address
host ns {
next-server fixed.domain.org;
hardware ethernet 12:34:56:78:AB:CD;
fixed-address 192.168.0.10;
}
}