配置路由器R1
R1(config)#router ospf 1
R1(config-router)#router-id 1.1.1.1
R1(config-router)#network 10.12.12.0 0.0.0.3 area 0
R1(config-router)#network 10.10.10.0 0.0.0.255 area 1
配置路由器R2
R2(config)#router ospf 1
R2(config-router)#router-id 2.2.2.2
R2(config-router)#network 10.12.12.0 0.0.0.3 area 0
R2(config-router)#network 10.23.23.0 0.0.0.3 area 0
配置路由器R3
R3(config)#router ospf 1
R3(config-router)#router-id 3.3.3.3
R3(config-router)#network 10.23.23.0 0.0.0.3 area 0
R3(config-router)#network 10.10.20.0 0.0.0.255 area 2
测试 两 PC 是否能正常通信。答:可以