Question:
why is my computer giving me two different IP addresses?
Hawk
2016-07-20 15:24:29 UTC
I just noticed this, When i google my IP its giving me
24.68.
When i go into my router my ip says
192.168
Same when i run CMD and type ipconfig..
I know the IPs are not complete but you get the idea.

I ran the first IP through an IP trace site and its still giving the correct info that it should but this has never happened b4 i have never had an IP like this

Now i did setup and NAT for virtualbox the other day so i could get the internet working.
But i have disabled all the changes in my network connections, I only enable them when im using virtualbox.

I have even reset my router to force the IP back but no luck.
This isnt really a big deal i mean im not having any problems cuz of this.
I just find it very odd that my router and ipconfig are giving me my normal IP but when i google what is my ip or go to any site that show my IP it shows this new one...

Should i be concerned?

Thanks.
Four answers:
Richard
2016-07-20 16:14:25 UTC
Version 4 IP addresses are 32 bits long. That allows for up to around 4 billion addresses; however, there are now far more than 4 billion devices that are using the Internet. There are two solutions to this problem:



1) Go to a new addressing scheme (Version 6 IP addresses), which are 128 bits long. This will potentially provide around 256 billion billion billion billion addresses, or



2) Arrange for a number of devices in a location to share the the same public address.



The first option is the eventual target, but there are a very large number of devices that are not capable of handling the version 6 addresses, so routers with Network Address Translation were devised to provide a solution that works with the devices that cannot easily be upgraded.



Although there are well over 4 billion different devices using the Internet, there are probably something like 2 billion different sites (buildings) that require unique public addresses.



A NAT router uses one public address and provides a private network that can support multiple devices all sharing the router's single public address. The following addresses are reserved for private networks:



10.0.0.0 to 10.255.255.255

172.16.0.0 to 17.31.255.255

192.168.0.0 to 192.168.255.255



These addresses are not allowed on the public Internet, so the same addresses can be used on different private networks without interfering with each other.



When a device on a private network sends a packet to the Internet, the NAT function in the router converts the sender's IP address to the router's public address and stores the details in its internal tables. When the reply comes back from the target site, the router recognises it and converts the address back again to the internal private address of the correct device.



When you use an IP address finder such as http://www.whatismyip.com it returns your public address, but when you look at the router's internal network or use a CMD based command you get the addresses relating to the private network.



If you have a separate modem and router, it is possible to use the Internet from a single computer connected to the modem without the router. In this case, you have only one address, the public address that will actually go right through to the computer itself.



I hope this helps.
2016-07-20 15:39:30 UTC
You have ALWAYS had two different IP addresses or you could never have used the Internet. You only have one connection to the Internet and your router uses that, so it gets a dynamic public IP address. To be able to use more than one device on the Internet the router has to issue private IP addresses to all of them as there must never be more than one device with the same IP. That is what a router is for. It translates packets from individual private addresses to packets with an identifier for the machine and passes the reply packets with that identifier back to the same machine.
Robert J
2016-07-20 15:40:56 UTC
It is completely normal, that is how it is supposed to be.



The 24. address is your public IP address, the one assigned to the WAN side of your router by your service provider.



The NAT firewall & DHCP system in a domestic "router" issues private IP addresses to all the connected machines on the LAN side, usually from the 192.168 block.



Any time any device inside the LAN requests something from outside, the NAT system re-writes the from address to it's own public address and gives it a unique from port.



When a reply comes it on the WAN side to that specific port, the NAT reverses the translation and sends it on to the device that made the original request.



That allows any number of devices to share the single public address without conflict and also prevents any unsolicited data - usually network scans / attacks - from passing in through the firewall, as they did not have a stored "outward" translation to be reversed.
efflandt
2016-07-20 15:34:55 UTC
You are behind a router. The outside world sees your IP address (and anybody else on your local network) as your public 24.68... IP. Any IP that begins with 192.168... is a private IP address on the LAN side of your router which your router masquerades as your public IP address. Designated private IP addresses are not routed on the Internet directly, so anyone on the Internet cannot get to your 192.168... IP except indirectly as a reply to an outgoing connection. When you make an outgoing connection your router keeps track of a particular port and your IP, so it knows which private IP to send it to based on the port on your public IP.



https://en.wikipedia.org/wiki/Private_network


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