CS FundamentalsHardGATE CS · networking placement
Three PCs behind one NAT router ping the same public server at the same time. ICMP Echo messages have no port numbers. How does the NAT deliver each Echo Reply to the right PC?
- A. It keeps one ping at a time per server and queues the others until a reply returns
- B. It maps on the ICMP query Identifier field, rewriting it if needed, as it would a port
- C. It gives each PC its own public address taken from a pool for ICMP traffic only
- D. It matches the replies by IP Identification field, which the server copies back
Correct answer: B. It maps on the ICMP query Identifier field, rewriting it if needed, as it would a port
For ICMP query messages NAT treats the 16-bit Identifier as the 'port': it records (inside address, identifier) and may rewrite the identifier to keep it unique. The IP Identification field is set fresh by the replying host, so it cannot be used.
More Computer Networks questions
- An 802.1Q trunk is configured with native VLAN 1 on switch A but native VLAN 99 on switch B. What happens to an untagged frame that A…
- Why does 802.11 use collision avoidance with ACKs rather than the collision detection used by classic Ethernet?
- Ten (7, 4) Hamming codewords are written as rows of a 10 × 7 array, and the array is sent column by column. What is the longest burst of…
- A CDN maps www.shop.example (a CNAME into the CDN's domain) to a nearby server cluster through its own DNS. A user in Chennai uses a…
- Bob's textbook RSA key is p = 7, q = 17, e = 5, d = 77. He signs the message m = 10 without hashing. What signature does he send, and how…
- How many of these statements about DNSSEC are correct? 1. It lets a resolver verify that records really come from the zone owner and were…