15
my question does not concern how it moves through the internet, but how it moves through the router to a certain device. All devices connected to a router in a home network have the same external IP. Say device A is loading a page and packets are sent from an external source to the router because the packets know the external IP of device A and they are able to get to the router. But now, how does it get to device A? How does the router know to send it to device A instead of device B?
I think this involves the NAT, but i'm just looking for a logical explanation of what NAT does to accomplish this.
I can't give you a very specific answer, but the router keeps track of where a request is going and who sent it. When the external source responds, the router simply checks to see which device attempted to contact the external source initially, and forwards the response to that device. If you need more information, look into NAT. – Jack Humphries – 2012-12-26T03:17:45.847
This question belongs to Superuser.com – TimothyP – 2012-12-26T03:18:16.780