IP address of router different from whatismyip.com

I have a DLink DI604 router on and I am trying to forward a port on the router to pc.  The problem is the IP address I get whatismyip is different from the routers ipaddress.  The IP address I get from whatismyip appears as my gatewayip address on my router. e.g  the wahtismyip gives my address ass 111.111.111.111 and if i look at the admin page of my router i get as gateway=111.111.111.111 and my ipaddress as 111.111.111.113.  So when i do a port forwarding on my router and i do a portscan on the internet i am not able to acces it on either of the ip address mentioned above
anilmathewAsked:
Who is Participating?
 
darron_chapmanCommented:
It sounds as though your ISP is NAT'ing it's IP to you.  If whatismyip.com is showing you the IP of the routers gateway, then that is exactly what is happening, and you won't be able to connect to any ports on your computer from outside your internal network.  Some companies will do this to save IP addresses which are becoming more and more scarce.
0
 
anilmathewAuthor Commented:
So what can i do to resolve this issue what shuold i ask my service provder
0
 
darron_chapmanCommented:
Check to see if they have an option to get a public and/or static IP.  I pay an extra $10 a month for a static IP.
0
WEBINAR: 10 Easy Ways to Lose a Password

Join us on June 27th at 8 am PDT to learn about the methods that hackers use to lift real, working credentials from even the most security-savvy employees. We'll cover the importance of multi-factor authentication and how these solutions can better protect your business!

 
anilmathewAuthor Commented:
is there any other way of overcoming this issue to be able to foward a port from the internet  and set up a vpn
0
 
rindiCommented:
How is your router attached to the internet? If there is a DSL Modem or a Cable Modem in between, that will be your IP address (and the gateway for the router. If the modem supports bridging mode, use that, but then you'll have to set the router to authenticate with your ISP (Username and Password).
0
 
Don JohnstonInstructorCommented:
I haven't run across an ISP NATing a public IP address before.

What mask does your router have with that 111.111.111.113 address?
0
 
darron_chapmanCommented:
donjohnston:  http://www.homenethelp.com/sharing/private-ip-address.asp  ISP's natting addresses happen more often than you think
0
 
anilmathewAuthor Commented:
Well I got a fixed IP from the service provider to resolve this issue.  I would like to close this question.  I am not sure as to Acceptance of Solution as the fixed ip solution was something that was always an option but i wanted to avoid that. Please enlighten me.
0
 
Don JohnstonInstructorCommented:
darron_chapman: I never said it didn't happen. I said "I haven't run across an ISP NATing a public IP address before."

The title of the link you provided is "ISP assigned PRIVATE IP address problems"

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.