STATIC ROUTING BEGINNERS LAB
SCENARIO:
You are working as a networking specialist at a company called "Networks4All". One of their customers has 2 dedicated links to connect their New York site to the Washington site. You are not allowed to use routing protocols because they are paying for every single bit that's sent on these links. You need to do use static routing to get the job done and keep the customer happy.
GOAL:
*All IP addresses are preconfigured as shown in the topology picture.
*There is a Loopback0 interface on the Washington router: IP Address 2.2.2.2/30.
*There is a Loopback0 interface on the New York router: IP Address 1.1.1.1/30.
*New York: create a static route pointing to the Loopback0 network on Washington, traffic should pass the 192.168.1.0 network.
*Washington: create a default route pointing to the Loopback0 network on New York, traffic should pass the 192.168.2.0 network. In the routing table you should see a 0.0.0.0 entry.
*New York: create a backup static route pointing to the Loopback0 network on Washington, administrative distance should be 100.
*Washington: change the default route so it stays in the routing table even when the interface goes down.
Router: New York
NewYork#configure terminal
NewYork(config)#interface lo 0
NewYork(config-if)#ip address 1.1.1.1 255.255.255.255
NewYork(config-if)#interface serial 1/1
NewYork(config-if)#ip address 192.168.1.1 255.255.255.252
NewYork(config-if)#Description LINK-TO-WASHINGTON
NewYork(config-if)#no shutdown
NewYork(config-if)#interface serial 1/0
NewYork(config-if)#Description LINK-TO-WASHINGTON
NewYork(config-if)#ip address 192.168.2.1 255.255.255.252
NewYork(config-if)#no shutdown
NewYork#show ip interface brief | in up
Serial1/0 192.168.2.1 YES manual up up
Serial1/1 192.168.1.1 YES manual up up
Loopback0 1.1.1.1 YES manual up up
NewYork(config)#ip route 2.2.2.2 255.255.255.255 192.168.1.2
NewYork(config)#ip route 2.2.2.2 255.255.255.255 192.168.2.2 100
NewYork(config)#do show ip route | in 2.2.2.2
S 2.2.2.2 [1/0] via 192.168.1.2
NewYork(config)#do ping 2.2.2.2
!!!!!
NewYork#ping 2.2.2.2 source loopback 0
.....
Until washington is not configured
Router: Washington
Washington#configure terminal
Washington(config)#interface lo 0
Washington(config-if)#ip address 2.2.2.2 255.255.255.255
Washington(config-if)#interface serial 1/1
Washington(config-if)#ip address 192.168.1.2 255.255.255.252
Washington(config-if)#description LINK-TO-NEWYORK
Washington(config-if)#no shutdown
Washington(config-if)#interface serial 1/0
Washington(config-if)#description LINK-TO-NEWYORK
Washington(config-if)#ip address 192.168.2.2 255.255.255.252
Washington(config-if)#no shutdown
Washington#show ip interface brief | in up
Serial1/0 192.168.2.2 YES manual up up
Serial1/1 192.168.1.2 YES manual up up
Loopback0 2.2.2.2 YES manual up up
Washington(config)#ip route 0.0.0.0 0.0.0.0 192.168.2.1 permanent
Washington(config)#do show ip route | in 0.0.0.0
Gateway of last resort is 192.168.2.1 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 192.168.2.1
All Pings Now Works
Done !