centos 6.5 通过yum直接安装,配置了配置文件dhcpd.conf 内容如下
ddns-update-style none;
#ignore client-updates;
subnet 222.28.250.200 netmask 255.255.255.255 {}
#subnet 192.168.1.0 netmask 255.255.255.0 {
# --- default gateway
option routers 10.0.0.1;
option subnet-mask 255.255.255.0;
option nis-domain "seakv.com";
option domain-name "seakv.com";
option domain-name-servers 202.118.1.29,202.118.1.52;
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 10.0.0.100 10.0.0.253;
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 192.168.1.149;
}
}
start就failed
然后tail出这个。。。
[root@NGISer dhcp]# tail /var/log/messages
Jul 7 21:48:14 NGISer dhcpd:
Jul 7 21:48:14 NGISer dhcpd: This version of ISC DHCP is based on the release available
Jul 7 21:48:14 NGISer dhcpd: on ftp.isc.org. Features have been added and other changes
Jul 7 21:48:14 NGISer dhcpd: have been made to the base software release in order to make
Jul 7 21:48:14 NGISer dhcpd: it work better with this distribution.
Jul 7 21:48:14 NGISer dhcpd:
Jul 7 21:48:14 NGISer dhcpd: Please report for this software via the CentOS Bugs Database:
Jul 7 21:48:14 NGISer dhcpd: http://bugs.centos.org/
Jul 7 21:48:14 NGISer dhcpd:
Jul 7 21:48:14 NGISer dhcpd: exiting.
请问是怎么回事啊,求帮助解决。。
ddns-update-style none;
#ignore client-updates;
subnet 222.28.250.200 netmask 255.255.255.255 {}
#subnet 192.168.1.0 netmask 255.255.255.0 {
# --- default gateway
option routers 10.0.0.1;
option subnet-mask 255.255.255.0;
option nis-domain "seakv.com";
option domain-name "seakv.com";
option domain-name-servers 202.118.1.29,202.118.1.52;
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 10.0.0.100 10.0.0.253;
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 192.168.1.149;
}
}
start就failed
然后tail出这个。。。
[root@NGISer dhcp]# tail /var/log/messages
Jul 7 21:48:14 NGISer dhcpd:
Jul 7 21:48:14 NGISer dhcpd: This version of ISC DHCP is based on the release available
Jul 7 21:48:14 NGISer dhcpd: on ftp.isc.org. Features have been added and other changes
Jul 7 21:48:14 NGISer dhcpd: have been made to the base software release in order to make
Jul 7 21:48:14 NGISer dhcpd: it work better with this distribution.
Jul 7 21:48:14 NGISer dhcpd:
Jul 7 21:48:14 NGISer dhcpd: Please report for this software via the CentOS Bugs Database:
Jul 7 21:48:14 NGISer dhcpd: http://bugs.centos.org/
Jul 7 21:48:14 NGISer dhcpd:
Jul 7 21:48:14 NGISer dhcpd: exiting.
请问是怎么回事啊,求帮助解决。。