-   Linux - Newbie (
-   -   IP Release and Renew? (

keysorsoze 01-22-2005 10:30 PM

IP Release and Renew?
Hi!, Does anyone here know how to release and renew IP address under linux? I tried
#ifconfig eth0 release & ifconfig eth0 renew, I also tried "up" and "down" with no results. What am I doing wrong? (Distribution: Fedora Core 3)

jsutton 01-22-2005 10:51 PM

normally, I just do:


dhclient eth0
Replacing 'eth0' with the appropriate adapter alias. ;)

JimBass 01-22-2005 11:45 PM

I would go with

ifdown eth0
followed by

ifup eth0
as root. I see you said you tried up and down in your post, so if that doesn't do the trick, maybe you did eth0 and should have done eth1? Release and renew I believe are unique to Redmond's TCP/IP stack, so I would be very suprised if those worked under linux.


rsmith 01-23-2005 12:04 AM

You could also restart the network service:

As root run this command: /etc/init.d/network restart

keysorsoze 01-23-2005 10:52 AM

Thanks for the reply, I am now able to get a new ip via bash instead of going into the gui network thing.

All times are GMT -5. The time now is 03:11 AM.