# Use this to enble / disable dynamic dns updates globally.
ddns-update-style interim;
ignore client-updates;
next-server 192.168.1.14;
filename"/pxelinux.0";
# 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 {
# --- default gateway
option routers 192.168.1.254;
option subnet-mask 255.255.255.0;
option nis-domain "examole.com";
option domain-name "example.com";
option domain-name-servers 192.168.1.254;
option time-offset -18000;#Eastern Standard Time
#option ntp-servers 192.168.1.1;
#option netbios-name-servers 192.168.1.1;
#---selects point-to-point node (default is hybrid).Don't change this unless
#--you understand Netbios very well
# option netbios-node-type 2;
range dynamic-bootp 192.168.1.128 192.168.1.254;
default-lease-time 21600;
max-lease-time 43200;
# we want the nameservers to appear at a fixed address
# host ns {
# next-server marvin.redhat.com;
# hardware ethernet 12:34:56:78:ab:cd;
这个是的现在给DHCP的配置,结果我很悲剧了 DHCP 起不来了,我把DHCP例子上其他没用的例子都#了是不是我还要留下什么配置不要禁用啊,这是我唯一想到的一个漏洞!!求大手啊!江湖救急啊!
ddns-update-style interim;
ignore client-updates;
next-server 192.168.1.14;
filename"/pxelinux.0";
# 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 {
# --- default gateway
option routers 192.168.1.254;
option subnet-mask 255.255.255.0;
option nis-domain "examole.com";
option domain-name "example.com";
option domain-name-servers 192.168.1.254;
option time-offset -18000;#Eastern Standard Time
#option ntp-servers 192.168.1.1;
#option netbios-name-servers 192.168.1.1;
#---selects point-to-point node (default is hybrid).Don't change this unless
#--you understand Netbios very well
# option netbios-node-type 2;
range dynamic-bootp 192.168.1.128 192.168.1.254;
default-lease-time 21600;
max-lease-time 43200;
# we want the nameservers to appear at a fixed address
# host ns {
# next-server marvin.redhat.com;
# hardware ethernet 12:34:56:78:ab:cd;
这个是的现在给DHCP的配置,结果我很悲剧了 DHCP 起不来了,我把DHCP例子上其他没用的例子都#了是不是我还要留下什么配置不要禁用啊,这是我唯一想到的一个漏洞!!求大手啊!江湖救急啊!