Exp - No. 6 Static Route
Exp - No. 6 Static Route
Exp - No. 6 Static Route
Hiba Hussein
Exp.No.6
Static Route
Theory
Static routing occurs when you manually add routes in each router's routing
table. Static routes are usually manually configured by a network administrator by
adding in entries into a routing table. Every router makes its decision alone, based
on the information it has in its own routing table. The fact that one router has
certain information in its routing table does not mean that other routers have the
same information. Routing information about a path from one network to another
does not provide routing information about the reverse, or return, path.
Procedure:
1. Connect network shown in the figure below:
RT1(config)#int fa0/1
RT1(config-if)#ip add 192.168.1.1 255.255.255.0
RT1(config-if)#no shut
RT1(config-if)#exit
RT1(config)#int s0/0
RT1(config-if)#ip add 192.168.2.1 255.255.255.0
RT1(config-if)#no shut
RT1(config-if)#^Z
RT1#
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
7. Test connectivity
Test connectivity by pinging from each host to the other host at another
network.
4. Verify the default static route configuration on RT1, RT2 and RT3 with the
show ip
route command.
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