在log中有下面信息:
Oct 16 08:48:42 localhost dhcpd: DHCPDISCOVER from fe:00:00:00:00:00 via 6.60.29.1: network 6.60.29.0/25: no free leases
4 个解决方案
#1
求关注,求解答
#2
是dhcp分配失败的么?是否能上网?如果能上网的话可能分配的地址是169.254.0.0?
#3
http://serverfault.com/questions/461152/how-to-fix-no-free-leases-issue-in-dhcp3
When dhcpd is first installed, there is no lease database. However, dhcpd requires that a lease database be present before it will start. To make the initial lease database, just create an empty file called /var/lib/dhcp3/dhcpd.leases. You can do this with:
touch /var/lib/dhcp3/dhcpd.leases
When dhcpd is first installed, there is no lease database. However, dhcpd requires that a lease database be present before it will start. To make the initial lease database, just create an empty file called /var/lib/dhcp3/dhcpd.leases. You can do this with:
touch /var/lib/dhcp3/dhcpd.leases
#4
你的主机用的是什么方式连接?桥接?如果是桥接,那需要主机能采用dhcp方式能上网。如果是其他方式连接,那要去设置虚拟机网络设置。
#1
求关注,求解答
#2
是dhcp分配失败的么?是否能上网?如果能上网的话可能分配的地址是169.254.0.0?
#3
http://serverfault.com/questions/461152/how-to-fix-no-free-leases-issue-in-dhcp3
When dhcpd is first installed, there is no lease database. However, dhcpd requires that a lease database be present before it will start. To make the initial lease database, just create an empty file called /var/lib/dhcp3/dhcpd.leases. You can do this with:
touch /var/lib/dhcp3/dhcpd.leases
When dhcpd is first installed, there is no lease database. However, dhcpd requires that a lease database be present before it will start. To make the initial lease database, just create an empty file called /var/lib/dhcp3/dhcpd.leases. You can do this with:
touch /var/lib/dhcp3/dhcpd.leases
#4
你的主机用的是什么方式连接?桥接?如果是桥接,那需要主机能采用dhcp方式能上网。如果是其他方式连接,那要去设置虚拟机网络设置。