Tuesday, April 5, 2016

Configuring Static Routing on CISCO 1800 Series Routers.








On R1
--------
R1>enable
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#ip route 11.0.0.0 255.0.0.0 10.1.1.2
R1(config)#ip route 12.0.0.0 255.0.0.0 10.1.1.2
R1(config)#ip route 13.0.0.0 255.0.0.0 10.1.1.2

Verify the Routes have been added :
-----------------------------------------------

R1# 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

C 9.0.0.0/8 is directly connected, FastEthernet0/0
C 10.0.0.0/8 is directly connected, Serial0/0/0
S 11.0.0.0/8 [1/0] via 10.1.1.2
S 12.0.0.0/8 [1/0] via 10.1.1.2
S 13.0.0.0/8 [1/0] via 10.1.1.2


On  R2
----------

R2>enable
R2#config t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#ip route 13.0.0.0 255.0.0.0 12.1.1.2
R2(config)#ip route 9.0.0.0 255.0.0.0 10.1.1.1

-----------------------------------------------------
Verify that the Routs have been added :
-----------------------------------------------------


%SYS-5-CONFIG_I: Configured from console by console

R2# 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

S 9.0.0.0/8 [1/0] via 10.1.1.1
C 10.0.0.0/8 is directly connected, Serial0/0/0
C 11.0.0.0/8 is directly connected, FastEthernet0/0
C 12.0.0.0/8 is directly connected, Serial0/0/1
S 13.0.0.0/8 [1/0] via 12.1.1.2


On  R3
----------
R3>enable
R3#config t
R3(config)#ip route 11.0.0.0 255.0.0.0 12.1.1.1
R3(config)#ip route 10.0.0.0 255.0.0.0 12.1.1.1
R3(config)#ip route 9.0.0.0 255.0.0.0 12.1.1.1

-------------------------------------------------- 
Verify if the Routes have been added :
-------------------------------------------------
R2# 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

S 9.0.0.0/8 [1/0] via 12.1.1.1
S 10.0.0.0/8 [1/0] via 12.1.1.1
S 11.0.0.0/8 [1/0] via 12.1.1.1
C 12.0.0.0/8 is directly connected, Serial0/0/0

C 13.0.0.0/8 is directly connected, FastEthernet0/0

No comments:

Post a Comment