cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
487
Views
5
Helpful
2
Replies

icmp unreachable messages and ping codes

sarahr202
Level 5
Level 5

Hi every body.

My book says when we use ping, we could receive five poossible responses identified by code in the output. For example:

! echo reply received

. nothing was received, ping timed out

U Icmp unreachable( destination )

N icmp unreahable( network)

M can not fragment the packet

? unknown packet received.

=================================

Let say we are not using ping, we are using wireshark.

we can capture Icmp messages exchanged between hosts when trouble occurs .

According to book, ICmp unreachable messages can includes fives seperate unreacable codes that further identify why the packet cannot be delivered.

These codes are:

Network unreachable:

host unreacable

Can't fragment

protocol unreachable

port unreachable

what are the alphabitical codes to represent these above messages?

thanks a lot.

2 Replies 2

sarahr202
Level 5
Level 5

I did some research and found something. I am posting here if someone might be interested, may find it useful.

The codes are not represented by alphabets as is the case in ping. Rather they are represented by digits.

Below is the link.

http://www.tcpipguide.com/free/t_ICMPv4DestinationUnreachableMessages-3.htm#Table_89

Jon Marshall
Hall of Fame
Hall of Fame

Sarah

Just for your reference in case you haven't seen this here is the full list of ICMP type and codes -

http://www.iana.org/assignments/icmp-parameters

Jon

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card