Centos6.4出现如下问题。
Can't chown new lease file: Operation not permitted
应该是权限问题
修改如下文件,/etc/init.d/dhcpd
user=dhcpd 修改user=root
group=dhcpd 修改group=root
就可以了。
---------------------------------------------------------------------
dhcp配置文件内容:next-server 后面改成自己本机的ip(如果双网卡就指定dhcp要使用的ip)
ddns-update-style interim;
ignore client-updates;
allow booting;
allow bootp;
subnet 192.168.10.0 netmask 255.255.255.0 {
range 192.168.10.10 192.168.10.80;
option routers 192.168.10.2;
option subnet-mask 255.255.255.0;
default-lease-time 21600;
max-lease-time 43200;
next-server 192.168.10.128;
filename "pxelinux.0";
}
阅读(909) | 评论(0) | 转发(0) |