实验四RIPv1与EIGRP在不连续网络下的比较.docx

上传人:b****5 文档编号:6692607 上传时间:2023-01-09 格式:DOCX 页数:5 大小:15.20KB
下载 相关 举报
实验四RIPv1与EIGRP在不连续网络下的比较.docx_第1页
第1页 / 共5页
实验四RIPv1与EIGRP在不连续网络下的比较.docx_第2页
第2页 / 共5页
实验四RIPv1与EIGRP在不连续网络下的比较.docx_第3页
第3页 / 共5页
实验四RIPv1与EIGRP在不连续网络下的比较.docx_第4页
第4页 / 共5页
实验四RIPv1与EIGRP在不连续网络下的比较.docx_第5页
第5页 / 共5页
亲,该文档总共5页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

实验四RIPv1与EIGRP在不连续网络下的比较.docx

《实验四RIPv1与EIGRP在不连续网络下的比较.docx》由会员分享,可在线阅读,更多相关《实验四RIPv1与EIGRP在不连续网络下的比较.docx(5页珍藏版)》请在冰豆网上搜索。

实验四RIPv1与EIGRP在不连续网络下的比较.docx

实验四RIPv1与EIGRP在不连续网络下的比较

实验四、RIPv1与EIGRP在不连续网络下的比较

环境:

两台2500系列路由器,由串口相连。

要求:

在RIPv1和EIGRP中将两个相同主类网络的不同子网由另一个主类网络分割,如何能学到对端网络。

RIP配置:

步骤一、基本配置

Router>

Router>enable

Router#configterminal

Router(config)#hostnameR1

R1(config)#noipdomain-lookup

R1(config)#lineconsole0

R1(config-line)#loggingsynchronous

R1(config-line)#exec-timeout00

R1(config-line)#exit

步骤二、接口配置

R1的配置:

R1(config)#interfaces0

R1(config-if)#ipaddress172.16.1.1255.255.255.0

R1(config-if)#clockrate64000

R1(config-if)#noshutdown

R1(config-if)#interfaceloopback0

R1(config-if)#ipaddress10.1.1.1255.255.255.0

R1(config-if)#

R2的配置:

R2(config)#interfaces1

R2(config-if)#ipadd172.16.1.2255.255.255.0

R2(config-if)#noshutdown

R2(config-if)#interfaceloopback0

R2(config-if)#ipaddress10.1.2.1255.255.255.0

R2(config-if)#exit

R2(config)#

步骤三、启用RIP路由选择协议

R1的配置:

R1(config)#routerrip  启用RIP

R1(config-router)#network10.0.0.0  发布直连网段

R1(config-router)#network172.16.0.0

R1(config-router)#exit

R1(config)#

R2的配置:

R2(config)#routerrip启用RIP

R2(config-router)#network10.0.0.0发布直连网段

R2(config-router)#network172.16.0.0

R2(config-router)#exit

R2(config)#end

显示路由信息

R1#showiproute  显示路由信息

Codes:

C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGP

D-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterarea

N1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2

E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGP

i-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,ia-IS-ISinterarea

*-candidatedefault,U-per-userstaticroute,o-ODR

P-periodicdownloadedstaticroute

Gatewayoflastresortisnotset

172.16.0.0/24issubnetted,1subnets

C172.16.1.0isdirectlyconnected,Serial0  没有学习到任何路由条目

10.0.0.0/24issubnetted,4subnets

C10.1.3.0isdirectlyconnected,Serial0

C10.1.1.0isdirectlyconnected,Loopback0

步骤四、配置辅助IP

R1(config)#interfaces0

R1(config-if)#ipaddress10.1.3.1255.255.255.0secondary配置辅助IP

R2(config)#interfaces1

R2(config-if)#ipaddress10.1.3.2255.255.255.0secondary配置辅助IP

步骤四、显示路由信息

R1#showiproute  显示路由信息

Codes:

C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGP

D-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterarea

N1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2

E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGP

i-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,ia-IS-ISinterarea

*-candidatedefault,U-per-userstaticroute,o-ODR

P-periodicdownloadedstaticroute

Gatewayoflastresortisnotset

172.16.0.0/24issubnetted,1subnets

C172.16.1.0isdirectlyconnected,Serial0

10.0.0.0/24issubnetted,4subnets

C10.1.3.0isdirectlyconnected,Serial0

R10.1.2.0[120/1]via10.1.3.2,00:

00:

14,Serial0  已经学习到了路由

R10.0.0.0[120/1]via172.16.1.2,00:

00:

14,Serial0

C10.1.1.0isdirectlyconnected,Loopback0

步骤五、显示当前配置信息

R1的当前配置:

R1#showrunning-config

hostnameR1

!

noipdomain-lookup

!

interfaceLoopback0

ipaddress10.1.1.1255.255.255.0

!

interfaceSerial0

ipaddress10.1.3.1255.255.255.0secondary

ipaddress172.16.1.1255.255.255.0

clockrate64000

!

routerrip

network10.0.0.0

network172.16.0.0

!

End

R2的当前配置:

R2#showrunning-config

!

hostnameR2

noipdomain-lookup

!

interfaceLoopback0

ipaddress10.1.2.1255.255.255.0

!

interfaceSerial1

ipaddress10.1.3.2255.255.255.0secondary

ipaddress172.16.1.2255.255.255.0

!

routerrip

network10.0.0.0

network172.16.0.0

!

End

步骤八、启用EIGRP

R1的配置:

R1(config)#norouterrip  关闭IGRP

R1(config)#routereigrp100  启用EIGRP

R1(config-router)#network10.1.1.00.0.0.255

R1(config-router)#network172.16.1.00.0.0.255

R1(config-router)#noauto-summary

R2的配置:

R2(config)#norouterrip

R2(config)#routereigrp100

R2(config-router)#network10.1.2.00.0.0.255

R2(config-router)#network172.16.1.00.0.0.255

R2(config-router)#noauto-summary

测试:

R1#showiproute显示路由

Codes:

C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGP

D-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterarea

N1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2

E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGP

i-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,ia-IS-ISinterarea

*-candidatedefault,U-per-userstaticroute,o-ODR

P-periodicdownloadedstaticroute

Gatewayoflastresortisnotset

172.16.0.0/24issubnetted,1subnets

C172.16.1.0isdirectlyconnected,Serial0

10.0.0.0/24issubnetted,2subnets

D10.1.2.0[90/2297856]via172.16.1.2,00:

00:

20,Serial0

C10.1.1.0isdirectlyconnected,Loopback0

R2#showiproute

Codes:

C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGP

D-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterarea

N1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2

E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGP

i-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,ia-IS-ISinterarea

*-candidatedefault,U-per-userstaticroute,o-ODR

P-periodicdownloadedstaticroute

Gatewayoflastresortisnotset

172.16.0.0/24issubnetted,1subnets

C172.16.1.0isdirectlyconnected,Serial1

10.0.0.0/24issubnetted,2subnets

C10.1.2.0isdirectlyconnected,Loopback0

D10.1.1.0[90/2297856]via172.16.1.1,00:

03:

45,Serial1

步骤九、显示当前配置

R1的配置:

R1#showrunning-config

hostnameR1

noipdomain-lookup

!

interfaceLoopback0

ipaddress10.1.1.1255.255.255.0

!

interfaceSerial0

ipaddress10.1.3.1255.255.255.0secondary

ipaddress172.16.1.1255.255.255.0

clockrate64000

!

routereigrp100

network10.1.1.00.0.0.255

network172.16.1.00.0.0.255

noauto-summary

!

end

R2的配置:

R2#showrunning-config

hostnameR2

noipdomain-lookup

!

interfaceLoopback0

ipaddress10.1.2.1255.255.255.0

!

interfaceSerial1

ipaddress10.1.3.2255.255.255.0secondary

ipaddress172.16.1.2255.255.255.0

!

routereigrp100

network10.1.2.00.0.0.255

network172.16.1.00.0.0.255

noauto-summary

!

end

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

当前位置:首页 > 人文社科 > 视频讲堂

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

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