CS FundamentalsHardGATE CS · Product company CS fundamentals
A NAT router (public IP 203.0.113.5) holds the entry 192.168.1.20:51000 ↔ 203.0.113.5:62001 for a connection to 93.184.216.34:443. A packet arrives from 93.184.216.34:443 to 203.0.113.5:62001. What does the router forward into the LAN?
- A. A packet from 93.184.216.34:443 to 192.168.1.20:51000
- B. A packet from 203.0.113.5:62001 to 192.168.1.20:51000
- C. A packet from 93.184.216.34:443 to 192.168.1.20:62001
- D. Nothing: inbound packets are always dropped by NAT
Correct answer: A. A packet from 93.184.216.34:443 to 192.168.1.20:51000
For inbound traffic NAT rewrites only the DESTINATION (public IP and port) back to the private host's IP and port; the remote source stays as is. Unsolicited inbound packets with no table entry are dropped, but this one matches an existing mapping.
More Computer Networks questions
- With HTTP/1.1 pipelining, a client sends requests for A (large, slow to generate), B and C on one connection without waiting. In what…
- An institution's users request 15 web objects per second on average, each 1 Mb, over a 15 Mbps access link. A proxy cache is installed…
- A browser needs www.shop.example: the local resolver (RTT 2 ms) has nothing cached and contacts the root, TLD and authoritative servers…
- example.com has MX records with preference 10 (mx1.example.com) and 20 (mx2.example.com). How does a sending mail server deliver to…
- With IEEE 802.3 Manchester coding (0 = high-to-low in mid-bit, 1 = low-to-high), how many signal transitions occur while sending the bits…
- A 10 Gbps transatlantic fibre link is 6000 km long (signals at 2 × 10⁸ m/s). How much data is in flight in one direction when the link is…