配置OSPF实现pc机互通小实验
一.实验环境
实验环境:GNS3,c2691路由器
二.实验拓扑图<img src="http://itmc.oss-cn-hangzhou.aliyuncs.com/blog/20191022/214630186.png" alt="mark" style="zoom:75%;" />
三.实验步骤
开始先把三台路由器接口的ip地址全部配好。因为都是重复的基础操作,如图。<img src="http://itmc.oss-cn-hangzhou.aliyuncs.com/blog/20191022/214059456.png" alt="mark" style="zoom:75%;" />
<img src="http://itmc.oss-cn-hangzhou.aliyuncs.com/blog/20191022/214143541.png" alt="mark" style="zoom:75%;" />
<img src="http://itmc.oss-cn-hangzhou.aliyuncs.com/blog/20191022/214245146.png" alt="mark" style="zoom:75%;" />
端口ip配置好了,然后配置loopback。配置如图。
<img src="http://itmc.oss-cn-hangzhou.aliyuncs.com/blog/20191022/215140917.png" alt="mark" style="zoom:75%;" />
<img src="http://itmc.oss-cn-hangzhou.aliyuncs.com/blog/20191022/215350703.png" alt="mark" style="zoom:75%;" />
<img src="http://itmc.oss-cn-hangzhou.aliyuncs.com/blog/20191022/215542343.png" alt="mark" style="zoom:75%;" />
接下来配置ospf协议,操作如图。<img src="http://itmc.oss-cn-hangzhou.aliyuncs.com/blog/20191022/221246137.png" alt="mark" style="zoom:75%;" />
<img src="http://itmc.oss-cn-hangzhou.aliyuncs.com/blog/20191022/222206218.png" alt="mark" style="zoom:75%;" />
试验到此结束,可以尝试去ping主机。应该可以成功。pc机ip自行设置。over!