DragonFly BSD
 

Issue1057

Title dhclient deletes ifaddr, then fails
Priority Status chatting
Superseder Nosy List corecode
Assigned To Topics

Created on 2008-07-09.07:06:08 by corecode, last changed 2008-07-09.07:14:02 by dillon.

Messages
msg4890 (view) Author: dillon Date: 2008-07-09.07:14:01
:Hey,
:
:considering this sequence:
:
:	dhclient fxp0
:
:now we have ip address & everything is fine.  dhclient keeps running
:
:	dhclient fxp0
:
:returns error 1.  in syslog, it complains about the address already 
:beeing taken, because of the running dhlient.  However, it will set the 
:ip address of fxp0 to 0.0.0.0.  Now I'm left with an unusable system.
:
:	killall dhclient
:	dhclient fxp0
:
:now it works again.
:
:cheers
:   simon

    I think it has always done that.  If you run dhclient while one is
    already running it explodes the network interface.  Feel free to
    fix the code :-)

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>
msg4889 (view) Author: sepherosa Date: 2008-07-09.07:14:01
Use a pid file in /var to lock out multi dhclients on the same interface?

Best Regards,
sephe
msg4888 (view) Author: corecode Date: 2008-07-09.07:06:03
Hey,

considering this sequence:

	dhclient fxp0

now we have ip address & everything is fine.  dhclient keeps running

	dhclient fxp0

returns error 1.  in syslog, it complains about the address already 
beeing taken, because of the running dhlient.  However, it will set the 
ip address of fxp0 to 0.0.0.0.  Now I'm left with an unusable system.

	killall dhclient
	dhclient fxp0

now it works again.

cheers
   simon
History
Date User Action Args
2008-07-09 07:14:02dillonsetmessages: + msg4890
2008-07-09 07:14:01sepherosasetstatus: unread -> chatting
messages: + msg4889
2008-07-09 07:06:08corecodecreate