动态路由选择协议的配置.docx

上传人:b****8 文档编号:9132530 上传时间:2023-02-03 格式:DOCX 页数:7 大小:15.37KB
下载 相关 举报
动态路由选择协议的配置.docx_第1页
第1页 / 共7页
动态路由选择协议的配置.docx_第2页
第2页 / 共7页
动态路由选择协议的配置.docx_第3页
第3页 / 共7页
动态路由选择协议的配置.docx_第4页
第4页 / 共7页
动态路由选择协议的配置.docx_第5页
第5页 / 共7页
点击查看更多>>
下载资源
资源描述

动态路由选择协议的配置.docx

《动态路由选择协议的配置.docx》由会员分享,可在线阅读,更多相关《动态路由选择协议的配置.docx(7页珍藏版)》请在冰豆网上搜索。

动态路由选择协议的配置.docx

动态路由选择协议的配置

实验三动态路由选择协议的配置

一、实验目的:

1.掌握RIP协议的基本配置;

2.掌握OSPF(开放最短路经优生)协议的基本配置

3.掌握IGRP协议的基本配置

二、实验要求:

通过对路由协议的配置进一步了解路由器的工作方式及路由器在网络中的地位。

三、实验内容:

(1)RIP协议的配置

通过对RIP路由选择协议的配置,实现全网的连通;查看路由表并理解相关字段含义。

router1的配置:

Router>

Router>en

Router#conft

Router(config)#interfacee0

Router(config-if)#ipaddress192.168.1.2255.255.255.0

Router(config-if)#noshut

Router(config-if)#interfaces0

Router(config-if)#ipaddress192.168.2.1255.255.255.0

Router(config-if)#clockrate64000

Router(config-if)#noshut

Router(config-if)#exit

Router(config)#routerrip

Router(config-router)#network192.168.1.0

Router(config-router)#network192.168.2.0

Router(config-router)#exit

router2的配置:

Router>

Router>en

Router#conft

Router(config)#interfaces0

Router(config-if)#ipaddress192.168.2.2255.255.255.0

Router(config-if)#noshut

Router(config-if)#exit

Router(config)#interfacee0

Router(config-if)#ipaddress192.168.3.1255.255.255.0

Router(config-if)#noshut

Router(config-if)#exit

Router(config)#routerrip

Router(config-router)#network192.168.3.0

Router(config-router)#network192.168.2.0

Router(config-router)#exit

pc1的配置:

C:

>ipconfig/ip192.168.1.1255.255.255.0

C:

>ipconfig/dg192.168.1.2

pc2的配置:

C:

>ipconfigip192.168.3.2255.255.255.0

C:

>ipconfigdg192.168.3.1

C:

>ping192.168.1.1

C:

>tracert192.168.1.1

在路由器上执行showiproute,查看路由表,理解各个字段的含义。

(2)IGRP协议的配置

通过对IGRP路由选择协议的配置,实现全网的连通;查看路由表并理解相关字段含义。

router1的配置:

Router>

Router>en

Router#conft

Router(config)#interfacee0

Router(config-if)#ipaddress192.168.1.2255.255.255.0

Router(config-if)#noshut

Router(config-if)#interfaces0

Router(config-if)#ipaddress192.168.2.1255.255.255.0

Router(config-if)#clockrate64000

Router(config-if)#noshut

Router(config-if)#exit

Router(config)#routerigrp100

Router(config-router)#network192.168.1.0

Router(config-router)#network192.168.2.0

Router(config-router)#exit

router2的配置:

Router>

Router>en

Router#conft

Router(config)#interfaces0

Router(config-if)#ipaddress192.168.2.2255.255.255.0

Router(config-if)#noshut

Router(config-if)#exit

Router(config)#interfacee0

Router(config-if)#ipaddress192.168.3.1255.255.255.0

Router(config-if)#noshut

Router(config-if)#exit

Router(config)#routerigrp100

Router(config-router)#network192.168.3.0

Router(config-router)#network192.168.2.0

Router(config-router)#exit

pc1的配置:

C:

>ipconfig/ip192.168.1.1255.255.255.0

C:

>ipconfig/dg192.168.1.2

pc2的配置:

C:

>ipconfigip192.168.3.2255.255.255.0

C:

>ipconfigdg192.168.3.1

C:

>ping192.168.1.1

C:

>tracert192.168.1.1

在路由器上执行showiproute,查看路由表,理解各个字段的含义。

 

(3)OSPF协议的配置

通过对OSPF路由选择协议的配置,实现全网的连通;查看路由表并理解相关字段含义。

router1的配置:

Router>

Router>en

Router#conft

Router(config)#interfacee0

Router(config-if)#ipaddress192.168.1.2255.255.255.0

Router(config-if)#noshut

Router(config-if)#interfaces0

Router(config-if)#ipaddress192.168.2.1255.255.255.0

Router(config-if)#clockrate64000

Router(config-if)#noshut

Router(config-if)#exit

Router(config)#routerospf1

Router(config-router)#network192.168.1.00.0.0.255area0

Router(config-router)#network192.168.2.00.0.0.255area0

Router(config-router)#exit

router2的配置:

Router>

Router>en

Router#conft

Router(config)#interfaces0

Router(config-if)#ipaddress192.168.2.2255.255.255.0

Router(config-if)#noshut

Router(config-if)#exit

Router(config)#interfacee0

Router(config-if)#ipaddress192.168.3.1255.255.255.0

Router(config-if)#noshut

Router(config-if)#exit

Router(config)#routerospf2

Router(config-router)#network192.168.3.00.0.0.255area0

Router(config-router)#network192.168.2.00.0.0.255area0

Router(config-router)#exit

pc1的配置:

C:

>ipconfig/ip192.168.1.1255.255.255.0

C:

>ipconfig/dg192.168.1.2

pc2的配置:

C:

>ipconfigip192.168.3.2255.255.255.0

C:

>ipconfigdg192.168.3.1

C:

>ping192.168.1.1

C:

>tracert192.168.1.1

在路由器上执行showiproute,查看路由表,理解各个字段的含义。

(4)按下面的拓扑图,在路由器上首先配置RIP协议,查看路由表,测试主机之间的连通性,接着配置IGRP协议,查看路由表的变化。

再取消IGRP协议(在路由器上分别使用norouterigrp自治系统号),再查看路由表的变换。

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 高等教育 > 医学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1