Header Checksum Field in IPv4 Header || Lesson 76 || Computer Networks || Learning Monkey ||

Sdílet
Vložit
  • čas přidán 1. 06. 2024
  • Header Checksum Field in IPv4 Header
    We will try to understand Header Checksum Field in IPv4 Header in this class.
    We have already discussed the Time to Live TTL field in the IPv4 header in our previous class.
    Header Checksum Field in IPv4 Header
    How to calculate the header checksum?
    Divide the IP header into 16-bit words, sum each of them up, and finally do one’s complement of the sum. Then the value generated out of this operation would be the checksum.
    We will consider a header and group the header bits as the 16-bit group to understand this.
    The grouping of the bits of the header checksum is done as shown below.
    STEP 1: Grouping the header bits
    STEP 2: Summing up each group
    STEP 3: One’s Compliment of the Final Sum
    The final result is placed in the header checksum field and send to the receiver.
    How the checksum is verified at the receiver?
    After receiving the packet the header checksum value is removed and replaced with all zeros.
    Now the same procedure is repeated and compared with the value sent by the sender.
    If both the values are the same then the packet is forwarded to the upper layer else discarded.
    #computernetworks #gatecse #learningmonkey #computernetworking
    Link for playlists:
    / @learningmonkey
    Link for our website: learningmonkey.in
    Follow us on Facebook @ / learningmonkey
    Follow us on Instagram @ / learningmonkey1
    Follow us on Twitter @ / _learningmonkey
    Mail us @ learningmonkey01@gmail.com

Komentáře • 9

  • @mohsinqureshi6850
    @mohsinqureshi6850 Před 7 měsíci

    this is some next level explanation , hats off

  • @occy222
    @occy222 Před rokem

    Thank you so much sir for good knowledge

  • @raulcasquinha
    @raulcasquinha Před 4 měsíci

    Thank you a lot for the fast and simple explanations with good examples

  • @franciscorepetto2482
    @franciscorepetto2482 Před 3 měsíci

    You save my life man. Thank you very much

  • @sureshthervy
    @sureshthervy Před rokem +1

    Bro really excellent ....clearly explained...

    • @sureshthervy
      @sureshthervy Před rokem

      What is the exact data present in the data field of header?

  • @somnathyadav2836
    @somnathyadav2836 Před rokem

    As TTL field changes at every router then TTL field will be defferent on sender and receiver.
    Then how header checksum will verify error??

    • @endunry
      @endunry Před rokem +1

      Everyone changing the Header needs to update the Checksum accordingly. Otherwise the checksum wouldnt be that useful (im just guessing that, but that would make sense to me)