实验拓扑图:
![8956334ace6a8c497cefe35466ade8ea.png](https://img-blog.csdnimg.cn/img_convert/8956334ace6a8c497cefe35466ade8ea.png)
实验步骤及要求:
1、配置各台路由器的IP地址,并且使用Ping命令确认各路由器的直连口的互通性。
2、在R1上进行area 1区域OSPF配置。
R1(config)#router ospf 1
R1(config-router)#network 10.1.2.0 0.0.0.255 area 1
R1(config-router)#network 10.1.1.0 0.0.0.255 area 1
R1(config-router)#network 192.168.1.0 0.0.0.3 area 1
R1(config-router)#exit
3、在R2上进行area1与area2的区域边界路由器(ABR)的OSPF配置。
R2(config)#router ospf 1
R2(config-router)#network 192.168.1.0 0.0.0.3 area 1
R2(config-router)#network 192.168.1.4 0.0.0.3 area 0
R2(config)#exit
4、参照