Welcome to TCP/IP Part 5

Internet Control Message Protocol (ICMP) works at the Network Layer (Layer 3) and is used by Internet Protocol for several different purposes. ICMP is a managing protocol and messaging service provider for Internet Protocol.  The ICMP messages are carried as IP datagrams that afford a host’s capability to discover routes to gateways.  ICMP packets can provide hosts with information about network problems and are encapsulated within IP datagrams.

Destination Unreachable is where a router cannot send an IP datagram any further to its intended destination, it therefore uses ICMP to send a message back to the sender advising it that the destination Host is unreachable.

When Host A sends a packet whose destination is Host B, the Lab_B router is what sends and ICMP destination unreachable message back to the sending device, or Host A.

 

Buffer Full is the message sent out to the sending Host by using ICMP and will continue to do so until the congestion has subsided.

 

Hops is the number of routers and IP datagram is permitted to travel, or pass through, if it reaches its limit before arriving at its destination Host the last router to receive that datagram then deletes or drops it.  That router will then use ICMP to send a message back to the sending Host of the loss of the datagram due to the maximum number of hops.

 

Ping (Packet Internet Groper) uses ICMP echo requests and reply messages to check both the physical and logical connectivity of a Host to a network, or internetwork. 

 

Traceroute uses ICMP time-outs and is used to discover the path a packet as it travels through an internetwork.

 

Perhaps it would be good to see the routing of a packet, please click on the URL below the ICMP packet figure.

 

http://images.search.yahoo.com/images/view;_ylt=A0PDoV4r9o9QtGwAXYyJzbkF;_ylu=X3oDMTBlMTQ4cGxyBHNlYwNzcgRzbGsDaW1n?back=http%3A%2F%2Fimages.search.yahoo.com%2Fsearch%2Fimages%3Fp%3Dicmp%2Berror%2Bmessage%26n%3D30%26ei%3Dutf-8%26y%3DSearch%26fr%3Dmoz35%26tab%3Dorganic%26ri%3D16&w=1280&h=720&imgurl=1.bp.blogspot.com%2F-Iixky_-4r8w%2FTc6L_ZOHO7I%2FAAAAAAAAAKc%2FALnRDFPUTxg%2Fs1600%2FICMP%2BPacket.gif&rurl=http%3A%2F%2Frajeshkannab.hubpages.com%2Fhub%2FWhat-a-router-does&size=899.7+KB&name=…+then+routers+drop+the+packet+and+generates+an+%3Cb%3Eicmp+error+message%3C%2Fb%3E&p=icmp+error+message&oid=e695ad36564f15671e9409c3b9ebcf84&fr2=&fr=moz35&tt=…%2Bthen%2Brouters%2Bdrop%2Bthe%2Bpacket%2Band%2Bgenerates%2Ban%2B%253Cb%253Eicmp%2Berror%2Bmessage%253C%252Fb%253E&b=0&ni=120&no=16&ts=&tab=organic&sigr=11n5mar3l&sigb=13jlmdmmd&sigi=12ojn1qo7&.crumb=EMay3CSV8Mf

ICMP in Action shows how the dropped packet will be handled.  Server 1 (10.1.2.2) Telnets to a Host (10.1.1.5) using the DOS prompt.  The packet will be sent to the default gateway, since the Server (1) has no knowledge as to where 10.1.1.0 is located.  The default gateway will drop the packet because there is no listing of 10.1.1.0 in the routing table of the router.  After dropping the packet, the router will send an ICMP packet to Server 1 stating that the destination is unreachable.

See also: Part 1, Part 2, Part 3, Part 4, Part 5

 

Works Cited

Lammle, T. (2007). CCNA Cisco Certified Network Associate Study Guide. Indianapolis: Wiley Publishing, Inc.

Odom, W. (2012). Official Cert Guide ICND1 640-822. Indianapolis, IN: Cisco Press.

Odom, W. (2011). Official Cert Guide ICND2 640-816. Indianapolis, IN: Cisco Press.

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s