CS FundamentalsHardGATE CS · Product company CS fundamentals

A home router performs NAT for 3 PCs that each open 2 TCP connections to the same web server on port 443. How many distinct (public IP, public port) pairs does the router's NAT table use for these connections?

  1. A. 6
  2. B. 3
  3. C. 2
  4. D. 1

Correct answer: A. 6

Each connection needs a unique external 4-tuple; since the public IP and the server's IP:443 are the same for all six, the router must give each a different public source port. PAT distinguishes the connections only by port.

More Computer Networks questions

Exams that ask this topic