1

In IP header we have header checksum field which is calculated at every hop because some of the fields in IP header like TTL changes in every hop.

In TCP we calculate checksum on pseudo IP header + TCP header + TCP data . Here pseudo IP header doesn't contain the IP header fields that change frequently.

So in IP header checksum why don't we compute checksum on pseudo header or a header excluding fields which change frequently like TTL ? It will also help to reduce the computational overhead .

1 Answer 1

1

It's "not easy" to change something like IPv4. Better replace it altogether - IPv6 doesn't have a header checksum any more...

2
  • In Ipv4, when checking the checksum, the receiving router first checks the checksum then decrements TTL and then recomputes the checksum right ?
    – Zephyr
    Commented Aug 10, 2017 at 2:25
  • Yep, pretty much sums it up.
    – Zac67
    Commented Aug 10, 2017 at 5:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.