InterviewSolution
Saved Bookmarks
| 1. |
Solve : Ping Command Output? |
|
Answer» If we are pinging with 56 bytes, why does it show 64 bytes when actually pinging? If we are pinging with 56 bytes, why does it show 64 bytes when actually pinging? All ICMP PACKETS have an 8 byte header and variable sized data section. The first 4 bytes of the header will be consistent. The first byte is for the ICMP TYPE. The SECOND byte is for the ICMP code. The third and fourth bytes are a CHECKSUM of the entire ICMP message. The contents of the remaining 4 bytes of the header will vary based on the ICMP type and code. In this CASE (ICMP echo request and replies), they will be composed of identifier (16 bits) and sequence number (16 bits). |
|