3. OSPF Configuration On Router 1
R1#config t
Enter configuration commands, one per line.
End with CNTL/Z.
R1(config)#router ospf 1
R1(config-router)#network 192.168.1.0
0.0.0.255 area 0
R1(config-router)#network 172.16.1.0
0.0.255.255 area 0
4. OSPF Configuration On Router 2
R2#config t
Enter configuration commands, one per line.
End with CNTL/Z.
R2(config)#router ospf 1
R2(config-router)#network 192.168.2.0
0.0.0.255 area 0
R2(config-router)#network 172.16.1.0
0.0.255.255 area 0