Calculate the checksum for the following ICMP packet:
Type: Echo Request
Sequence number: 25
Assume that message is divided into 8-bits(1 bytes)
Checksum is of 16 bits so we have to make everything of 16 bits either by padding or by grouping So,
Type =8 and Code =0 (For ICMP packet) 0800 in hex
Similarly Identifier 7B in hex , Sequence number = 19 in hex , H & E = 4845 , L & L = 4C4C ....Now O gets left out now my doubt is while padding O with 0(zeros) we have to pad it after the Letter O or before letter O.........Somewhere I read it will be 004F but it should be 4F00 right????