Practice mode Computer Networks

When a NAT device rewrites the source IPv4 address of a TCP segment, which checksums must it update?

Correct answer B. The IPv4 header checksum and the TCP checksum

Explanation

The IPv4 header checksum covers the address that has changed. The TCP checksum also depends on the source and destination addresses through its pseudo-header, so it becomes invalid too. Both must be adjusted, or the packet will be rejected. This is why NAT must understand transport headers and why it complicates some protocols.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.