Download CCNA2 3.0-09 Basic Router Troubleshooting

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

AppleTalk wikipedia , lookup

Peering wikipedia , lookup

Network tap wikipedia , lookup

RapidIO wikipedia , lookup

IEEE 802.1aq wikipedia , lookup

Asynchronous Transfer Mode wikipedia , lookup

Zero-configuration networking wikipedia , lookup

Airborne Networking wikipedia , lookup

Computer network wikipedia , lookup

Cracking of wireless networks wikipedia , lookup

Multiprotocol Label Switching wikipedia , lookup

Serial digital interface wikipedia , lookup

Deep packet inspection wikipedia , lookup

Wake-on-LAN wikipedia , lookup

IEEE 1355 wikipedia , lookup

Internet protocol suite wikipedia , lookup

UniPro protocol stack wikipedia , lookup

Recursive InterNetwork Architecture (RINA) wikipedia , lookup

Routing wikipedia , lookup

Routing in delay-tolerant networking wikipedia , lookup

Transcript
Module 9
Basic Router
Troubleshooting
Version 3.0
1
The Routing Table and show ip route
command
• Routers build routing tables to:
– list available routes for forwarding
data
– select the best path to a destination
• show ip route displays routing table
information about all known networks
and subnetworks
Version 3.0
2
Example routing table
•When RTA receives a packet destined for 192.168.4.46,
it looks for the prefix 192.168.4.0/24 in its table.
•RTA then forwards the packet out an interface
(Ethernet0) based on the routing table entry. If RTA
receives a packet destined for 10.3.21.5, it sends that
packet out Serial 0/0.
Version 3.0
3
Example routing table
•4 routes – directly connected
•The router will drop any packet destined for a network
not listed in the routing table
•So what do you do with those packets that this router
doesn’t have a route to?
........................
Version 3.0
4
Add routes needed by:
• Static routing
– administrator types them in, so they
are:
• more secure
• low processor overhead
• have precise control of path selection
• Dynamic routing
– router learns route from other routers,
dynamically
Version 3.0
5
Gateway of last resort (default static
route)
2 ways to statically configure default routes:
– ip default network [network number]
– ip route 0.0.0.0 0.0.0.0 [next-hop interface or
exit-interface]
Version 3.0
6
ip default-network
Version 3.0
7
ip route
Version 3.0
8
Routing processes
• Remember that the IP source and destination
do not change in the packet, but the MAC
addresses do change.
• The packet is forwarded based on the MAC
address of the next hop.
• Layer 3 address is always used in routing, but
the MAC address has to change because the
data is framed as it moves out on the data link
layer.
Source to destination --- we’re always talking about
network addressing
Version 3.0
9
Route Metrics
• Routing protocols use metrics to
determine the best route to a
destination.
• The metric is a value that measures
the desirability of a route.
• The smaller the metric number, the
better the path.
Version 3.0
10
RIP uses Hop
count ONLY
M
E
T
R
I
C
S
Version 3.0
11
Route Metrics
• The more factors that make up a metric, the greater
the flexibility to tailor network operations to meet
specific needs.
• By default, IGRP uses the static factors bandwidth
and delay to calculate a metric value (so bandwidth
and delay can actually be entered by the
administrator).
• IGRP may also be configured to include the dynamic
factors, load and reliability, in the metric calculation.
• Remember, IGRP uses the metric
• Metric = bandwidth + delay
Be sure to do the Interactive Media Activity in 9.1.6
Version 3.0
12
Troubleshooting
Version 3.0
13
Testing by OSI Layers
• Layer 1 – check obvious first (lights on a NIC)
–
–
–
–
–
–
–
–
–
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
Version 3.0
14
Testing by OSI Layers
• Layer 2 errors:
– 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
Version 3.0
15
Testing by OSI Layers
• Layer 3 errors:
– Routing protocol not enabled
– Wrong routing protocol enabled
– Incorrect IP addresses
– Incorrect subnet masks
Version 3.0
16
ping utility (Layer 3 testing)
Maybe the host isn’t available
Version 3.0
17
Telnet application (Layer 7 testing)
• Actually verifies all seven layers
of the OSI
• If telnet is not working, then that
means that there are upper-layer
application layer problems.
Version 3.0
18
Show interfaces serial 9.3.1 (error in graphic 1)
Interpreting the Show Interfaces Serial Command
One of the most important elements of the show
interfaces serial command output is the display of the
line and data link protocol status.
The line status is triggered by
a Carrier Detect signal, and
refers to the physical layer
status. However, the line
protocol, triggered by
keepalive frames, refers to the
data link framing.
Know all of these!
Version 3.0
19
Show interfaces
•
•
•
•
Used to discover Layer 1 & Layer 2 problems w/ router
When the line is down, the protocol is always down, because there is no
useable media for the Layer 2 protocol.
If the interface is up and the line protocol is down, a Layer 2 problem
exists (no keepalives, no clock rate, encap different)
You would never see serial1 is down, line protocol is up
Version 3.0
20
Show ip protocols
• Shows sources of routing updates
• The networks being advertised
• Update timer values
– Ex. If a network is not being included in the
routing updates and should be, an
administrator could issue this command to
see which networks ARE being advertised
Version 3.0
21
debug
• Be Careful!!!
• Debug will give you live, changing information.
• Therefore it will use processor time that may
disrupt normal router operation
• Especially should not use “debug all”, but be
more specific, like
– debug ip rip (only live info on rip routing ip)
• To turn off debug, use “undebug all” , or u all
Version 3.0
22