IP Header: Type of Service (TOS) Total Length
IP Header: Type of Service (TOS) Total Length
Offset
IP Header
0
1
IHL (Header
Length)
Version
2
Type of Service (TOS)
Total Length
IP Flags
x D M
Identification
Fragment Offset
Protocol
Header Checksum
IHL
(Internet
Header
Length)
12
Source Address
16
Destination Address
20
Bit
Nibble
Byte
1
8 9 0
Word
2
0
Version
Protocol
Fragment Offset
1
2
6
9
ICMP
IGMP
TCP
IGRP
17
47
50
51
UDP
GRE
ESP
AH
57
88
89
115
SKIP
EIGRP
OSPF
L2TP
Header Length
Number of 32-bit words in
TCP header, minimum value
of 5. Multiply by 4 to get byte
count.
20
Bytes
Total Length
Total length of IP datagram,
or IP fragment if fragmented.
Measured in Bytes.
Header Checksum
Checksum of entire IP
header
IP Flags
x D M
x 0x80 reserved (evil bit)
D 0x40 Do Not Fragment
M 0x20 More Fragments
follow
RFC 791
Please refer to RFC 791 for
the complete Internet
Protocol (IP) Specification.
Copyright 2004 - Matt Baxter - [email protected]
3
0