RouterA
conf t
int f0/0
bandwidth 1000
ip add 192.168.1.1 255.255.255.0
ip ospf pri 4
no shut
int lo0
ip add 172.17.0.1 255.255.255.255
router ospf 1
network 192.168.1.0 0.0.0.255 area 0
end
RouterB
conf t
int f0/1
ip add 192.168.1.2 255.255.255.0
ip ospf pri 3
no shut
int lo0
ip add 172.17.0.2 255.255.255.255
router ospf 1
network 192.168.1.0 0.0.0.255 area 0
end
RouterC
conf t
int f0/0
bandwidth 1000
ip add 192.168.1.3 255.255.255.0
ip ospf pri 2
no shut
int lo0
ip add 172.17.0.3 255.255.255.255
router ospf 1
network 192.168.1.0 0.0.0.255 area 0
end
RouterD
conf t
int f0/0
bandwidth 1000
ip add 192.168.1.4 255.255.255.0
no shut
int lo0
ip add 172.17.0.4 255.255.255.255
router ospf 1
network 192.168.1.0 0.0.0.255 area 0
end