Lab 6
Lab 6
To configure and verify static routing on Cisco routers using Packet Tracer. The goal is to
allow routers to communicate with each other and route packets between different networks
using static routes.
Topology:
Equipment:
3 Cisco Routers
3 PCs (1 connected to each router for testing)
Serial or Ethernet cables
Cisco Packet Tracer software
bash
Copy code
R1> enable
Enter global configuration mode:
bash
Copy code
R1# configure terminal
bash
Copy code
R1(config)# interface gigabitethernet 0/0
R1(config-if)# ip address 192.168.1.1 255.255.255.0
R1(config-if)# no shutdown
bash
Copy code
R1(config)# interface serial 0/0/0
R1(config-if)# ip address 10.1.1.1 255.255.255.252
R1(config-if)# no shutdown
bash
Copy code
R1(config)# interface serial 0/0/1
R1(config-if)# ip address 10.1.1.5 255.255.255.252
R1(config-if)# no shutdown
bash
Copy code
R1(config-if)# exit
bash
Copy code
R1(config)# ip route 192.168.2.0 255.255.255.0 10.1.1.2
R1(config)# ip route 192.168.3.0 255.255.255.0 10.1.1.6
bash
Copy code
R2> enable
bash
Copy code
R2# configure terminal
bash
Copy code
R2(config)# interface gigabitethernet 0/0
R2(config-if)# ip address 192.168.2.1 255.255.255.0
R2(config-if)# no shutdown
bash
Copy code
R2(config)# interface serial 0/0/0
R2(config-if)# ip address 10.1.1.2 255.255.255.252
R2(config-if)# no shutdown
bash
Copy code
R2(config-if)# exit
bash
Copy code
R2(config)# ip route 192.168.1.0 255.255.255.0 10.1.1.1
R2(config)# ip route 192.168.3.0 255.255.255.0 10.1.1.1
bash
Copy code
R3> enable
bash
Copy code
R3# configure terminal
bash
Copy code
R3(config)# interface gigabitethernet 0/0
R3(config-if)# ip address 192.168.3.1 255.255.255.0
R3(config-if)# no shutdown
Configure the serial interface between R3 and R1:
bash
Copy code
R3(config)# interface serial 0/0/0
R3(config-if)# ip address 10.1.1.6 255.255.255.252
R3(config-if)# no shutdown
bash
Copy code
R3(config-if)# exit
bash
Copy code
R3(config)# ip route 192.168.1.0 255.255.255.0 10.1.1.5
R3(config)# ip route 192.168.2.0 255.255.255.0 10.1.1.5
After configuring static routing on all routers, use the following commands to verify routing
and connectivity:
bash
Copy code
R1# show ip interface brief
R2# show ip interface brief
R3# show ip interface brief
Use this command to check if the static routes are correctly installed in the routing table:
bash
Copy code
R1# show ip route
R2# show ip route
R3# show ip route
3. Testing Connectivity
Use the ping command to check the connectivity between PCs on different networks:
bash
Copy code
R1# ping 192.168.2.1
R1# ping 192.168.3.1
Step 4: Saving Configuration
Once everything is verified, save the configurations on all routers to avoid losing them after a
reboot.
bash
Copy code
R1# copy running-config startup-config
R2# copy running-config startup-config
R3# copy running-config startup-config
Conclusion:
In this lab, you successfully configured static routing on three Cisco routers using Packet
Tracer. You learned how to manually configure IP addresses, establish static routes, and
verify network connectivity between different routers and networks. Static routing is useful in
small networks where routing paths do not change frequently.