[root@129 ~]# head -40 /etc/init.d/dhcpd |tail -10
lockfile=/var/lock/subsys/dhcpd
pidfile=/var/run/dhcpd.pid
statedir=/var/lib/dhcpd
INTERFACES=eth0 增加这个就可以,表指指定eth0来提供DHCP服务。
[ -f /etc/sysconfig/dhcpd ] && . /etc/sysconfig/dhcpd
# if the user specified a different config file, make sure we reference it
findConfig() {
for arg in $DHCPDARGS ; do
if [ "$found" = 1 ]; then
本文转自7343696 51CTO博客,原文链接:http://blog.51cto.com/luoping/315069,如需转载请自行联系原作者