serpretetsky
2[H]4U
- Joined
- Dec 24, 2008
- Messages
- 2,180
I'm trying to figure out how NAT tables work and how a router knows which computer to send an income packet to.
So let's say i have two machines on my network both connecting through the router to http://hardforum.com.
I'm assuming the original Private IP's are completely stripped off by the router, correct? So my http get packet goes out from both machines, one is asking for image1, the other is image 2. The 192.168.100.67 and 192.168.100.68 are stripped from my packets, and instead, both are replaced with my internet ip yy.yy.yy.yy. Am i correct so far?
How will my router know that image1 coming back from http://hardforum.com is for 192.168.100.67 and that image2 coming back is for 192.168.100.68.
Does it inject some sort of signature into the outgoing packets that are then included in the incoming packets?
So let's say i have two machines on my network both connecting through the router to http://hardforum.com.
I'm assuming the original Private IP's are completely stripped off by the router, correct? So my http get packet goes out from both machines, one is asking for image1, the other is image 2. The 192.168.100.67 and 192.168.100.68 are stripped from my packets, and instead, both are replaced with my internet ip yy.yy.yy.yy. Am i correct so far?
How will my router know that image1 coming back from http://hardforum.com is for 192.168.100.67 and that image2 coming back is for 192.168.100.68.
Does it inject some sort of signature into the outgoing packets that are then included in the incoming packets?