linux – 如何解决dhcp3中的“无免费租约”问题?
发布时间:2020-12-13 17:07:49 所属栏目:Linux 来源:网络整理
导读:我没有面临免费租赁问题.我正在构建一个新服务器.我已经成功安装了ltsp.然后,我配置了dhcp.这是我的dhcpd.conf文件. option subnet-mask 255.255.255.0;option broadcast-address 192.168.12.255;option routers 192.168.12.205;option domain-name-servers
我没有面临免费租赁问题.我正在构建一个新服务器.我已经成功安装了ltsp.然后,我配置了dhcp.这是我的dhcpd.conf文件.
option subnet-mask 255.255.255.0; option broadcast-address 192.168.12.255; option routers 192.168.12.205; option domain-name-servers 192.168.12.205; default-lease-time 600; max-lease-time 7200; next-server 192.168.12.205; option root-path "192.168.12.205:/opt/ltsp/i386/"; subnet 192.168.12.0 netmask 255.255.255.0 { range 192.168.12.55 192.168.12.100; host client1 { option root-path "192.168.12.205:/opt/ltsp/i386/"; filename "/ltsp/i386/pxelinux.0"; hardware ethernet 00:1d:72:04:8d:a9; fixed-address 192.168.12.69; } } 错误是, Dec 27 18:18:35 Dennis dhcpd: Wrote 0 leases to leases file. Dec 27 18:23:27 Dennis dhcpd: DHCPDISCOVER from 00:1d:72:04:8d:a9 via eth0: network 192.168.12/24: no free leases 我在互联网上提到并尝试过.但是,我无法修复. 你能指导我解决这个问题吗? 解决方法
您的dhcpd可能需要对租约文件的写访问权.
从http://manpages.ubuntu.com/manpages/lucid/man5/dhcpd.leases.5.html开始:
touch /var/lib/dhcp3/dhcpd.leases 这应该可以解决您的问题. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
推荐文章
站长推荐
- linux – 用于检查进程是否已在运行的Shell脚本,
- 在GNU / Linux / C中使用多播(224.0.0.12)发现DH
- linux – 有没有办法过滤远程IMAP帐户中的邮件?
- linux – 打开系统调用失败
- linux – 在3G等移动网络上,iPhone客户端的服务有
- linux – $VARIABLE和${VARIABLE}之间有什么区别
- linux – 有没有办法让GNU屏幕在第一次启动新会话
- 升级到linux-image-3.13.0-46后安装vmware-tools
- 如何在Linux上自行完成相当于Synology Hybrid Ra
- linux – 使用gdbserver调试共享库
热点阅读