Gaming Problem resetting WAN IP

juggernaut911

GBAtemp Slut!
OP
Member
Joined
Jul 13, 2006
Messages
4,165
Trophies
1
Age
13
Website
google.com
XP
1,018
Country
United States
So, I'd SSH into my router, stop then start the WAN process, but still have same WAN IP address. Is there a fool-proof way to do this?

My script that doesn't do anything.
"plink.exe" is just the ssh client
"-load router" is the profile to load (has login name and key)
Code:
plink.exe -load router stopservice wan
plink.exe -load router startservice wan

Please and thank you!
(Router: WRT150N)
(Firmware: DD-WRT v24-sp1 (07/27/08) mini)
 

Costello

Headmaster
Administrator
Joined
Oct 24, 2002
Messages
14,206
Trophies
4
XP
19,837
for some ISPs a new IP address is affected to you every 24 hours or more
so no matter how many times you reconnect, you'll have the same IP
try and wait one more day?
 

juggernaut911

GBAtemp Slut!
OP
Member
Joined
Jul 13, 2006
Messages
4,165
Trophies
1
Age
13
Website
google.com
XP
1,018
Country
United States
Originality said:
If I recall, WAN is set by the ISP, not by the user. You can either have a static IP that never changes, or a dynamic IP that changes every time your router has to re-establish connection to the ISP.
Thank you

QUOTE(Costello @ Aug 3 2010, 03:41 PM) for some ISPs a new IP address is affected to you every 24 hours or more
so no matter how many times you reconnect, you'll have the same IP
try and wait one more day?
and thank you.


I'll try tomorrow to see. I would power cycle the modem but that didn't help.
 

Am0s

Mojo Risin
Member
Joined
Jul 9, 2009
Messages
741
Trophies
0
Age
50
Location
England
Website
Visit site
XP
158
Country
as the above poster said you will either get a static or a dynamic or in some cases a semi dynamic IP, generally the IP has a lease time and when that expires, your router will gain another IP from their pool of IP's I am on ADSL2 and supposed to have a dynamic IP, but even after moving house and the internet being disconnected and reconnected to the new house I still have the same IP, so really if you leave your router off for 24hrs+ you might get a new IP, or in some cases you might still get the same on, it all depends on the ISP and their lease times
 

Originality

Chibi-neko
Member
Joined
Apr 21, 2008
Messages
5,716
Trophies
1
Age
35
Location
London, UK
Website
metalix.deviantart.com
XP
1,904
Country
A neighbour of mine forces himself to get a new IP (after being locked out of router controls by his parents) by giving himself a DOS attack. It's useful when he needs to bypass controls placed on download sites like megaupload.
 

how_do_i_do_that

Blue Wizard is about to die.
Member
Joined
May 16, 2008
Messages
5,135
Trophies
1
Location
You have insufficient posts to view user location.
XP
2,957
Country
Antarctica
To force reset your WAN IP address manually:

If your on windows, you have to be connected directly to the modem then you type in a cmd window

ipconfig /renew
This is for IP4 address (any windows version)

ipconfig /renew6
This is for IP6 address (windows vista & 7)

If you have a static ip address, this will not work.
 

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
how_do_i_do_that said:
To force reset your WAN IP address manually:

If your on windows, you have to be connected directly to the modem then you type in a cmd window

ipconfig /renew This is for IP4 address (any windows version)
ipconfig /renew6 This is for IP6 address (windows vista & 7)

WAN IP`s are dictated by ISP providers. IPCONFIG forces to do it, but from a local network considering you may have a router.

So, those options given by both first users, including admin, seem to be more plausible.
 

Elritha

Well-Known Member
Member
Joined
Jan 24, 2006
Messages
2,037
Trophies
0
Website
Visit site
XP
122
Country
Canada
Sometimes ip addresses are also tied into the mac address of the router/modem. You could try changing your routers mac address to see if that helps.
 

Rydian

Resident Furvert™
Member
Joined
Feb 4, 2010
Messages
27,880
Trophies
0
Age
36
Location
Cave Entrance, Watching Cyan Write Letters
Website
rydian.net
XP
9,111
Country
United States
how_do_i_do_that, that will only change your computer's IP, not the router's. Also the way many ISPs work it's not abnormal to keep the same IP for weeks or months at a time even if you have a dynamic IP.

OP, you will want to find with the DHCP lease from your ISP is expiring (as said it's usually every 24 hours) and keep the router disconnected at that time so when ti reconnects you're hopefully given a new one. If you disconnect and reconnect within the same DHCP lease period the IP will stay the same, even if you waited 23 hours, you have to pass that specific reset time.
 

Frederica Bernkastel

Well-Known Member
Member
GBAtemp Patron
Joined
Jan 31, 2008
Messages
3,169
Trophies
2
Age
29
Location
Hinamizawa
XP
999
Country
Japan
how_do_i_do_that said:
US internet providers do crap differently, they all give you dynamic IP addresses which you can force a change.

You can't get a static IP address unless you want to shell out 500 bucks or more a month.
You've contradicted yourself: first you're saying that you can't get a static IP, now you're saying you can.
All ISPs do things similarly, why pay for a static IP when you can just leave your router on?

how_do_i_do_that said:
What part of "you have to be plugged directly to the modem" didn't you understand. When your plugged directly to the modem, your ip address is the WAN address.

This is how people on WoW unban themselves from temp bans that are ip related.
ADSL is a dead technology.
It's also the successor to the 'modems' that you're reffering to.
i.e. times have changed

juggernaut911 said:
QUOTE(Rydian @ Aug 5 2010, 02:22 PM)
Oh, I missed that part.

I can't wait for IPv6 and fully static IPs.
What benefit will that bring?
Both are already around.
It'll mean that more people can be on the internet at once, as well as meaning that AAAA records will replace A records.
 

Rydian

Resident Furvert™
Member
Joined
Feb 4, 2010
Messages
27,880
Trophies
0
Age
36
Location
Cave Entrance, Watching Cyan Write Letters
Website
rydian.net
XP
9,111
Country
United States
My hope is that IPv6, when it comes into full swing (as in, fully replacing v4) will allow ISPs to just set static IPs and be done with it since there's no need to shuffle shit around to make up for how little slack there is.

Then maybe people will be on better behavior since you can't just reconnect for an IP change.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: @K3Nv2 https://www.youtube.com/watch?v=9yWIobzBdKc