满意答案
qq009911
2013.07.25
采纳率:42% 等级:12
已帮助:27115人
多作用域配置,建议你先看下日志吧/var/log/messages
看你的配置文件也没找出什么问题,另外我配了下没什么问题,你可以看下配置,#表示注释行:
[root@localhost ~]# cat /etc/dhcpd.conf
ddns-update-style interim;
ignore client-updates;
subnet 192.168.81.0 netmask 255.255.255.0 {
option routers 192.168.81.1;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.81.1;
option time-offset -18000; # Eastern Standard Time
range dynamic-bootp 192.168.81.128 192.168.81.254;
default-lease-time 21600;
max-lease-time 43200;
# we want the nameserver to appear at a fixed address
# host ns {
# next-server marvin.redhat.com;
# hardware ethernet 12:34:56:78:AB:CD;
# fixed-address 207.175.42.254;
# }
}
subnet 172.16.0.0 netmask 255.255.0.0 {
option routers 172.16.1.1;
option subnet-mask 255.255.0.0;
option domain-name-servers 192.168.81.1;
option time-offset -18000; # Eastern Standard Time
range dynamic-bootp 172.16.1.100 172.16.1.200;
default-lease-time 21600;
max-lease-time 43200;
# we want the nameserver to appear at a fixed address
# host ns {
# next-server marvin.redhat.com;
# hardware ethernet 12:34:56:78:AB:CD;
# fixed-address 207.175.42.254;
# }
}
[root@localhost ~]#
00分享举报