Docsity

Basic Router Troubleshooting - Computer Network - Lecture Slides, Slides of Computer Networks

Toggle sidebar
bg1
Semester 2 – Module 9
Module Objectives:
Use the show ip route command to gather detailed information about the routes installed on the router
Configure a default route or default network
Understand how a router uses both Layer 2 and Layer 3 addressing to move data through the network
Use the ping command to perform basic network connectivity tests
Use the telnet command to verify the application layer software between source and destination stations
Troubleshoot by sequential testing of OSI layers
Use the show interfaces command to confirm Layer 1 and Layer 2 problems
Use the show ip route and show ip protocol commands to identify routing issues
Use the show cdp command to verify Layer 2 connectivity
Use the traceroute command to identify the path packets take between networks
Use the show controllers serial command to ensure the proper cable is attached
Use basicdebugcommands to monitor router activity
Basic Router
Troubleshooting
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14

Partial preview of the text

Download Basic Router Troubleshooting - Computer Network - Lecture Slides and more Slides Computer Networks in PDF only on Docsity!

Semester 2 – Module 9

Module Objectives:

 Use the show ip route command to gather detailed information about the routes installed on the router  Configure a default route or default network  Understand how a router uses both Layer 2 and Layer 3 addressing to move data through the network  Use the ping command to perform basic network connectivity tests  Use the telnet command to verify the application layer software between source and destination stations  Troubleshoot by sequential testing of OSI layers  Use the show interfaces command to confirm Layer 1 and Layer 2 problems  Use the show ip route and show ip protocol commands to identify routing issues  Use the show cdp command to verify Layer 2 connectivity  Use the traceroute command to identify the path packets take between networks  Use the show controllers serial command to ensure the proper cable is attached  Use basic debug commands to monitor router activity

Basic Router

Troubleshooting

Show IP route

  • The show ip route command displays the contents of the IP routing table.
  • This table contains entries for all known networks and subnetworks, as well as a code that indicates how that information was learned.
  • The following are some additional commands that can be used with the show ip route command: - show ip route connected - show ip route network - show ip route rip - show ip route igrp - show ip route static

Layer 2 and 3 addresses

  • At each interface, as the packet moves across the network, the routing table is examined and the router determines the next hop.
  • The packet is then forwarded using the MAC address of that next hop.
  • The IP source and destination headers do not change, at any time.
  • The MAC address changes at each hop or router.
  • A data-link layer address is necessary because delivery within the network is determined by the address in the Layer 2 frame header, not the Layer 3 packet header.

Administrative Distance

• The administrative distance of the route is

the key information that the router uses in

deciding which is the best path to a

particular destination

• The lower the administrative distance, the

more trustworthy the source

Determining 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

Introduction to Network Testing

• Basic testing of a network should proceed

in sequence from one OSI reference

model layer to the next. It is best to begin

with Layer 1 and work to Layer 7 if

necessary

Testing by layers

  • Layer 1 errors can include:
    • Broken cables
    • Disconnected cables
    • Cables connected to the wrong ports
    • Intermittent cable connection
    • Wrong cables used for the task at hand (must use rollovers, crossover cables, and straight-through cables correctly)
    • Transceiver problems
    • DCE cable problems
    • DTE cable problems
    • Devices turned off

Testing by layers

• Layer 2 errors can include:

  • Improperly configured serial interfaces
  • Improperly configured Ethernet interfaces
  • Improper encapsulation set (HDLC is default

for serial interfaces)

  • Improper clockrate settings on serial

interfaces

  • Network interface card (NIC) problems

Layer 1 with Show interfaces

  • The status of two important portions of the interfaces is shown with the show interfaces command. - They are the physical (hardware) portion and logical (software) portion. These can be related to the Layer 1 and the Layer 2 functions
  • An increasing number of carrier transitions counts on a serial link may indicate one or more of the following problems: - Line interruptions due to problems in the service provider network. - Faulty switch, DSU, or router hardware.
  • Another area to examine is number of interface resets. These are the result of too many missed keepalives
  • Use the clear counters command to reset the counters to zero

Layer 2 with Show Interfaces

• If the interface is up and the line protocol

is down, a Layer 2 problem exists. Among

the possible causes are:

  • No keepalives
  • No clock rate
  • Mismatch in encapsulation type

Troubleshooting Using Traceroute

  • The traceroute command is used to discover the routes that packets take when traveling to their destination.
  • Traceroute can also be used to help test the network layer (Layer 3) on a hop-by-hop basis and provide performance benchmarks.
  • Traceroute output will also indicate the specific hop at which the failure is occurring. For each router in the path a line of output is generated on the terminal indicating the IP address of the interface that the data entered. If an asterisk (*) appears, the packet failed.

Troubleshooting Routing

  • The show ip route command is perhaps the

single most important command for

troubleshooting routing issues.

  • This command displays the contents of the IP

routing table.

  • The output from the show ip route command

shows the entries for all known networks and

subnetworks, and how that information was

learned.

Troubleshooting with Show Controllers

  • Regardless of the controller type, the show

controllers serial command produces a

tremendous amount of output.

  • Other than the cable type, most of this output is

internal technical detail regarding the controller

chip status.

  • Without specific knowledge of the integrated

circuit, this information is of little use.

Intro to Debug

• The debug command is used to display

dynamic data and events

• Another IOS software service that will

enhance the usefulness of the debug

output is the timestamps command

• Warning: The debug all command should

be used sparingly as this can disrupt

router operations.