The DHCP client can not detect the address provided by the server

DÔ Phan-Cam-Thach dophancamthach at yahoo.co.uk
Tue Jun 10 13:23:31 UTC 2008



 Hello everybody,
i now have a problem with my DHCP client. Hope that someone can give me an idea. 
I start my DHCP client et  server by the commands:
sudo dhclient -cf dhclient.conf eth1
sudo dhcpd -cf dhcpd.conf -lf dhcpd.leases eth1

There is no problem if we watch the messages transmitted between the two hosts by using Wireshark (there are 4messages sent: dhcpdiscover, dhcpoffer, dhcprequest, dhcpack). The addresse provided by the server that we see in Wireshark is A. It is regular and in the range indicated in the file dhcpd.conf. But the client can not detect this addresse. When i execute the command: ifconfig, there is no address for the interface eth1, as it hasnt been configured. But i recognize that, if i start dhclient without the file dhclient.conf, the addresse is detected.

The first question: what can be the problem?
The second question: what is the file dhclient.conf used for exactly?
The third question: what is the difference when i start dhcpd by:
sudo dhcpd -cf dhcpd.conf -lf dhcpd.leaseseth1start
and:
sudo dhcpd -cf dhcpd.conf -lf dhcpd.leases eth1
 (sans start)
How can i stop dhclient and dhcpd? Normally i kill them manually by:
sudo kill PID
But perhaps it is not the good way to stop them. There are probably others things that continue to run after this command?

Thanks in advance and thanks so luch for your attention.
Cam Thach.


      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20080610/c7297169/attachment.html>


More information about the dhcp-users mailing list