interface Serial0/0

ip address 192.168.1.1 255.255.255.0 no ip directed-broadcast

no fair-queue clockrate 56000

!

interface FastEthernet0/0

ip address 192.168.0.1 255.255.255.0 no ip directed-broadcast

no keepalive

!

ip classless

ip route 192.168.2.0 255.255.255.0 Serial0

The show ip route command is used to make sure that the static route is present in the routing table.

The output of show ip route is as follows.

Show ip route output Rt1#show ip route

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B – BGP, D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area, N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2, E1 - OSPF external type 1, E2 - OSPF external type 2, E – EGP, i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area, * - candidate default, U - per- user static route, o – ODR, P - periodic downloaded static route

Gateway of last resort is not set

C192.168.0.0/24 is directly connected, FastEthernet0/0 C 192.168.1.0/24 is directly connected, Serial0/0

S 192.168.2.0/24 is directly connected, Serial0/0 Rt1#

6.1.6Troubleshooting static route configuration

The show interfaces command can be used to check the state and configuration of the interface that will be used for the route gateway. The ping command is used to determine if end-to-end connectivity exists. If an echo reply is not received after a ping, the traceroute command will be used to determine which router in the route path is dropping the packets.

67 - 238 CCNA 2: Routers and Routing Basics v3.1 Instructor Guide – Module 6

Copyright 2004, Cisco Systems, Inc.

Page 68
Image 68
Cisco Systems CCNA 2 manual Troubleshooting static route configuration, Show ip route output Rt1#show ip route