Question:
IP ipconfig doesn't return correct IP, why?
Ross, the Great
2011-12-20 08:18:35 UTC
So I run the ipconfig in the command line and it returns:

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.1.4
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1

Trouble is, that IP adress is not correct. Why is that?
Three answers:
Cool Story Bro
2011-12-20 08:22:41 UTC
Why do you think that's wrong? It is a perfectly good IP address. What do you think it should be?



If you are wondering why it's different from what some web sites say (like whatismyipaddress.com) it's because, when you access the Internet, your router replaces your private/internal IP address with its public/WAN address that it gets from the ISP.



Additional note: all devices on your network also use the router's WAN address when they access the Internet. The router keeps track of each session through a process called NAT which stands for network address translation. And for any techies who are reading this it is actually called PAT because it's port address translation. NAT is 1 to 1, PAT is 1 to many.
BuddyMc
2011-12-20 08:25:29 UTC
That is the correct address. You are inside a network with a NAT (network address translator) router. If you need to get the outside IP address then you will need to either log into your router and go to the status page or go to http://www.myipaddress.com and this web page will show you your external IP address.



Also if you are needing to connect from outside of your network to a machine inside your network then you will need to do some port mapping to get the data through the router to the correct machine.



If you need any additional information just edit your question and add the new info and I will update this answer to help you out all that I can.
Ged
2011-12-20 08:21:42 UTC
Run ipconfig /release enter then ipconfig /renew to get new IP


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Continue reading on narkive:
Loading...