温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

OSPF高级配置实验

发布时间:2020-08-06 19:51:29 来源:网络 阅读:148 作者:mb5d8a00944d1c4 栏目:云计算

OSPF高级配置实验

一.实验环境

实验环境:gns3,c2691路由器

二.实验拓扑图<img src="https://cache.yisu.com/upload/information/20200309/33/53147.jpg" alt="mark" style="zoom:75%;" />

三.实验步骤

因为路由器比较多,我们一个个来。R1配置<img src="https://cache.yisu.com/upload/information/20200309/33/53148.jpg" alt="mark" style="zoom:75%;" />

接下来配置R2<img src="https://cache.yisu.com/upload/information/20200309/33/53149.jpg" alt="mark" style="zoom:75%;" />

由于R2下面还有两个网段。所以我们还得做一个静态路由。<img src="https://cache.yisu.com/upload/information/20200309/33/53150.jpg" alt="mark" style="zoom:75%;" />

我们还得将R2下面的两个网段宣告一下,一个直连一个非直连。<img src="https://cache.yisu.com/upload/information/20200309/33/53151.jpg" alt="mark" style="zoom:75%;" />

接下来配置R3ip地址<img src="https://cache.yisu.com/upload/information/20200309/33/53152.jpg" alt="mark" style="zoom:75%;" />

<img src="https://cache.yisu.com/upload/information/20200309/33/53153.jpg" alt="mark" style="zoom:75%;" />

然后我们先把默认路由配置好<img src="https://cache.yisu.com/upload/information/20200309/33/53154.jpg" alt="mark" style="zoom:75%;" />

然后我们把网段分配area<img src="https://cache.yisu.com/upload/information/20200309/33/53155.jpg" alt="mark" style="zoom:75%;" />

注意这里还有一个70段的网段,为了方便我们将其放入area 0<img src="https://cache.yisu.com/upload/information/20200309/33/53156.jpg" alt="mark" style="zoom:75%;" />

我们还得将外部的默认路由宣告进来<img src="https://cache.yisu.com/upload/information/20200309/33/53157.jpg" alt="mark" style="zoom:75%;" />

接下来我们配置R4的ip<img src="https://cache.yisu.com/upload/information/20200309/33/53158.jpg" alt="mark" style="zoom:75%;" />

然后将rip协议配置好<img src="https://cache.yisu.com/upload/information/20200309/33/53159.jpg" alt="mark" style="zoom:75%;" />

然后将ospf协议注入rip<img src="https://cache.yisu.com/upload/information/20200309/33/53160.jpg" alt="mark" style="zoom:75%;" />

然后还得再将40网段分配下给area0<img src="https://cache.yisu.com/upload/information/20200309/33/53161.jpg" alt="mark" style="zoom:75%;" />

然后还得再次将rip协议注入ospf协议<img src="https://cache.yisu.com/upload/information/20200309/33/53162.jpg" alt="mark" style="zoom:75%;" />

接着对R5配置接口ip<img src="https://cache.yisu.com/upload/information/20200309/33/53163.jpg" alt="mark" style="zoom:75%;" />

然后配置好rip协议

<img src="https://cache.yisu.com/upload/information/20200309/33/53164.jpg" alt="mark" style="zoom:75%;" />

然后配置R6接口ip地址<img src="https://cache.yisu.com/upload/information/20200309/33/53165.jpg" alt="mark" style="zoom:75%;" />

然后配置下静态路由

<img src="https://cache.yisu.com/upload/information/20200309/33/53166.jpg" alt="mark" style="zoom:75%;" />

至此,完成实验。可以去ping下pc。没问题应该是全网互通。

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI