Professional Documents
Culture Documents
Internet Protocol Version 4
Internet Protocol Version 4
(IPv4)
Chapter 7
Position of IP in TCP/IP Protocol Suite
2
IP Datagram
3
Fragmentation
IP datagram
Flags Field
4
Protocol Field
5
Header Checksum
Receiver
Section 1 n bits
Section 2 n bits
..............
Checksum n bits
..............
n bits Section k n bits
Checksum
Packet Sum n bits
Complement
If the result is 0, keep;
n bits otherwise, discard.
Result
6
Service Type
x x x 0 0 0 x x x x x 0
Precedence x x x x 1 1
interpretation
x x x x 0 1
Differential service
interpretation
7
Options
Option Format
Number
8
No-Operation Option
9
End-of-Option Option
10
Record-Route Option
11
Record-Route Example
7 15 4 7 15 8 7 15 12 7 15 16
140.10.6.3 140.10.6.3 140.10.6.3
200.14.7.9 200.14.7.9
138.6.22.26
67.34.30.6 138.6.25.40
67.14.10.22
138.6.22.26
200.14.7.14
140.10.6.3
140.10.5.4
12
Strict-Source-Route Option
13
Strict-Source-Route Example
138.6.22.26
200.14.7.14
140.10.6.3
140.10.5.4
200.14.7.9
67.0.0.0/24 140.10.0.0/16 200.14.7.0/24 138.6.0.0/16
Network Network Network Network
14
Loose-Source-Route Option
15
Timestamp Option
16
Use of Flags in Timestamp
17
Timestamp Example
68 28 5 0 1 68 28 13 0 1 68 28 21 0 1 68 28 29 0 1
140.10.6.3 140.10.6.3 140.10.6.3
36000000 36000000 36000000
200.14.7.9 200.14.7.9
36000012 36000012
138.6.22.26
36000020
67.34.30.6 138.6.25.40
67.14.10.22
138.6.22.26
200.14.7.14
140.10.6.3
140.10.5.4
200.14.7.9
67.0.0.0/24 140.10.0.0/16 200.14.7.0/24 138.6.0.0/16
Network Network Network Network
18