IP-TUCP-UDP

Answered Question
Sep 4th, 2010

Checksum, IP-UDP-TCP checksum all are On or Off by default ??

With reason??

I have this problem too.
0 votes
Correct Answer by Giuseppe Larosa about 6 years 3 months ago

Hello Abhinay,

IPv4 header checksum is a cheksum of header and it is enabled by default. Ipv4 leaves to upper layer the duty to detect possible errors in the payload.

To be noted checksum of IPv6 header should be disabled by default.

TCP checksum is enabled by default and covers all the paylod and the TCP header.

UDP checksum is enabled by default and covers payload and UDP pseudo header.

the reason for this is that before passing data to the application the TCP/IP stack, that is  running on the operating system on the host, can decide if data is correct or not.

Hope to help

Giuseppe

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Giuseppe Larosa Sat, 09/04/2010 - 09:31

Hello Abhinay,

IPv4 header checksum is a cheksum of header and it is enabled by default. Ipv4 leaves to upper layer the duty to detect possible errors in the payload.

To be noted checksum of IPv6 header should be disabled by default.

TCP checksum is enabled by default and covers all the paylod and the TCP header.

UDP checksum is enabled by default and covers payload and UDP pseudo header.

the reason for this is that before passing data to the application the TCP/IP stack, that is  running on the operating system on the host, can decide if data is correct or not.

Hope to help

Giuseppe

Actions

This Discussion