Title: Internet Control
1Chapter 9
Internet Control Message Protocol (ICMP)
2CONTENTS
- TYPES OF MESSAGES
- MESSAGE FORMAT
- ERROR REPORTING
- QUERY
- CHECKSUM
- ICMP PACKAGE
3Figure 9-1
Position of ICMP in the network layer
4Figure 9-2
Encapsulation of ICMP packet
5TYPES OF MESSAGES
6Figure 9-3
ICMP messages
7MESSAGE FORMAT
8Figure 9-4
General format of ICMP messages
9ERROR REPORTING
10(No Transcript)
11Figure 9-5
Error-reporting messages
12(No Transcript)
13Figure 9-6
Contents of data field for error messages
14Figure 9-7
Destination-unreachable format
15(No Transcript)
16(No Transcript)
17(No Transcript)
18(No Transcript)
19Figure 9-8
Source-quench format
20(No Transcript)
21(No Transcript)
22(No Transcript)
23(No Transcript)
24(No Transcript)
25Figure 9-9
Time-exceeded message format
Code 0 Time to liveCode 1 Fragmentation
26(No Transcript)
27Figure 9-10
Parameter-problem message format
Code 0 Main header problemCode 1 Problem in
the option field
28Figure 9-11
Redirection concept
29(No Transcript)
30Figure 9-12
Redirection message format
Code 0 Network specificCode 1 Host
specificCode 2 Network specific (specified
service) Code 3 Host specific (specified
service)
31(No Transcript)
32QUERY
33Figure 9-13
Query messages
34(No Transcript)
35(No Transcript)
36(No Transcript)
37Figure 9-14
Echo-request and echo-reply message format
Ping command can use theses messages.
38Figure 9-15
Timestamp-request and timestamp-reply message
format
39(No Transcript)
40(No Transcript)
41Given the following information
42We can calculate
43Given the actual one-way time,
44We have
45(No Transcript)
46Figure 9-16
Mask-request and mask-reply message format
47Figure 9-17
Router solicitation message format
48Figure 9-18
Router advertisement message format
49CHECKSUM
50Figure 9-19
Example of checksum calculation
51ICMP PACKAGE
52Figure 9-20
ICMP package