Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Router to connect to internet. How can i find the ip address allocated to my router by isp in windows 7? I cant use since it will give shared ip if i am behind a CGN.

share|improve this question
Traceroute maybe? From command prompt, run tracert – masegaloeh May 12 '14 at 6:27
What router ? The router itself should display it. – Lawrence May 12 '14 at 6:31
@Kumar Try looking first public IP on your tracert command – masegaloeh May 12 '14 at 6:41
If your ISP is using CGN, then your router would only display a private IP issued by your ISP, inaccessible from outside their network. Why do you want this information? It's useless for pretty much any situation. We may be able to help more if we know the actual problem (see: XY problem) – Bob May 12 '14 at 8:05
@masegaloeh tracert or traceroute will not always show the router's external IP. – Lawrence May 12 '14 at 8:12

Its an ugly ugly solution but the best place to check this is at your router - it will tell you the exact ip address that's been assigned to it. I used to have a script that would scrape it off my older router since it exposed that information without needing to log on.

If you're behind CGN (the horrible horrible thing that it is), there's a limited range of ip address that are allocated for it as you'd see here - the answer here covers the process of finding out if its the case.

If you suspect you're behind a proxy, like in this question here - I've found the lagado proxy test to be useful.

share|improve this answer





to see your machine's IP, say it a.b.c.d , so your router address assuming is a.b.c.1 and double check it as was advised by


yes, and sorry, if you are after assigned IP by ISP to router, can you log in to the router and look for it there? If it is static and was set by ISP you can find it there most likely. If it is dynamic, nos sure the router can show it. But anyways tracert should.

share|improve this answer
not that ip. The ip allocated by ISP. – Kumar May 12 '14 at 6:46
I added a little but to my answer. – Ruslan Gerasimov May 12 '14 at 7:04
but isn't the tracert shows router's loacal ip instead of ip allocated by ISP? pls differ with my answer.. – Kumar May 12 '14 at 7:53
tracert will not always show the router's external IP. – Lawrence May 12 '14 at 8:12
Traceroute won't show you the router's external IP. It'll show you the router's internal IP and then whatever the next hop is, which is more likely whatever you're connected to on the ISP's end. – marinus May 12 '14 at 9:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.