Question

In: Computer Science

In IP, the checksum covers only the header and not the data. Why do you suppose...

In IP, the checksum covers only the header and not the data. Why do you suppose this design was chosen?

Solutions

Expert Solution

IP header uses the 16-bit checksum and it is used to detect the error in the header of the IP protocol message.

Let us suppose we are not using the checksum for the header. If the destination address of IP header corrupted or modified then we need to drop this message but without checksum how we know that this header is corrupted.

We use the checksum or some other technique like CRC to detect the error for the data as well. These error detection mechanisms are used at different layer and header checksum ensure that the IP header is correct and checksum for data ensure that the data is correct.

The checksum is a simple method and not so complex to detect an error but the probability to detect error is low as compare to the CRC method. We want the size of the header as small as possible. So, the checksum is more suitable for the IP header as compare to other methods.

To detect data error, we use the CRC method mostly because the probability of error detection is very high but this method is a quick complex method as compared to the checksum method.


Related Solutions

Q10. Compare the header of TCP, UDP, and IP packets and explain why are there more...
Q10. Compare the header of TCP, UDP, and IP packets and explain why are there more fields in TCP header than UDP and IP? (10 points)
If you have a computer, why would you want an IP address? Why would you want...
If you have a computer, why would you want an IP address? Why would you want a URL? Would you ever want both? Why? Detailed answer please.
How fairly do you feel that the media covers the differing political parties and their members?...
How fairly do you feel that the media covers the differing political parties and their members? Give examples.
How do you use header files on a program? I need to separate my program into...
How do you use header files on a program? I need to separate my program into header files/need to use header files for this program.Their needs to be 2-3 files one of which is the menu. thanks! #include #include #include using namespace std; const int maxrecs = 5; struct Teletype { string name; string phoneNo; Teletype *nextaddr; }; void display(Teletype *); void populate(Teletype *); void modify(Teletype *head, string name); void insertAtMid(Teletype *, string, string); void deleteAtMid(Teletype *, string); int find(Teletype...
Suppose a bank decides to offer a large number of interest only mortgages. 1. Do you...
Suppose a bank decides to offer a large number of interest only mortgages. 1. Do you think that they would get a lot of business? 2. Would they be setting people up for negative financial outcomes (and should they have any responsibility for them)? 3. Suppose additionally that these loans were adjustable rate. How would do you think the uncertainty of a mortgage payment (like that of an ARM) would change a person's saving and spending habits?
Why do you believe data can be inaccurate? What can a business do to ensure that...
Why do you believe data can be inaccurate? What can a business do to ensure that data is correct? Explain how bad data will impact information, business intelligence, and knowledge. Argue for or against the following statement: “It is better to make a business decision with bad data than with no data.”
IP Security and IPSec Suppose you have an IPv4 packet with 825964 bytes length. Assume that...
IP Security and IPSec Suppose you have an IPv4 packet with 825964 bytes length. Assume that this packet is to be sent through a network having 1500 bytes MTU. Question: (a) How many minimum fragments must be created from the IP packet? (b) What would be the value of “flag” and “offset” fields of the first fragment? Justify your answer. (c) What would be the value of “flag”, “offset”, and “length” fields of the last fragment? Justify your answer. (d)...
Why do molecules absorb light? Why are only certain wavelengths absorbed?
Why do molecules absorb light? Why are only certain wavelengths absorbed?
What is data analytics? Why do you feel there has been such a emphasis on these...
What is data analytics? Why do you feel there has been such a emphasis on these skills in corporate America in recent years? Identify and provide an example of how data analytics can be used in your business industry.
Why do you have to do staging and mapping when designing a data warehouse? Describe both...
Why do you have to do staging and mapping when designing a data warehouse? Describe both processes of staging and mapping. Discuss the considerations that you can take into account when deciding whether to use a staging area, or not, for the source data.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT