Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Release and Renew iP in Suse Linux 9.1

Status
Not open for further replies.

aznluvsmc

MIS
Mar 21, 2004
476
CA
Does anyone know what the command is if any to renew an IP address?

"It's about the journey and not the destination" - The quote of those who never make it
 
If you have one ethernet-card, it's eth0, and you may use:

Code:
ifconfig eth0 down
ifconfig eth0 192.168.222.111 up

if it's card 2, you use eth1 instead.
for other devices it might be similar.
Or not. :)


seeking a job as java-programmer in Berlin:
 
If you are looking to renew a dynamic IP, I use 'pump' on one of my systems, and 'dhclient' on my Debian system. Not sure what Suse's tool for it is. You could also try restarting the networking init script (eg, /etc/init.d/networking restart)

----
JBR
 
if you are using dhpc then do not specify the ip in the ifconfig eth0 up from above.

If you have dhcp set in the config files then type
ifconfig eth0 up

or you can use pump or dhclient.

>---------------------------------------Lawrence Feldman
SR. QA. Engineer SNAP Appliance
lfeldman@snapappliance.com

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top