RE: [CentOS] Lingering dhclient issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



>Yes, it would.  My question was what is the recommended process to  
>switch an interface from DHCP to STATIC so that the dhclient process  
>automatically gets killed.  Doing an "ifdown eth0", editing the  
>configuration file, and then doing an "ifup eth0" left this lingering  
>dhclient process around.

If you're looking for a one command solution after making the required configuration changes, using the "service network restart" is likely your best bet.  If you don't want to restart the entire network (which can cause service interuption depending on what is being serviced over the network), simply carrying out the steps you originally outlined while killing the dhclient process acting on the interface is probably the best approach since there is no association between ifconfig and dhclient.

Regards,

Justin.

-----Original Message-----
From:	Alfred von Campe [mailto:alfred@xxxxxxx]
Sent:	Wed 9/13/2006 7:27 PM
To:	CentOS mailing list
Cc:	
Subject:	Re: [CentOS] Lingering dhclient issue

On Sep 13, 2006, at 17:07, Johnny Hughes wrote:
> I do:
>
> service network restart

I'll remember this for next time.  If I get a chance, I will also  
test this to see if the dhclient process indeed goes away.

On Sep 13, 2006, at 18:29, Justin Randall wrote:
> Unless this device is going to be switching from DCHP to static
> frequently, wouldn't simply killing the dhclient process be  
> sufficient?

Yes, it would.  My question was what is the recommended process to  
switch an interface from DHCP to STATIC so that the dhclient process  
automatically gets killed.  Doing an "ifdown eth0", editing the  
configuration file, and then doing an "ifup eth0" left this lingering  
dhclient process around.

Alfred
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos





<<winmail.dat>>

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux