CS FundamentalsVery hardProduct-company placement · Cisco/networking
A home router does port address translation using one public IPv4 address and source ports 1024–65535. Ten PCs behind it all open TCP connections to the same server 93.184.216.34 port 443. At most how many such connections can be open at once?
- A. 64,512 per PC, so 645,120 in total
- B. 64,512 in total
- C. 65,536 in total
- D. Unlimited, because the PCs have different private addresses
Correct answer: B. 64,512 in total
Outside the router every connection has the same public IP, server IP, server port and protocol, so only the translated source port can differ: 65,535 − 1024 + 1 = 64,512 connections in total, however many PCs there are. The private addresses are invisible on the outside.
More Computer Networks questions
- A form sends a POST to /old, and the server must redirect it to /new so that the browser repeats the POST with the same body, and the move…
- A TLS 1.3 client resumes a session and sends application data in 0-RTT (early data). Which statement is correct?
- A developer authenticates API messages as tag = SHA-256(secret ‖ message) instead of using HMAC. Why is this unsafe?
- Two sites connect through a router that performs NAT. An IPsec tunnel using AH fails, while one using ESP with NAT traversal works. Why?
- Asha sends one email with To: Ravi and Bcc: Meena, both at the same domain. How does Meena's server know to deliver a copy to her, given…
- A stateless packet filter at a campus edge allows all outbound TCP, and allows inbound TCP only when the ACK flag is set (so only replies…