Академический Документы
Профессиональный Документы
Культура Документы
Objectives
Describe ICMP Describe the ICMP message format Identify ICMP error message types Identify potential causes of specific ICMP error messages Describe ICMP control messages Identify a variety of ICMP control messages used in networks today Determine the causes for ICMP control messages
2
Table of Content 1 Overview of TCP/IP Error Message 2 TCP/IP Suite Control Messages
ICMP C
Workstation 6
Workstation 1
TCP
UDP
Destination unreachable Echo (Ping) Others
ARP
RARP
IP
ICMP
ICMP simply sends error message to the sender of the data, indicating that problems occurred with data delivery ICMP is the component of the TCP/IP protocol stack that addresses this basic limitation of IP. It does not propagate information about network changes to routers. Does not correct the encountered network problem ICMP do not overcome the unreliability limitation that
6
8 Code
16 Checksum
31
Destination unreachable
I don not know How to get to Z! Send ICMP A To Z Destination unreachable C Data network
Send Data To Z
The value of 3 in the type field indicates it is a destination unreachable message. The code value indicates the reason the packet could not be delivered.
9
The value of 0 in the type field indicates it is the echo request. The value of 8 in the type field indicates it is the echo reply.
1
Parameter problem. When the code value is 0, the pointer field indicates the octet of the datagram that produced the error.
1
When the TTL of the datagram value reaches zero, the packet is discarded. ICMP uses a time exceeded message to notify the source device that the TTL of the datagram has been exceeded
Unlike error messages, control messages are used to inform hosts of conditions such as network congestion or the existence of a better gateway to a remote network. Like all ICMP messages, ICMP control messages are encapsulated within an IP datagram. ICMP uses IP datagrams in order to traverse multiple networks.
Router A
172.16.1.100 E 0 E 0
Router B
172.16.1.200
Router A sends an ICMP redirect/change request to Host B telling it to use Router B as the gateway to forward all future requests to
The Router Internet Address field in the ICMP redirect is the IP address that should be used as the default gateway for a particular network.
1
Allows a host to ask for the current time according to the remote host. More robust protocols such as Network Time Protocol (NTP) at the upper layers of the TCP/IP protocol stack perform clock synchronization in a more reliable manner.
Originally intended to allow a host to determine its network number, is considered obsolete. Other protocols such as BOOTP and Dynamic Host Configuration Protocol (DHCP) are now used to allow hosts to obtain their network numbers.
If a host does not know the subnet mask, it may send an address mask request to the local router or broadcast. When the router receives the request, it will respond with an address mask reply. This address mask reply will identify the correct
Hosts use router discovery message to learn of available routers (gateway). Using the multicast address 224.0.0.2 as the destination address. May also be broadcast. If router that does not support the discovery process, the solicitation will go unanswered.
2
A host generates an ICMP router solicitation message in response to a missing default gateway.
This message is sent via multicast and it is the first step in the router discovery process. A local router will respond with a router advertisement identifying the default gateway for the local host.
2
w lo S
k lin
ICMP source-quench messages are used to reduce the amount of data lost. The source-quench message asks senders to reduce the rate at which they are transmitting packets. Most Cisco routers do not send source-quench messages by default
2
Summary
IP uses Internet Control Message Protocol (ICMP) to notify the sender of data that there was an error in the delivery process. ICMP messages are transmitted using the IP protocol so their delivery is unreliable. ICMP echo request and echo reply messages allow the network administrator to test IP connectivity to aid in the troubleshooting process.
Q&A