Static Routing Lab
Network Walks Academy
Cisco Certifications www.networkwalks.com [email protected]
Static Routing Configuration Lab
Topology Diagram
NW Reference Topology 1
nw_R1 nw_R2
.1 12.12.12.0 /24 .2
R1 Fa0/0 Fa0/1 R2
Lo: 1.1.1.1/32 Lo: 2.2.2.2/32 .1
.1
10.0.0.0/24 192.168.0.0/24
PC1 PC2
IP: 10.0.0.2 IP: 192.168.0.2
Gateway: 10.0.0.1 Gateway: 192.168.0.1
Task
Configure Static Routing on R1 and R2 so that PC1 and PC2 could Ping each other successfully
Related Info:
‐ All Loopback IP’s & Interface IP’s are mentioned in this topology Diagram above
‐ PC IP/Gateway, Router Interface IP’s and Loopback IP’s are already configured (so that you can focus on this Lab
configuration only)
1 www.networkwalks.com [email protected]
Solution
Step1: Configure Static Routes on Router1 (nw_R1):
nw_R1(config)#ip route 192.168.0.0 255.255.255.0 12.12.12.2
nw_R1(config)#ip route 2.2.2.2 255.255.255.255 12.12.12.2
Step2: Configure Static Routes on Router2 (nw_R2):
nw_R2(config)#ip route 10.0.0.0 255.255.255.0 12.12.12.1
nw_R2(config)#ip route 1.1.1.1 255.255.255.255 12.12.12.1
Verification
✓ Verification1: Verify the connectivity and routes, using show commands on R1 and R2 as in
below:
R1#show ip route
R2#show ip route
It shows that our configuration is successful because both routers are exchanging their routes with
each other now. R1 has routes to reach R2’s subnets(PC2) and R2 has routes to R1’s subnets (PC1).
2 www.networkwalks.com [email protected]
✓ Verification2: Verify the connectivity and routes using Ping from PC1 to PC2 and from PC2 to
PC1:
PC1#ping 192.168.0.2
PC2#ping 10.0.0.2
Ping works successfully as in below. It means that our Configuration has been successful:
3 www.networkwalks.com [email protected]
Other relevant Verification/Show Commands:
R1#show ip protocols (check the routing protocols running on local Router)
R1#show ip interface brief (check the status of interfaces on a Router)
Complete Solution
Below is complete solution containing all commands from scratch if you want to
simulate yourself:
Complete Solution
nw_R1 nw_R2
nw_R1(config)#hostname nw_R1 nw_R2(config)#hostname nw_R2
nw_R1(config)#interface Loopback0 nw_R2(config)#interface Loopback0
nw_R1(config-if)#ip address 1.1.1.1 255.255.255.255 nw_R2(config-if)#ip address 2.2.2.2 255.255.255.255
nw_R1(config)#interface FastEthernet0/0 nw_R2(config)#interface FastEthernet0/1
nw_R1(config-if)#ip address 12.12.12.1 255.255.255.0 nw_R2(config-if)#ip address 12.12.12.2 255.255.255.0
nw_R1(config-if)#no shutdown nw_R2(config-if)#no shutdown
nw_R1(config)#interface FastEthernet1/1 nw_R2(config)#interface FastEthernet1/1
nw_R1(config-if)#ip address 10.0.0.1 255.255.255.0 nw_R2(config-if)#ip address 192.168.0.1 255.255.255.0
nw_R1(config-if)#no shutdown nw_R2(config-if)#no shutdown
nw_R1(config)#ip route 192.168.0.0 255.255.255.0 12.12.12.2 nw_R2(config)#ip route 10.0.0.0 255.255.255.0 12.12.12.1
nw_R1(config)#ip route 2.2.2.2 255.255.255.255 12.12.12.2 nw_R2(config)#ip route 1.1.1.1 255.255.255.255 12.12.12.1
© All Rights are reserved, Network Walks Academy
Leave your feedback at:
[email protected]. Your Technical Questions, comments & suggestions are always Welcomed.
www.networkwalks.com
4 www.networkwalks.com [email protected]