LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-09-2008, 11:14 AM   #1
kumarkumar
Member
 
Registered: Mar 2006
Posts: 38

Rep: Reputation: 15
Renew IP address in Dynamic IP


In Windows you enter the following commands in DOS to renew your IP in Dymanic IP:-
Code:
ipconfig /flushdns
ipconfig /release
ipconfig /renew
What are the equivalent commands in Linux?
 
Old 04-09-2008, 11:50 AM   #2
Maligree
Member
 
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231
Blog Entries: 1

Rep: Reputation: 42
http://www.novell.com/coolsolutions/trench/16013.html
http://blogs.pingpoet.com/overflow/a.../04/15739.aspx

Google?
 
Old 04-09-2008, 02:28 PM   #3
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 59
As root,

Code:
ifconfig eth0 down
ifconfig eth0 up
 
Old 04-11-2008, 02:13 AM   #4
Maligree
Member
 
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231
Blog Entries: 1

Rep: Reputation: 42
@mrrangerman: Since when does ifconfig eth0 up do DHCP requests?

I guess you'd need to:
Code:
dhclient eth0
-or-
dhcpcd eth0
after getting the interface back up.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically renew DHCP address on RHEL4 Mark_667 Red Hat 5 03-27-2008 05:14 PM
FreeBSD 6.2: How can I renew my DHCP IP address? neilcpp *BSD 1 10-09-2007 10:28 AM
Slackware release/renew of IP address Ishkabibble Linux - Networking 8 09-28-2005 10:30 AM
renew ip address distantlyyours Slackware 2 02-08-2004 02:08 PM
renew ip address distantlyyours Slackware 4 02-08-2004 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration