R1
conf t
host R1
int f0/0
ip add 192.168.12.1 255.255.255.0
no shut
int f0/1
ip add 10.0.0.1 255.0.0.0
no keepalive
no shut
end
R2
conf t
int f0/0
ip add 192.168.12.2 255.255.255.0
no shut
int f0/1
ip add 172.16.0.2 255.255.0.0
no keepalive
no shut
end
R1
conf t
router ospf 1
network 10.0.0.0 0.255.255.255 area 0
network 192.168.12.0 0.0.0.255 area 0
end
sh ip route
sh ip protocols
R2
conf t
router ospf 1
network 172.16.0.0 0.0.255.255 area 0
network 192.168.12.0 0.0.0.255 area 0
end
sh ip route
sh ip protocols