CS FundamentalsHardProduct-company MCQ pattern

How many of the following statements about NAT are correct? 1. NAT breaks the end-to-end principle because outside hosts cannot start connections to inside hosts without port forwarding. 2. IPsec AH works through NAT unchanged because AH does not protect the IP header. 3. NAT must recompute the IP header checksum and also the TCP/UDP checksum when it rewrites addresses. 4. NAT also rewrites the MAC addresses of inside hosts so that they stay hidden on the Internet.

  1. A. Only one
  2. B. Only two
  3. C. Only three
  4. D. All four

Correct answer: B. Only two

1 and 3 are correct (the TCP/UDP checksum covers a pseudo-header containing the IP addresses, so it must be fixed). 2 is wrong: AH authenticates the immutable IP header fields including the addresses, so NAT's rewrite makes the AH check fail. 4 is wrong: MAC addresses never leave the local link anyway; each router rewrites the layer-2 header hop by hop, NAT or not. So two are correct.

More Computer Networks questions

Exams that ask this topic