19.07.2013 Views

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Troubleshooting IP<br />

- Internet Control Message Protocol (ICMP) is a TCP/IP protocol that was designed specifically<br />

to help manage and control the operation of TCP/IP networks. It provides a wide variety of<br />

information about the operational status of a network.<br />

- ICMP is considered as a part of the network layer. ICMP messages are encapsulated within IP<br />

packets and sent using the basic IP header only, with no transport layer header at all – it is really<br />

just an extension of the network layer.<br />

- Below lists some ICMP message types and their usages:<br />

Message Usage<br />

Echo Request (Type 8)<br />

and Echo Reply (Type 0)<br />

Used by the ping command when testing network connectivity.<br />

Destination Unreachable Used to notify the source host that there is a problem when<br />

(Type 3)<br />

delivering a packet.<br />

Redirect (Type 5) Sent by a router to notify the sender to use a better route for<br />

subsequent connection attempts.<br />

Time Exceeded<br />

(Type 11)<br />

Used to notify a host when a packet sent by it has been discarded<br />

due the time for a packet to exist in a network (Time-to-Live,<br />

TTL) when being delivered to the destination has expired.<br />

- ICMP Destination Unreachable messages are sent to notify the sender when a message cannot<br />

be delivered to the destination host. Packet delivery can fail with many reasons. Below lists the 5<br />

common ICMP Unreachable codes that can be sent in ICMP Destination Unreachable messages:<br />

Unreachable Code When it is being sent? Typically sent by<br />

Network Unreachable Unable to match a packet’s destination network Routers<br />

(Code 0)<br />

in the routing table and therefore unable to<br />

forward the packet.<br />

Host Unreachable<br />

(Code 1)<br />

Can’t Fragment<br />

(Code 4)<br />

Protocol Unreachable<br />

(Code 2)<br />

Port Unreachable<br />

(Code 3)<br />

A packet can be routed to the router attached to<br />

the destination network, but the destination host<br />

is not responding to ARP Request sent by the<br />

router.<br />

Note: <strong>Cisco</strong> routers do not generate<br />

Host Unreachable ICMP messages.<br />

A packet has the Don’t Fragment (DF) bit set,<br />

but the router must fragment the packet in order<br />

to forward it.<br />

A packet is delivered to the destination host,<br />

but the transport layer protocol is not available<br />

or running on that host. This is very unlikely to<br />

happen as most operating systems that support<br />

TCP/IP should have provided IP, TCP and UDP<br />

services.<br />

A packet is delivered to the destination host,<br />

but there is no application listening to the<br />

destination port number.<br />

72<br />

Routers<br />

Routers<br />

Endpoint hosts<br />

Endpoint hosts<br />

Copyright © 2008 Yap Chin Hoong<br />

yapchinhoong@hotmail.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!