Question: i can write or use a program, please help This project deals with the CRC calculation and IP Checksum Calculation Part 1 (15 pts) CRC
This project deals with the CRC calculation and IP Checksum Calculation Part 1 (15 pts) CRC calculation. The method for determining the CRC value to append to the message sent was discussed in class. For the method shown in class, extra 0's were added on to the original message before the calculation took place. For this part of the project, show that by adding 1's instead of 0's results in the same CRC value added to the end of the message. Remember that all math is binary XOR and no bits carry. To show that the same CRC value is added, you will have to perform 2 calculations to obtain the two messages sent - one calculation is for adding 0's the other for adding 1's. Give the transmitted message from both calculations. The message and generator to use for this project are shown below: M(X)=10111100011011 C(X)=10111 Reference text book chapter 2, problem 17 (hwif2, problem 3) for a more in depth discussion of how CRC's are actually calculated. Part a is a direct application of the above concept Hint: The first part of the division is the same for the two calculations - only difference comes when you start bringing down the added in 0 's or 1's. Turn in all of your work as a pdf file. Be sure to show all of the calculations. Using graph paper or excel will make it easier to keep the columns lined up. Part2 (15 pts) IP checksum calculation. For this part, perform the IP Checksum (use 16 bit checksum) on the following two IP headers. If you do this by hand, be very neat and show all of your work. If you use a program, print out the program and results to submit with your assignment. The IP header consists of 20 bytes of data. This information is shown as hexadecimal numbers. For example, look at the third grouping in the IP header in part a. This grouping is bfc5 and it is underlined. That grouping is hex digits b, f,c and 5 and in binary those hexadecimal digits are 1011, 1111, 1100 and 0101. To calculate the checksum the Hex values or their binary equivalents can be added. The header checksum value is shown in the shaded part of the header. This checksum is calculated from the other parts of the header when a value of 0000 is used for the checksum field during the calculation. Compare your checksum result to the value for the checksum provided in the IP header. Determine if the header was successfully received (do the checksums match?) Note: if you include the checksum in your calculation you will get all 1's for the result, and then taking the complement gives all 0 's Use the example on the link shown to help with this problem: http:lluww, thegeekstuff.com/2012/05/ipheader-checksum/ a) IP header to perform IP checksum on: 45400034 bfc5 402080a1 c35f 5d82 a50f 6c39 a8fa b) IP header to perform IP checksum on: 6540004 e 3 fdf 603a fff6 39ff a9f8 bbce ff15 4b49 c) Determine the IP checksum for the following header 4560 ff82 f111 4a01 ffb6 ???? 393f ffge f6f8 d23f Note: there is a c program in the text (pg90) which can be programmed to calculate the checksum provided you can have it successfully read in the hex digits(will require some extra work) https://wwwalpharithms.com/internet-checksum-calculation-steps-044921/
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
