Switch3:
router ospf 20
network 192.168.2.0 0.0.0.255 a 0
router1:
router ospf 20
network 192.168.2.0 0.0.0.255 a 0
network 192.168.3.0 0.0.0.255 a 0
router2:
router ospf 20
network 172.16.2.0 0.0.0.255 a 0
network 192.168.3.0 0.0.0.255 a 0
route-id 自动选举。
swich3
router ospf 10
network 192.168.0.0 0.0.255.255 area 0
Router1
router ospf 10
network 192.168.0.0 0.0.255.255 area 0
Router2
router ospf 10
network 0.0.0.0 255.255.255.255 area 0
OSPF这块只需这样