Renew IP address

  • Thread starter Alastair MacFarlane
  • Start date
A

Alastair MacFarlane

Dear All,

I realise this question will have been asked a thousand times before but I
have not been able to get a definitive answer. As an AOL user my ISP
provides me with a different IP address when my netgear router logs into
their servers. Is there any way that I can programatically, automate the
generation of a new IP address. Ideally I would like to add this to a batch
file. The only way seems to be switching on and off the router.

ipconfig/flushns
ipconfig/release
ipconfig/renew

.... does not work.

Thanks again for the help of the group.

Alastair MacFarlane
 
M

Mark L. Ferguson

Your router is assigning the machine's IP. IPCONFIG deals with that
router assignment. The router gets the internet address IP from AOL.
IPconfig will tell you what your 'default gateway' address is. Let's say
192.168.1.1. You can open your router software with the command:
http://192.168.1.1

There you will see an option to release and renew your "WAN" address.

IPconfig deals with the LAN (local area network) and the AOL assignment is
the WAN (wide area network) address. One way to detect your WAN IP is to
surf to http://whatismyip.com .
--
Use the "Ratings" feature. It helps the new users.
Please use the Communities guidelines when posting.
http://www.microsoft.com/wn3/locales/help/help_en-us.htm
Mark L. Ferguson MS-MVP
https://mvp.support.microsoft.com/profile/Mark.Ferguson
 
B

Bruce Chambers

Alastair said:
Dear All,

I realise this question will have been asked a thousand times before but
I have not been able to get a definitive answer. As an AOL user my ISP ...


Actually, AOL is not really an ISP; rather, it's an on-line content
provider that insulates and isolates it's customers from the real
internet. It's not been called "the Internet on training wheels" for
nothing. Granted, many people do like to be protected from the outside
world, so it may be that AOL meets your needs.

.... provides me with a different IP address when my netgear router logs into
their servers.


Yes, that's fairly typical. And if you manually change that IP
address, you'll not only lose your connection to AOL, but you'll may
also be in violation of your contract with them, which could result in
the termination of the service. Ask before trying something that you
may end up regretting.

Is there any way that I can programatically, automate the
generation of a new IP address. Ideally I would like to add this to a
batch file.


Possibly. It would depend entirely upon the capabilities built into
the router by its manufacturer. Since you've carefully kept the
specific model of this router a secret, no one here can do the homework
for you, so you'll just have to consult that manufacturer yourself.

The only way seems to be switching on and off the router.


Or you could read the manual that came with the router and follow the
instructions therein.
ipconfig/flushns
ipconfig/release
ipconfig/renew

... does not work.


Well, actually, they do work. Those commands empty the DNS cache and
reset the IP address of your *computer*, just as they should. Why you'd
think they could possibly have any affect upon your router, I can't imagine.




--

Bruce Chambers

Help us help you:


http://support.microsoft.com/default.aspx/kb/555375

They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. ~Benjamin Franklin

Many people would rather die than think; in fact, most do. ~Bertrand Russell

The philosopher has never killed any priests, whereas the priest has
killed a great many philosophers.
~ Denis Diderot
 
G

GTS

The ipconfig commands don't work because they affect only the local (LAN
side) address that the router assigns. Resetting the router makes it
request a new external (WAN side) address. Some routers have a reboot
command you can access from the browser interface which might be a
substitute for re-powering it. Why do you want to change it?
 
G

GTS

AOL also sells DSL and cable broadband service in some areas (overpriced and
problematic like everything else with AOL) and may be the OP's ISP.
(or he may just be confused to take your point.)
--
 
A

Alastair MacFarlane

Dear GTS,

I have created a program that will download files from sites like Rapidshare
and others but they track downloads based on IP addresses. At the end of the
download I would need to wait for 15 minutes until another download. Another
IP address lets you download immediately.

I am from the UK and AOL is my ISP.

Thanks.

Alastair
 
G

GTS

I see. Thanks. The post from Mark makes a good point. The
disconnect/connect option might be faster than a router reboot.
--
 
G

GTS

I see. Thanks. The post from Mark makes a good point. The
disconnect/connect option might be faster than a router reboot.
--
 
N

NotEvenMe

many routers have a release/renew radio button on the status page, poke
around.
I can get a new external IP in about 15 seconds.
 
A

Alastair MacFarlane

Dear GTS,

I have created a program that will download files from sites like Rapidshare
and others but they track downloads based on IP addresses. At the end of the
download I would need to wait for 15 minutes until another download. Another
IP address lets you download immediately.

I am from the UK and AOL is my ISP.

Thanks.

Alastair
 
T

the wharf rat

Dear GTS,

I have created a program that will download files from sites like Rapidshare
and others but they track downloads based on IP addresses. At the end of the
download I would need to wait for 15 minutes until another download. Another
IP address lets you download immediately.

Ok, look your router has a web admin page. Talk to it like
you do any other web page and send it the commands to refresh it's IP.
Chances are you'll get the same one, though, they get stuck to MAC addresses.
 
B

+Bob+

Ok, look your router has a web admin page. Talk to it like
you do any other web page and send it the commands to refresh it's IP.
Chances are you'll get the same one, though, they get stuck to MAC addresses.

That depends greatly on your internet service. I would suggest a post
in your ISP's newsgroups or forums to find out what you need to do
with yours to get a new IP (release/renew from the router;
release/renew/disconnect for some known period of time;
release/renew/disconnect/reset; etc).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top