Eric Zhang
2007-Jun-15 05:22 UTC
[syslinux] Client machine cannot acquire the IP from dhcp server
Hi, syslinux: I use pxelinux to install Linux from network. Currently, my problem is: The first time, the client machine can acquire the IP address from dhcp server but at the second time, the client machine cannot acquire the IP again. The only way is to remove the /var/lib/dhcp/dhcpd.leases file in server and restart the dhcpd service. Then the client machine can get the IP again. That means if I want to boot the client machine from network again, I should manully remove the leases file and restart the dhcp service. I have tried to run dhcp like this: dhcpd -d, it will print out some debug info, I found the first time the client machine sent a DHCPDISCOVER msg and server responsed the DHCPOFFER, then the client sent a DHCPREQUEST and the server reponsed DHCPACK. But the second time, the dhcpd didn't print anything out?! Why? That's it. Thanks a lot for any suggestions. Eric Zhang 2007-06-15
Gilles Espinasse
2007-Jun-15 06:17 UTC
[syslinux] Client machine cannot acquire the IP from dhcp server
----- Original Message ----- From: "Eric Zhang" <maillistbox at 126.com> To: "For discussion of SYSLINUX and tftp-hpa" <syslinux at zytor.com> Sent: Friday, June 15, 2007 7:22 AM Subject: [syslinux] Client machine cannot acquire the IP from dhcp server> Hi, syslinux: > > I use pxelinux to install Linux from network. Currently, my problemis:> > The first time, the client machine can acquire the IP address from > dhcp server but at the second time, the client machine cannot acquire > the IP again. > > The only way is to remove the /var/lib/dhcp/dhcpd.leases file in > server and restart the dhcpd service. Then the client machine can get > the IP again. That means if I want to boot the client machine from > network again, I should manully remove the leases file and restart the > dhcp service. > > I have tried to run dhcp like this: dhcpd -d, it will print out some > debug info, I found the first time the client machine sent a > DHCPDISCOVER msg and server responsed the DHCPOFFER, then the client > sent a DHCPREQUEST and the server reponsed DHCPACK. But the second time, > the dhcpd didn't print anything out?! Why? >Wich dhcp server version? What time duration for lease renewal is defined? Gilles
Reasonably Related Threads
- Can't build 5.9 with KVM on a 6.3 host - DHCP hang?
- How to disable dnsmasq from starting automatically with libvirtd
- can't do dhcp + samba + bind work together
- Bug#346350: logcheck-database: dhcp3-server ignores need to include (none ) client host name
- CentOS 4.6 - dhcp issue