Here is one of our Cisco CCNA 200-301 labs we have decided to provide FREE to you! These labs were created and we felt they were not advanced enough for our partner’s CCNA Lab Workbook. They are either not complex enough, do not cover multiple concepts, or do not have enough commentary explaining what we want to accomplish in each lab and why you are doing each step. These labs are basically just simple configurations and not what we would really call labs. Why? Because they do not really help you learn.
Free Cisco CCNA v7 OSPF Lab – CertificationKits.com
Objective: In this lab, you will configure OSPF routing protocol between both routers. This will allow your routers to route packets so that all routers and all hosts will be able to reach (ping) each other. Once your configuration is complete, you will use basic techniques to test your network’s connectivity.
Hardware Requirements
- Two routers with one serial port and two FastEthernet or Gigabit ports
- One back to back DTE/DCE serial cable
- IOS version 12.x or later
- A PC running a terminal emulation program
- Cisco console kit
Setup
- Configure the cabling as shown in the network diagram
- If the routers have a startup-config, erase it and perform a reload of the routers.
Router_A Configurations
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Router_A
Router(config)#no ip domain-lookup
Router(config)#ip domain-name certificationkits.com
Router(config)#int lo0
Router(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
Router(config-if)#ip add 10.1.1.1 255.255.255.0
Router(config-if)#int g0/0/1
Router(config-if)#ip add 148.1.1.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0/1, changed state to up
Router(config-if)#int S0/0/0
Router(config-if)#ip add 192.1.1.1 255.255.255.252
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0/0, changed state to up
Router_A(config)#router ospf 1
Router_A(config-router)#passive-interface default
Router_A(config-router)#network 10.1.1.0 0.0.0.255 area 0
Router_A(config-router)#network 148.1.1.0 0.0.0.255 area 0
Router_A(config-router)#network 192.1.1.0 0.0.0.3 area 0
Router_A(config-router)#no passive-interface s0/0/0
Router_A(config-router)#
Router_B Configuration
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host
Router(config)#hostname Router_B
Router_B(config)#no ip domain-l
Router_B(config)#no ip domain-lookup
Router_B(config)#ip domain-n
Router_B(config)#ip domain-name certificationkits.com
Router_B(config)#int g0/0/1
Router_B(config-if)#ip add 152.1.1.1 255.255.255.0
Router_B(config-if)#no shut
Router_B(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0/1, changed state to up
Router_B(config-if)#int s0/0/0
Router_B(config-if)#ip add 192.1.1.2 255.255.255.252
Router_B(config-if)#no shut
Router_B(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0/0, changed state to up
Router_B(config-if)#exut
Router_B(config)#router ospf 1
Router_B(config-router)#passive-interface default
Router_B(config-router)#network 192.1.1.0 0.0.0.3 area 0
Router_B(config-router)#network 152.1.1.0 0.0.0.255 area 0
Router_B(config-router)#no passive-interface s0/0/0
Router_B(config-router)#end
Router_B#
Router_A Configuration Check
Router_A#sh ip route
Codes: L – local, C – connected, S – static, 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
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 10.1.1.0/24 is directly connected, Loopback0
L 10.1.1.1/32 is directly connected, Loopback0
148.1.0.0/16 is variably subnetted, 2 subnets, 2 masks
C 148.1.1.0/24 is directly connected, GigabitEthernet0/0/1
L 148.1.1.1/32 is directly connected, GigabitEthernet0/0/1
152.1.0.0/24 is subnetted, 1 subnets
O 152.1.1.0/24 [110/2] via 192.1.1.2, 00:00:03, Serial0/0/0
192.1.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.1.1.0/30 is directly connected, Serial0/0/0
L 192.1.1.1/32 is directly connected, Serial0/0/0
Router_A#
Router_A#ping 152.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 152.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/5/25 ms
Router_A#
Router_B Configuration Check
Router_B#sh ip route
Codes: L – local, C – connected, S – static, 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
10.0.0.0/32 is subnetted, 1 subnets
O 10.1.1.1/32 [110/2] via 192.1.1.1, 00:00:58, serial0/0/0
148.1.0.0/24 is subnetted, 1 subnets
O 148.1.1.0/24 [110/2] via 192.1.1.1, 00:00:58, serial0/0/0
192.1.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.1.1.0/30 is directly connected, GigabitEthernet0/0/0
L 192.1.1.2/32 is directly connected, GigabitEthernet0/0/0
Router_B#ping 10.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/1 ms
Router_B#
End of Lab