项目三 距离向量路由协议RIP和EIGRPv10Word格式.docx
- 文档编号:19689837
- 上传时间:2023-01-08
- 格式:DOCX
- 页数:16
- 大小:78.24KB
项目三 距离向量路由协议RIP和EIGRPv10Word格式.docx
《项目三 距离向量路由协议RIP和EIGRPv10Word格式.docx》由会员分享,可在线阅读,更多相关《项目三 距离向量路由协议RIP和EIGRPv10Word格式.docx(16页珍藏版)》请在冰豆网上搜索。
2.1基本配置
(1)配置R1
R1(config)#routerrip
R1(config-router)#version2
R1(config-router)#network10.0.0.0
R1(config-router)#network12.0.0.0
(2)配置R2
R2(config)#routerrip
R2(config-router)#version2
R2(config-router)#network12.0.0.0
R2(config-router)#network23.0.0.0
(3)配置R3
R3(config)#routerrip
R3(config-router)#version2
R3(config-router)#network23.0.0.0
R3(config-router)#network192.168.1.0
2.2认证
(1)showiproute
R1#showiproute
Gatewayoflastresortisnotset
10.0.0.0/24issubnetted,1subnets
C10.1.1.0isdirectlyconnected,FastEthernet0/0
12.0.0.0/24issubnetted,1subnets
C12.12.12.0isdirectlyconnected,Serial1/0
R23.0.0.0/8[120/1]via12.12.12.2,00:
00:
03,Serial1/0//自动汇总
R192.168.1.0/24[120/2]via12.12.12.2,00:
03,Serial1/0
关闭自动汇总:
R1(config-router)#noauto-summary
R2(config-router)#noauto-summary
R3(config-router)#noauto-summary
重新认证:
23.0.0.0/24issubnetted,1subnets
R23.23.23.0[120/1]via12.12.12.2,00:
08,Serial1/0
R2#showiproute
R10.1.1.0[120/1]via12.12.12.1,00:
06,Serial1/0
C23.23.23.0isdirectlyconnected,Serial1/1
R192.168.1.0/24[120/1]via23.23.23.3,00:
01,Serial1/1
R3#showiproute
R10.1.1.0[120/2]via23.23.23.2,00:
23,Serial1/0
R12.12.12.0[120/1]via23.23.23.2,00:
C23.23.23.0isdirectlyconnected,Serial1/0
C192.168.1.0/24isdirectlyconnected,FastEthernet0/0
(2)showipprotocol
R1#showipprotocol
RoutingProtocolis"
rip"
Sendingupdatesevery30seconds,nextduein19seconds
Invalidafter180seconds,holddown180,flushedafter240
Outgoingupdatefilterlistforallinterfacesisnotset
Incomingupdatefilterlistforallinterfacesisnotset
Redistributing:
rip
Defaultversioncontrol:
sendversion2,receive2
InterfaceSendRecvTriggeredRIPKey-chain
FastEthernet0/022
Serial1/022
Automaticnetworksummarizationisnotineffect
Maximumpath:
4
RoutingforNetworks:
10.0.0.0
12.0.0.0
PassiveInterface(s):
RoutingInformationSources:
GatewayDistanceLastUpdate
12.12.12.212000:
01
Distance:
(defaultis120)
(3)showipdatabase
R1#showipripdatabase
10.1.1.0/24directlyconnected,FastEthernet0/0
12.12.12.0/24directlyconnected,Serial1/0
23.23.23.0/24
[1]via12.12.12.2,00:
10,Serial1/0
192.168.1.0/24
[2]via12.12.12.2,00:
(4)debugiprip
R1#debugiprip
R1#cleariproute*
R1#RIP:
receivedv2updatefrom12.12.12.2onSerial1/0
23.23.23.0/24via0.0.0.0in1hops
192.168.1.0/24via0.0.0.0in2hops
RIP:
sendingv2updateto224.0.0.9viaFastEthernet0/0(10.1.1.1)
buildupdateentries
12.12.12.0/24via0.0.0.0,metric1,tag0
23.23.23.0/24via0.0.0.0,metric2,tag0
192.168.1.0/24via0.0.0.0,metric3,tag0
sendingv2updateto224.0.0.9viaSerial1/0(12.12.12.1)
10.1.1.0/24via0.0.0.0,metric1,tag0
3.设置被动接口
R2(config-router)#passive-interfaces1/0
等待几分钟后:
二、EIGRP的配置
将如图3.1所示的拓扑图另存为新文件或重新建立一个拓扑图。
在此采用另存为新文件的方法,然后修改相关的配置。
R1(config)#norouterrip
R2(config)#norouterrip
R3(config)#norouterrip
此时,R1的路由表如下:
R2、R3的路由表内容类似R1。
2.EIGRP的配置
R1(config)#routereigrp100
R1(config-router)#network10.1.1.00.0.0.255
R1(config-router)#network12.12.12.00.0.0.255
R2(config)#routereigrp100
R2(config-router)#network12.12.12.00.0.0.255
R2(config-router)#network23.23.23.00.0.0.255
(3)配置R2
R3(config)#routereigrp100
R3(config-router)#network23.23.23.00.0.0.255
R3(config-router)#network192.168.1.00.0.0.255
D23.23.23.0[90/21024000]via12.12.12.2,00:
03:
47,Serial1/0
D192.168.1.0/24[90/21026560]via12.12.12.2,00:
01:
24,Serial1/0
D10.1.1.0[90/20514560]via12.12.12.1,00:
06:
42,Serial1/0
D192.168.1.0/24[90/20514560]via23.23.23.3,00:
40,Serial1/1
D10.1.1.0[90/21026560]via23.23.23.2,00:
04:
54,Serial1/0
D12.12.12.0[90/21024000]via23.23.23.2,00:
eigrp100"
Outgoingupdatefilterlistforallinterfacesisnotset
Incomingupdatefilterlistforallinterfacesisnotset
Defaultnetworksflaggedinoutgoingupdates
Defaultnetworksacceptedfromincomingupdates
EIGRPmetricweightK1=1,K2=0,K3=1,K4=0,K5=0
EIGRPmaximumhopcount100
EIGRPmaximummetricvariance1
eigrp100
Automaticnetworksummarizationisnotineffect
Maximumpath:
RoutingforNetworks:
10.1.1.0/24
12.12.12.0/24
RoutingInformationSources:
GatewayDistanceLastUpdate
12.12.12.290781906
Distance:
internal90external170
(3)showipeigrpneighbors
R2#showipeigrpneighbors
IP-EIGRPneighborsforprocess100
HAddressInterfaceHoldUptimeSRTTRTOQSeq
(sec)(ms)CntNum
023.23.23.3Ser1/11300:
5740100005
112.12.12.1Ser1/01100:
(4)showipeigrptopology
R2#showipeigrptopology
IP-EIGRPTopologyTableforAS100
Codes:
P-Passive,A-Active,U-Update,Q-Query,R-Reply,
r-Replystatus
P23.23.23.0/24,1successors,FDis20512000
viaConnected,Serial1/1
P12.12.12.0/24,1successors,FDis20512000
viaConnected,Serial1/0
P10.1.1.0/24,1successors,FDis20514560
via12.12.12.1(20514560/28160),Serial1/0
P192.168.1.0/24,1successors,FDis20514560
via23.23.23.3(20514560/28160),Serial1/1
图3.3EIGRP等价负载均衡
3.等价链路的负载均衡
(1)如图3-3所示,在图3-1中R1、R2之间增加一条串行链路,配置好相应接口。
(2)配置EIGRP协议。
配置R1:
R1(config-router)#network21.21.21.00.0.0.255
配置R2:
R2(config-router)#network21.21.21.00.0.0.255
(3)认证。
21.0.0.0/24issubnetted,1subnets
C21.21.21.0isdirectlyconnected,Serial1/1
27:
02,Serial1/0
[90/21024000]via21.21.21.2,00:
37,Serial1/1
00,Serial1/0
[90/21026560]via21.21.21.2,00:
26:
[90/20514560]via21.21.21.1,00:
13,Serial1/2
C21.21.21.0isdirectlyconnected,Serial1/2
23.0.0.0/24issubnetted,1subne
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 项目三 距离向量路由协议RIP和EIGRPv10 项目 距离 向量 路由 协议 RIP EIGRPv10
![提示](https://static.bdocx.com/images/bang_tan.gif)