- Jun 24, 2006
- 3,248
- 1
- 81
So with NAT, let's say I have two machines with web browsers on them hooked up to a router, and let's say NAT is enabled for these machines.
If machine 1 visits microsoft.com, the packet gos to the router, and the router rewrites the IP address in the packet, and sends it to microsoft.com. Then microsoft.com sends a packet back, and somehow the router knows to forward the packet to machine #1.
What if both machine #1 and #2 send requests to microsoft.com? How would the router know which packet coming back from microsoft.com goes to which machine?
Thanks,
If machine 1 visits microsoft.com, the packet gos to the router, and the router rewrites the IP address in the packet, and sends it to microsoft.com. Then microsoft.com sends a packet back, and somehow the router knows to forward the packet to machine #1.
What if both machine #1 and #2 send requests to microsoft.com? How would the router know which packet coming back from microsoft.com goes to which machine?
Thanks,