Lab
Lab
project
• Routers R1 and R2 were configured with OSPF routing and subnets were
created for different departments on each router. Router R0 was
configured as the central router to connect R1 and R2 along with
providing DHCP and DNS services. Ping tests verified connectivity
between devices on different subnets routing through the OSPF
configured routers.
Configurations on the Router R0
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R0
R0(config)#
R0(config)#router ospf 12
R0(config-router)#network 192.168.1.1 0.0.0.0 area 0
R0(config-router)#network 192.168.2.1 0.0.0.0 area 0
R0(config-router)#network 192.168.3.1 0.0.0.0 area 0
R0(config-router)#network 192.168.4.1 0.0.0.0 area 0
R0(config-router)#exit
R0(config)#ip dhcp pool admin
R0(dhcp-config)#default-router 192.168.3.1
R0(dhcp-config)#dns-server 192.168.4.2
R0(dhcp-config)#exit
R0(config)#write
Router>
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
R2(config)#router ospf 12
R2(config-router)#network 192.168.2.2 0.0.0.0 area 0
R2(config-router)#network 192.168.20.0 0.0.0.255 area 0
R2(config-router)#network 192.168.21.0 0.0.0.255 area 0
R2(config-router)#exit
R2(config)#
Ping HR to Admin
Thank You