Problem with dynamic IP-need a batch file

August 29, 2009 at 07:55:42
Specs: Windows XP
My ISP provides me an internet connection with dynamic IP. when i need to change my ip i simply disconnect my dial-up connection using a bat file (rasdial "dial-up connection name" /disconnect) and reconnect with same bat file using command rasdial "dial-up connection name" username password. It mostly works but sometime it is annoying to find afterward while browsing that my IP has not changed. It happens say once in every 10 to 15 attempts. Can there be a bat file which on execution notes current Ip address then disconnects internet then reconnects and then verifies whether Ip address has changed or not and if IP address has not changed it goes back to disconnect and reconnect until IP address changes.

See More: Problem with dynamic IP-need a batch file

Report •


#1
August 29, 2009 at 08:21:19
Why do you want to change your IP address so offten?

If it is for security reasons you are wasting yout time.

You can check the IP address by doing ipconfig and sending the output to a text file then reading the IP address from there.

Stuart


Report •

#2
August 29, 2009 at 13:20:18
I hate using the same old IP everyday.

:)

Playing to the angels
Les Paul (1915-2009)


Report •

#3
August 29, 2009 at 14:31:51
Why, you use the same telephone number every day. There is little difference so whats the problem!

Stuart


Report •

Related Solutions

#4
August 29, 2009 at 15:37:52
This one mystifies me a bit. I've had a dynamic IP for more than 10 years, originally dial-up and then ADSL. I've never had to do a thing, it is all looked after by my ISP. I only "happen to know" it's dynamic and therefore often changes.

The only time I really "notice" it changes is if I go online for a security test and they show your IP on the webpage before you start. Even then it doesn't matter.

I'm in the UK, maybe this presents a problem elsewhere.

some other bloke...


Report •

#5
August 29, 2009 at 17:59:31
Its only a problem for those that do not understand what an IP address represents. Some think that changing your IP address will protect them from hackers, some thing that it will enhance their privacy.

It is no more a problem then giving someone your telephone number.

Stuart


Report •

#6
August 30, 2009 at 12:56:09
I said the joke.

Notice the smile. :)

See, I hate using OOHHH forget it.

Playing to the angels
Les Paul (1915-2009)


Report •


Ask Question