超级经典CCNA培训课件 RIP实验Word格式文档下载.docx
《超级经典CCNA培训课件 RIP实验Word格式文档下载.docx》由会员分享,可在线阅读,更多相关《超级经典CCNA培训课件 RIP实验Word格式文档下载.docx(25页珍藏版)》请在冰豆网上搜索。
ipaddress10.1.1.2255.255.255.0
R2#showiproute
Codes:
C-connected,S-static,R-RIP,M-mobile,B-BGP
D-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterarea
N1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2
E1-OSPFexternaltype1,E2-OSPFexternaltype2
i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2
ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticroute
o-ODR,P-periodicdownloadedstaticroute
Gatewayoflastresortisnotset
10.0.0.0/24issubnetted,2subnets
R10.1.2.0[120/1]via10.1.1.1,00:
00:
25,Serial1/0
C10.1.1.0isdirectlyconnected,Serial1/0
R11.0.0.0/8[120/1]via10.1.1.1,00:
b、掩码不同
interfaceLoopback2
ipaddress10.1.3.1255.255.255.224
interfaceLoopback3
ipaddress10.1.4.1255.255.255.255
10.0.0.0/8isvariablysubnetted,3subnets,2masks
R10.1.2.0/24[120/1]via10.1.1.1,00:
18,Serial1/0
C10.1.1.0/24isdirectlyconnected,Serial1/0
R10.1.4.1/32[120/1]via10.1.1.1,00:
01,Serial1/0
c、特例
01,Serial1/0
32位子网掩码
2、RIPv1接收路由规则
R1#showrunn
ipaddress11.1.1.2255.255.255.0
R2#debugiprip
RIPprotocoldebuggingison
R2#
*Mar101:
07:
00.211:
RIP:
receivedv1updatefrom10.1.1.1onSerial1/0
11.0.0.0in1hops
14.551:
sendingv1updateto255.255.255.255viaSerial1/0(10.1.1.2)
buildupdateentries
network11.0.0.0metric1
16.011:
sendingv1updateto255.255.255.255viaLoopback0(11.1.1.2)
network10.0.0.0metric1
28.203:
R2#unall
Allpossibledebugginghasbeenturnedoff
3、RIPv2手工汇总
2.0.0.0/8isvariablysubnetted,4subnets,2masks
R2.2.2.0/24[120/1]via12.1.1.1,00:
04,Serial1/0
R2.0.0.0/8[120/1]via12.1.1.1,00:
01:
00,Serial1/0
R2.2.3.0/24[120/1]via12.1.1.1,00:
R2.2.4.0/24[120/1]via12.1.1.1,00:
12.0.0.0/24issubnetted,1subnets
C12.1.1.0isdirectlyconnected,Serial1/0
R1#
2.0.0.0/16issubnetted,1subnets
R2.2.0.0[120/1]via12.1.1.1,00:
08,Serial1/0
4、RIPv2的计时器的修改
R1#showipprotocols
RoutingProtocolis"
rip"
Outgoingupdatefilterlistforallinterfacesisnotset
Incomingupdatefilterlistforallinterfacesisnotset
Sendingupdatesevery30seconds,nextduein20seconds
Invalidafter180seconds,holddown180,flushedafter240
Redistributing:
rip
Defaultversioncontrol:
sendversion2,receiveversion2
InterfaceSendRecvTriggeredRIPKey-chain
Serial1/022
Automaticnetworksummarizationisnotineffect
Maximumpath:
4
RoutingforNetworks:
12.0.0.0
RoutingInformationSources:
GatewayDistanceLastUpdate
12.1.1.112000:
05
Distance:
(defaultis120)
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
R1(config)#routerrip
R1(config-router)#timersbasic60300600700
R1(config-router)#exit
Sendingupdatesevery60seconds,nextduein35seconds
Invalidafter300seconds,holddown600,flushedafter700
24
5、RIPv2的单播更新
*在没有passive-interface的情况下,直接指定neighbor,会出现什么样的更新情况,debugiprip*
R1#showrunn
ipaddress1.1.1.1255.255.255.0
interfaceEthernet0/0
ipaddress123.1.1.1255.255.255.0
full-duplex
passive-interfaceEthernet0/0
network1.0.0.0
network123.0.0.0
R2#showrunn
ipaddress2.2.2.1255.255.255.0
ipaddress123.1.1.2255.255.255.0
network2.0.0.0
neighbor123.1.1.3
R3#showrunn
ipaddress3.3.3.1255.255.255.0
ipaddress123.1.1.3255.255.255.0
network3.0.0.0
neighbor123.1.1.2
R1#showiproute
1.0.0.0/24issubnetted,1subnets
C1.1.1.0isdirectlyconnected,Loopback0
123.0.0.0/24issubnetted,1subnets
C123.1.1.0isdirectlyconnected,Ethernet0/0
2.0.0.0/24issubnetted,1subnets
C2.2.2.0isdirectlyconnected,Loopback0
R3.0.0.0/8[120/1]via123.1.1.3,00:
19,Ethernet0/0
R3#showiproute
R2.0.0.0/8[120/1]via123.1.1.2,00:
23,Ethernet0/0
3.0.0.0/24issubnetted,1subnets
C3.3.3.0isdirectlyconnected,Loopback0
R3#
*Mar100:
25:
00.207:
receivedv1updatefrom123.1.1.2onEthernet0/0
2.0.0.0in1hops
00.227:
sendingv1updateto255.255.255.255viaEthernet0/0(123.1.1.3)
network3.0.0.0metric1
00.231:
sendingv1updateto123.1.1.2viaEthernet0/0(123.1.1.3)
26.223:
26.227:
26.819:
26.823:
27.275:
sendingv1updateto255.255.255.255viaLoopback0(3.3.3.1)
network2.0.0.0metric1
network123.0.0.0metric1
6、RIPv1和v2的兼容问题
R1#showrunning-config
ipripsendversion12
ipripreceiveversion12
noipsplit-horizon
version2
noauto-summary