TCP/IP Detailed Flashcards
IP Header Fields
Version Header Length TOS Total Length Identification Flags Fragment Offset TTL Protocol Header Checksum Source Address Destination Address IP Options
IP Total Length field byte offset
offset 2
IP Identification field byte offset
offset 4
IP Flags field byte offset
7th byte high order 3 bits
Fragment Offset field byte offset
offset 7
TTL field byte offset
offset 8
Protocol field byte offset
offset 9
Header Checksum field byte offset
offset 10
Source Address field byte offset
offset 12
Destination Address field byte offset
offset 18
IP Options field byte offset
offset 20
Header Length minimum value
5 - multiply by 4 to get byte count
IP Header default length
20 bytes
Source IP field length
4 bytes
Destination IP field length
4 bytes
IP Flags
x reserved - High order 8th bit
D Do not fragment - High order 7th bit
M More fragments follow - High order 6th bit
IP RFC
791
IP protocol field - 0x01
1 - ICMP
IP protocol field - 0x11
17 - UDP
IP protocol field - 0x06
6 - TCP
IP protocol field - 0x02
2 - IGMP
TCP Header fields
Source Port Destination Port Sequence Number Acknowledgment number Offset Reserved Flags Window Checksum Urgent Pointer TCP Options
UDP Header fields
Source Port
Destination Port
Length
Checksum
TCP RFC
793
UDP RFC
768
ICMP Header Fields
Type
Code
Checksum
Other message specific info
Source Port field byte offset
offset 0
Destination Port field byte offset
offset 2
Sequence Number field byte offset
5th-8th bytes offset 4
Acknowledgment Number field byte offset
9th-12th bytes offset 8
TCP offset field byte offset
high order nibble; offset 12
TCP Flags field byte offset
offset 13
Window field byte offset
offset 14
TCP Checksum field byte offset
offset 16
TCP Urgent pointer field byte offset
offset 18
TCP Flags from low byte order
FIN SYN RST PSH ACK URG ECN CWR