packet tracer 2.7.1 Full Config P2P-2 Router
enable
configure terminal
router ospf 10
log-adjacency-changes
passive-interface GigabitEthernet0/0/0
passive-interface GigabitEthernet0/0/1
auto-cost reference-bandwidth 1000
network 10.0.0.0 0.0.0.3 area 0
network 10.0.0.4 0.0.0.3 area 0
network 192.168.1.0 0.0.0.255 area 0
network 192.168.2.0 0.0.0.255 area 0
end