
Step 1: The appropriate regional internet registry assigns public I P addresses. Router Public IP Address 142 dot 109 dot 3 dot 3; Server IP Address 8 dot 8 dot 4 dot 4.
Step 2: A computer within the private network makes a request to an external server. Source IP 192 dot 168 dot 1 dot 1 ; Destination IP 8 dot 8 dot 4 dot 4. Router Public IP Address 142 dot 109 dot 3 dot 3.
Step 3: The router generates a temporary port number 62032 equals 192 dot 168 dot 1 dot 1, which becomes part of the T C P request to the destination. It keeps a table that associates the port number with the specific internal I P address. Router Public IP Address 142 dot 109 dot 3 dot 3.
Step 4: The router makes the T C P request of the requested destination I P address, and includes the generated port number of the requesting computer. Source IP 192 dot 168 dot 1 dot 1 ; Source Port 62032; Destination IP 8 dot 8 dot 4 dot 4; Server IP Address 8 dot 8 dot 4 dot 4; Router Public IP Address 142 dot 109 dot 3 dot 3.
Step 5: When the server responds to the request, it includes the destination port number which the destination router will use to route the response to the appropriate computer within its own private network. Source IP 8 dot 8 dot 4 dot 4 ; Destination IP 142 dot 109 dot 3 dot 3; Destination Port 62032.
Step 6: The T C P response to computer has Source I P returned from server and Destination I P address of the computer. Destination IP 192 dot 168 dot 1 dot 1 ; Source IP 8 dot 8 dot 4 dot 4. Note: Port Address Translation allows other private networks to make use of the same set of I P addresses as other networks. The IP addresses in first private network are Router Public IP Address 142 dot 109 dot 3 dot 3, Private IP Address 192 dot 168 dot 1 dot 1, Private IP Address 192 dot 168 dot 1 dot 2, and Private IP Address 192 dot 168 dot 1 dot 4. The IP addresses in second private network are Router Public IP Address 142 dot 244 dot 5 dot 5, Private IP Address 192 dot 168 dot 1 dot 1, and Private IP Address 192 dot 168 dot 1 dot 2. The IP addresses in third private network are Router Public IP Address 136 dot 159 dot 233 dot 0, Private IP Address 192 dot 168 dot 1 dot 1, Private IP Address 192 dot 168 dot 1 dot 2, Private IP Address 192 dot 168 dot 1 dot 3, and Private IP Address 192 dot 168 dot 1 dot 4.
Back