LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-17-2009, 01:03 PM   #1
videoclock
LQ Newbie
 
Registered: Aug 2009
Posts: 16

Rep: Reputation: Disabled
Newbie question: How to change the IP on the fly


Hi people!

Is there any way to change the IP on the fly? I use dynamic IP.

Regards.
 
Old 08-17-2009, 01:06 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Which ip?
The external IP?
 
Old 08-17-2009, 01:12 PM   #3
videoclock
LQ Newbie
 
Registered: Aug 2009
Posts: 16

Original Poster
Rep: Reputation: Disabled
Well, I refer to the external IP.

Thanks.
 
Old 08-17-2009, 01:22 PM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Why do you want a new IP, banned somewhere?
Reboot the router/modem?
 
Old 08-17-2009, 01:46 PM   #5
videoclock
LQ Newbie
 
Registered: Aug 2009
Posts: 16

Original Poster
Rep: Reputation: Disabled
Yes, I can reset the router, but I would like to do it command-line. There are sometimes you don't have access to the router or you don't want to reset it by button.

Regards.
 
Old 08-17-2009, 01:47 PM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
If it is a router you can only reset the router.
If it is a modem you can release the ip lease
 
Old 08-17-2009, 01:49 PM   #7
harsshal
Member
 
Registered: Jul 2006
Location: New York, NY
Distribution: redhat,ubuntu,RHEL,fedora,centOS
Posts: 105

Rep: Reputation: 15
I think you are looking for this
 
Old 08-17-2009, 01:51 PM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
I think you are looking for this
IMHO tor isn't designed to change ip's when you are banned somewhere.
It serves an higher purpose
 
Old 08-17-2009, 02:08 PM   #9
videoclock
LQ Newbie
 
Registered: Aug 2009
Posts: 16

Original Poster
Rep: Reputation: Disabled
So If I use dynamic IP, there isn't way to change IP on the fly by command-line. Is it so?

Thanks in advance
 
Old 08-17-2009, 02:11 PM   #10
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
If you have a modem, the ip is given to your ethernet card, then you can release the dhcp lease and request a new ip
If you have a router, the ip is given to the wan interface of the router, so you need to reboot the router.
 
Old 08-17-2009, 02:14 PM   #11
videoclock
LQ Newbie
 
Registered: Aug 2009
Posts: 16

Original Poster
Rep: Reputation: Disabled
Yes, I use a router.

Ok, thanks!
 
  


Reply



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
how to change the disk size on the fly? harry2006 Linux - Software 6 11-02-2008 01:17 AM
Change swap space on the fly RajRed Linux - Newbie 2 04-26-2005 04:45 PM
change the priority on the fly alaios Linux - General 1 12-14-2004 10:19 AM
how can I change the current shell on the fly? Xavius Linux - Newbie 5 04-06-2004 08:00 AM
cant change any display settings on the fly. this Linux - Newbie 0 12-14-2001 07:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:09 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
Open Source Consulting | Domain Registration