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.
- A. Only one
- B. Only two
- C. Only three
- 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
- A 5000-byte IPv4 datagram (20-byte header) must cross a link with MTU 1420 bytes. What are the fragment offset and total length of the…
- A code has exactly four codewords: 00000, 01011, 10101 and 11110. Which statement about its error handling is correct?
- In slotted ALOHA, the offered load is G = 2 frames per slot. What fraction of slots carry a successful frame?
- For the host 131.45.214.9/22, how many usable host addresses does its subnet have, and what is the last usable host address?
- Which one of these is NOT a function of the transport layer?
- How many of the following statements about IPv6 are correct? 1. The base IPv6 header has a fixed size of 40 bytes. 2. IPv6 has no…