Professional Documents
Culture Documents
9 Basic Router
Troubleshooting
CCNA 2 version 3.0
Note
Overview
Students completing this module should be able to:
Use the show ip route command to gather detailed information about the
Static Routing
Dynamic Routing
Default Routes
With IGRP:
Use ip default-network
Need specific or default route, so once packets arrive at
Cisco A it can forward those packets toward public
network.
With RIP:
Use 0.0.0.0/0 static route
Use default-information originate (IOS 12.0 and later)
RTA
192.168.2.0/24
.1
.2
s0
s0
RTB
192.168.3.0/24
.1
.2
s1
s0
RTC
192.168.4.0/24
.1
e0
192.168.4.10/24
Lets go through all of the stages these routers use to route and switch this
packet.
See if you can identify these two functions at each router.
Note: Data link addresses have been abbreviated.
192.168.1.0/24
.1
e0
192.168.1.10/24
00-10
0A-10
Data link destination address
00-10
RTA
192.168.2.0/24
.1
.2
e1
e0
00-20
0B-31
RTB
0A-10
192.168.3.0/24
.1
.2
s0
s0
RTC
IP Destination Address
192.168.4.0/24
Y
.1
e0
192.168.4.10/24
0C-22
0B-20
IP Source Address Other IP fields and data
192.168.4.10 192.168.1.10
If you do not remember, be sure to review our previous presentation, ARP The
Process and the Protocol
192.168.1.0/24
.1
e0
192.168.1.10/24
00-10
0A-10
Data link destination address
0B-31
RTA
192.168.2.0/24
.1
.2
e1
e0
00-20
0B-31
192.168.3.0/24
.1
.2
s0
s0
RTB
00-20
IP Destination Address
192.168.4.0/24
Y
.1
e0
192.168.4.10/24
0C-22
0B-20
IP Source Address Other IP fields and data
192.168.4.10 192.168.1.10
3
RTA ARP Cache
IP Address
MAC Address
192.168.2.2
0B-31
RTC
RTA to RTB
1. RTA looks up the IP destination address in its routing table.
192.168.4.0/24 has next-hop-ip address of 192.168.2.2 and an exit-interface of
e1.
Since the exit interface is on an Ethernet network, RTA must resolve the nexthop-ip address with a destination MAC address.
2. RTA looks up the next-hop-ip address of 192.168.2.2 in its ARP cache.
If the entry was not in the ARP cache, the RTA would need to send an ARP
request out e1. RTB would send back an ARP reply, so RTA can update its ARP
cache with an entry for 192.168.2.2.
192.168.1.0/24
.1
e0
192.168.1.10/24
00-10
0A-10
Data link destination address
0B-31
RTA
192.168.2.0/24
.1
.2
e1
e0
00-20
0B-31
192.168.3.0/24
.1
.2
s0
s0
RTB
00-20
IP Destination Address
192.168.4.0/24
Y
.1
e0
192.168.4.10/24
0C-22
0B-20
IP Source Address Other IP fields and data
192.168.4.10 192.168.1.10
3
RTA ARP Cache
IP Address
MAC Address
192.168.2.2
0B-31
RTC
192.168.1.0/24
.1
e0
192.168.1.10/24
00-10
0A-10
Data link destination address
RTA
192.168.2.0/24
.1
.2
e1
e0
00-20
0B-31
RTB
192.168.3.0/24
.1
.2
s0
s0
FFFF
RTC
IP Destination Address
192.168.4.0/24
Y
.1
e0
192.168.4.10/24
0C-22
0B-20
IP Source Address Other IP fields and data
192.168.4.10 192.168.1.10
1
2
Network
192.168.1.0/24
192.168.2.0/24
192.168.3.0/24
192.168.4.0/24
RTB to RTC
1. RTB looks up the IP destination address in its routing table.
192.168.4.0/24 has next-hop-ip address of 192.168.3.2 and an exit-interface of
s0 (serial 0).
Since the exit interface not on an Ethernet network, RTA does not need to
resolve the next-hop-ip address with a destination MAC address.
Remember, serial interfaces do not have MAC addresses.
192.168.1.0/24
.1
e0
192.168.1.10/24
00-10
0A-10
Data link destination address
RTA
192.168.2.0/24
.1
.2
e1
e0
00-20
0B-31
RTB
192.168.3.0/24
.1
.2
s0
s0
FFFF
RTC
IP Destination Address
192.168.4.0/24
Y
.1
e0
192.168.4.10/24
0C-22
0B-20
IP Source Address Other IP fields and data
192.168.4.10 192.168.1.10
1
2
Network
192.168.1.0/24
192.168.2.0/24
192.168.3.0/24
192.168.4.0/24
RTB to RTC
2. Data link destination address and frame encapsulation.
When the interface is a point-to-point serial connection, the Routing Table
process does not even look at the next-hop IP address.
Remember, a serial link is like a pipe - only one way in and only one way
out.
RTA now encapsulates the IP packet into the proper data link frame,
using the proper serial encapsulation (HDLC, PPP, etc.).
The data link destination address is set to a broadcast, since there is only
one other end of the pipe and the frame is now forwarded out serial 0.
192.168.1.0/24
.1
e0
192.168.1.10/24
00-10
0A-10
Data link destination address
0B-20
RTA
192.168.2.0/24
.1
.2
e1
e0
00-20
0B-31
192.168.3.0/24
.1
.2
s0
s0
RTB
0C-22
IP Destination Address
192.168.4.0/24
Y
.1
e0
192.168.4.10/24
0C-22
0B-20
IP Source Address Other IP fields and data
192.168.4.10 192.168.1.10
3
RTC ARP Cache
IP Address
MAC Address
192.168.4.10
0B-20
RTC
Network
192.168.1.0/24
192.168.2.0/24
192.168.3.0/24
192.168.4.0/24
RTC to Host Y
1. RTC looks up the IP destination address in its routing table.
192.168.4.0/24 is a directly connected network with an exit-interface of e0.
RTC realizes that this destination ip address is on the same network as one of its
interfaces and it can sent the packet directly to the destination and not another
router.
Since the exit interface is on an directly connected Ethernet network, RTC must
resolve the destination ip address with a destination MAC address.
2. RTC looks up the destination ip address of 192.168.4.10 in its ARP cache.
If the entry was not in the ARP cache, the RTC would need to send an ARP
request out e0. Host Y would send back an ARP reply, so RTC can update its
ARP cache with an entry for 192.168.4.10.
192.168.1.0/24
.1
e0
192.168.1.10/24
00-10
0A-10
Data link destination address
0B-20
RTA
192.168.2.0/24
.1
.2
e1
e0
00-20
0B-31
192.168.3.0/24
.1
.2
s0
s0
RTB
0C-22
IP Destination Address
192.168.4.0/24
Y
.1
e0
192.168.4.10/24
0C-22
0B-20
IP Source Address Other IP fields and data
192.168.4.10 192.168.1.10
3
RTC ARP Cache
IP Address
MAC Address
192.168.4.10
0B-20
RTC
Network
192.168.1.0/24
192.168.2.0/24
192.168.3.0/24
192.168.4.0/24
Not the best path, but the best source of routing information.
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) > what is the best source of routing information to a
particular destination.
Cisco routers will choose up to six equal cost paths to the same
destination network, four by default.
Router(config-router)#maximum-paths 6
Fast Switching vs. Process Switching (see presentation: Ch. 7
Distance Vector Routing Protocols, Part 1 of 2: Distance Vector
Routing and RIP)
This assumes the same routing protocols or the use of static
routes, as you cannot compare RIP metrics with IGRP metrics.
Administrative distance will always choose one routing source over
another, static routes over dynamic, IGRP over RIP, etc.
The variance command and IGRP/EIGRP is never explained in this
curriculum.
For more information about the variance command see:
How Does Unequal Cost Path Load Balancing (Variance) Work in
IGRP and EIGRP?
http://www.cisco.com/en/US/tech/tk365/tk207/technologies_tech_n
ote09186a008009437d.shtml
Network Testing
Different Models
Various commands