Chapter 8 TCP/IP Suite Error and Control Messages/ Basic Router Troubleshooting

52
1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 8 TCP/IP Suite Error and Control Messages/ Basic Router Troubleshooting

description

Chapter 8 TCP/IP Suite Error and Control Messages/ Basic Router Troubleshooting. Objectives. Internet Control Message Protocol (ICMP). Error Reporting and Error Correction. ICMP is an error - reporting protocol for IP. ICMP Message Delivery. - PowerPoint PPT Presentation

Transcript of Chapter 8 TCP/IP Suite Error and Control Messages/ Basic Router Troubleshooting

Page 1: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

1© 2004, Cisco Systems, Inc. All rights reserved.

Chapter 8

TCP/IP Suite Error and Control Messages/ Basic Router Troubleshooting

Page 2: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

222© 2004, Cisco Systems, Inc. All rights reserved.

Objectives

Page 3: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

333© 2004, Cisco Systems, Inc. All rights reserved.

Internet Control Message Protocol (ICMP)

Page 4: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

444© 2004, Cisco Systems, Inc. All rights reserved.

Error Reporting and Error Correction

• ICMP is an error-reporting protocol for IP.

Page 5: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

555© 2004, Cisco Systems, Inc. All rights reserved.

ICMP Message Delivery

• ICMP messages are encapsulated as data in datagrams in the same way any other data is delivered using IP.

Page 6: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

666© 2004, Cisco Systems, Inc. All rights reserved.

Unreachable Networks

Page 7: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

777© 2004, Cisco Systems, Inc. All rights reserved.

Ping

Page 8: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

888© 2004, Cisco Systems, Inc. All rights reserved.

Detecting Excessively Long Routes

• Whether the actual path includes too many hops or a circular routing path exists, the packet will eventually reach the end of its life, known as its time-to-live (TTL).

Page 9: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

999© 2004, Cisco Systems, Inc. All rights reserved.

ICMP Message Types

Page 10: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

101010© 2004, Cisco Systems, Inc. All rights reserved.

Destination Unreachable Message

Page 11: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

111111© 2004, Cisco Systems, Inc. All rights reserved.

Code Values for Destination Unreachable Messages

Page 12: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

121212© 2004, Cisco Systems, Inc. All rights reserved.

TCP/IP Suite Control 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.

Page 13: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

131313© 2004, Cisco Systems, Inc. All rights reserved.

ICMP Redirect/Change Requests

The default gateway of the host may need to use a redirect/change request to inform the host of the best path to a certain network.

Page 14: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

141414© 2004, Cisco Systems, Inc. All rights reserved.

Clock Synchronization and Transit Time Estimation

• The ICMP timestamp request message allows a host to ask for the current time according to the remote host.

• The remote host uses an ICMP timestamp reply message to respond to the request.

Page 15: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

151515© 2004, Cisco Systems, Inc. All rights reserved.

Address Mask Requirements

• When a network administrator uses the process of subnetting to divide a major IP address into multiple subnets, a new subnet mask is created.

Page 16: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

161616© 2004, Cisco Systems, Inc. All rights reserved.

Router Discovery Message

• When a host on the network boots, and the host has not been manually configured with a default gateway, it can learn of available routers through the process of router discovery.

Page 17: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

171717© 2004, Cisco Systems, Inc. All rights reserved.

Router Solicitation Message

• A host generates an ICMP router solicitation message in response to a missing default gateway.

Page 18: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

181818© 2004, Cisco Systems, Inc. All rights reserved.

Congestion and Flow Control Messages

ICMP source-quench messages are used to reduce the amount of data lost from congestion.

Page 19: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

191919© 2004, Cisco Systems, Inc. All rights reserved.

Summary

Page 20: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

20© 2004, Cisco Systems, Inc. All rights reserved.

Basic Router Troubleshooting

Page 21: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

212121© 2004, Cisco Systems, Inc. All rights reserved.

Objectives

Page 22: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

222222© 2004, Cisco Systems, Inc. All rights reserved.

The show ip route Command

The show ip route command displays the contents of the IP routing table.

Page 23: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

232323© 2004, Cisco Systems, Inc. All rights reserved.

Static Routing

Page 24: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

242424© 2004, Cisco Systems, Inc. All rights reserved.

Dynamic Routing

Page 25: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

252525© 2004, Cisco Systems, Inc. All rights reserved.

Default Route

Page 26: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

262626© 2004, Cisco Systems, Inc. All rights reserved.

Configuring a Default Route

Page 27: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

272727© 2004, Cisco Systems, Inc. All rights reserved.

Determining Route Source and Destination

Page 28: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

282828© 2004, Cisco Systems, Inc. All rights reserved.

Determining L2 and L3 Addresses

Page 29: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

292929© 2004, Cisco Systems, Inc. All rights reserved.

Determining Administrative Distance

Page 30: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

303030© 2004, Cisco Systems, Inc. All rights reserved.

Determining the Route Metric

Routing protocols use metrics to determine the best route to a destination.

Page 31: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

313131© 2004, Cisco Systems, Inc. All rights reserved.

Determining the Route Next Hop

• Destination next hop associations determine the best path and which router to forward the packet to next. This router represents the next hop on the way to the final destination.

Page 32: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

323232© 2004, Cisco Systems, Inc. All rights reserved.

Determining the Last Routing Update

• Use the following commands to find the last routing update:

show ip route

show ip route network

show ip protocols

show ip rip database

Page 33: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

333333© 2004, Cisco Systems, Inc. All rights reserved.

Observing Multiple Paths to a Destination

• Some routing protocols support multiple paths to the same destination.

• Unlike single path algorithms, these multi-path algorithms permit traffic over multiple lines, provide better throughput, and are more reliable.

Page 34: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

343434© 2004, Cisco Systems, Inc. All rights reserved.

Introduction to Network Testing

Page 35: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

353535© 2004, Cisco Systems, Inc. All rights reserved.

Structured Approach to Troubleshooting

Page 36: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

363636© 2004, Cisco Systems, Inc. All rights reserved.

• Broken cables • Disconnected cables • Cables connected to the

wrong ports • Intermittent cable connection • Wrong cables used for the

task at hand • Transceiver problems • DCE cable problems • DTE cable problems • Devices turned off

Typical Layer 1 Errors

Page 37: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

373737© 2004, Cisco Systems, Inc. All rights reserved.

• Improperly configured serial interfaces

• Improperly configured Ethernet interfaces

• Improper encapsulation set • Improper clock rate settings

on serial interfaces • Network interface card (NIC)

problems

Typical Layer 2 Errors

Page 38: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

383838© 2004, Cisco Systems, Inc. All rights reserved.

• Routing protocol not enabled • Wrong routing protocol

enabled • Incorrect IP addresses • Incorrect subnet masks

Typical Layer 3 Errors

Page 39: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

393939© 2004, Cisco Systems, Inc. All rights reserved.

Layer 1 Problems in a Network

Page 40: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

404040© 2004, Cisco Systems, Inc. All rights reserved.

Layer 3 Troubleshooting Using Ping

Page 41: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

414141© 2004, Cisco Systems, Inc. All rights reserved.

Layer 7 Troubleshooting Using Telnet

Page 42: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

424242© 2004, Cisco Systems, Inc. All rights reserved.

Troubleshooting Layer 1 Using show interfaces Command

The show interfaces serial command

Page 43: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

434343© 2004, Cisco Systems, Inc. All rights reserved.

Troubleshooting Layer 2 Using show interfaces Command

Page 44: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

444444© 2004, Cisco Systems, Inc. All rights reserved.

Troubleshooting Using show cdp neighbors Command

Page 45: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

454545© 2004, Cisco Systems, Inc. All rights reserved.

Troubleshooting Using show cdp neighbors detail Command

Page 46: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

464646© 2004, Cisco Systems, Inc. All rights reserved.

Troubleshooting Using traceroute Command

Page 47: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

474747© 2004, Cisco Systems, Inc. All rights reserved.

Troubleshooting Routing Issues

The show ip route Command

Page 48: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

484848© 2004, Cisco Systems, Inc. All rights reserved.

Troubleshooting Routing Issues

The show ip protocols Command

Page 49: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

494949© 2004, Cisco Systems, Inc. All rights reserved.

Troubleshooting Using show controllers serial Command

The show controllers serial Command

Page 50: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

505050© 2004, Cisco Systems, Inc. All rights reserved.

Introduction to debug

Debug syntax

Page 51: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

515151© 2004, Cisco Systems, Inc. All rights reserved.

Summary

Page 52: Chapter 8 TCP/IP Suite Error and  Control Messages/ Basic Router Troubleshooting

525252© 2004, Cisco Systems, Inc. All rights reserved.

Question/Answer