超级经典CCNA培训课件 RIP实验.docx

上传人:b****4 文档编号:4212144 上传时间:2022-11-28 格式:DOCX 页数:25 大小:18.81KB
下载 相关 举报
超级经典CCNA培训课件 RIP实验.docx_第1页
第1页 / 共25页
超级经典CCNA培训课件 RIP实验.docx_第2页
第2页 / 共25页
超级经典CCNA培训课件 RIP实验.docx_第3页
第3页 / 共25页
超级经典CCNA培训课件 RIP实验.docx_第4页
第4页 / 共25页
超级经典CCNA培训课件 RIP实验.docx_第5页
第5页 / 共25页
点击查看更多>>
下载资源
资源描述

超级经典CCNA培训课件 RIP实验.docx

《超级经典CCNA培训课件 RIP实验.docx》由会员分享,可在线阅读,更多相关《超级经典CCNA培训课件 RIP实验.docx(25页珍藏版)》请在冰豆网上搜索。

超级经典CCNA培训课件 RIP实验.docx

超级经典CCNA培训课件RIP实验

1、RIPv1发送路由规则

a、掩码相同

R1#showrun

interfaceLoopback0

ipaddress10.1.2.1255.255.255.0

!

interfaceLoopback1

ipaddress11.1.1.1255.255.255.0

interfaceSerial1/0

ipaddress10.1.1.1255.255.255.0

serialrestart-delay0

clockrate64000

routerrip

network10.0.0.0

network11.0.0.0

interfaceSerial1/0

ipaddress10.1.1.2255.255.255.0

serialrestart-delay0

routerrip

network10.0.0.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:

00:

25,Serial1/0

b、掩码不同

interfaceLoopback0

ipaddress10.1.2.1255.255.255.0

!

interfaceLoopback1

ipaddress11.1.1.1255.255.255.0

!

interfaceLoopback2

ipaddress10.1.3.1255.255.255.224

!

interfaceLoopback3

ipaddress10.1.4.1255.255.255.255

!

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/8isvariablysubnetted,3subnets,2masks

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

00:

18,Serial1/0

C10.1.1.0/24isdirectlyconnected,Serial1/0

R10.1.4.1/32[120/1]via10.1.1.1,00:

00:

01,Serial1/0

R11.0.0.0/8[120/1]via10.1.1.1,00:

00:

18,Serial1/0

c、特例

R10.1.4.1/32[120/1]via10.1.1.1,00:

00:

01,Serial1/0

32位子网掩码

2、RIPv1接收路由规则

R1#showrunn

interfaceLoopback0

ipaddress11.1.1.1255.255.255.0

!

interfaceSerial1/0

ipaddress10.1.1.1255.255.255.0

interfaceLoopback0

ipaddress11.1.1.2255.255.255.0

interfaceSerial1/0

ipaddress10.1.1.2255.255.255.0

R2#debugiprip

RIPprotocoldebuggingison

R2#

*Mar101:

07:

00.211:

RIP:

receivedv1updatefrom10.1.1.1onSerial1/0

*Mar101:

07:

00.211:

11.0.0.0in1hops

R2#

*Mar101:

07:

14.551:

RIP:

sendingv1updateto255.255.255.255viaSerial1/0(10.1.1.2)

*Mar101:

07:

14.551:

RIP:

buildupdateentries

*Mar101:

07:

14.551:

network11.0.0.0metric1

R2#

*Mar101:

07:

16.011:

RIP:

sendingv1updateto255.255.255.255viaLoopback0(11.1.1.2)

*Mar101:

07:

16.011:

RIP:

buildupdateentries

*Mar101:

07:

16.011:

network10.0.0.0metric1

R2#

*Mar101:

07:

28.203:

RIP:

receivedv1updatefrom10.1.1.1onSerial1/0

*Mar101:

07:

28.203:

11.0.0.0in1hops

R2#unall

Allpossibledebugginghasbeenturnedoff

3、RIPv2手工汇总

Gatewayoflastresortisnotset

2.0.0.0/8isvariablysubnetted,4subnets,2masks

R2.2.2.0/24[120/1]via12.1.1.1,00:

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:

00:

04,Serial1/0

R2.2.4.0/24[120/1]via12.1.1.1,00:

00:

04,Serial1/0

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:

00:

08,Serial1/0

12.0.0.0/24issubnetted,1subnets

C12.1.1.0isdirectlyconnected,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:

00:

05

Distance:

(defaultis120)

Enterconfigurationcommands,oneperline.EndwithCNTL/Z.

R1(config)#routerrip

R1(config-router)#timersbasic60300600700

R1(config-router)#exit

R1#showipprotocols

RoutingProtocolis"rip"

Outgoingupdatefilterlistforallinterfacesisnotset

Incomingupdatefilterlistforallinterfacesisnotset

Sendingupdatesevery60seconds,nextduein35seconds

Invalidafter300seconds,holddown600,flushedafter700

Redistributing:

rip

Defaultversioncontrol:

sendversion2,receiveversion2

InterfaceSendRecvTriggeredRIPKey-chain

Serial1/022

Automaticnetworksummarizationisnotineffect

Maximumpath:

4

RoutingforNetworks:

12.0.0.0

RoutingInformationSources:

GatewayDistanceLastUpdate

12.1.1.112000:

00:

24

Distance:

(defaultis120)

5、RIPv2的单播更新

*在没有passive-interface的情况下,直接指定neighbor,会出现什么样的更新情况,debugiprip*

R1#showrunn

interfaceLoopback0

ipaddress1.1.1.1255.255.255.0

!

interfaceEthernet0/0

ipaddress123.1.1.1255.255.255.0

full-duplex

routerrip

passive-interfaceEthernet0/0

network1.0.0.0

network123.0.0.0

R2#showrunn

interfaceLoopback0

ipaddress2.2.2.1255.255.255.0

!

interfaceEthernet0/0

ipaddress123.1.1.2255.255.255.0

full-duplex

routerrip

passive-interfaceEthernet0/0

network2.0.0.0

network123.0.0.0

neighbor123.1.1.3

R3#showrunn

interfaceLoopback0

ipaddress3.3.3.1255.255.255.0

!

interfaceEthernet0/0

ipaddress123.1.1.3255.255.255.0

full-duplex

routerrip

passive-interfaceEthernet0/0

network3.0.0.0

network123.0.0.0

neighbor123.1.1.2

R1#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

1.0.0.0/24issubnetted,1subnets

C1.1.1.0isdirectlyconnected,Loopback0

123.0.0.0/24issubnetted,1subnets

C123.1.1.0isdirectlyconnected,Ethernet0/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

2.0.0.0/24issubnetted,1subnets

C2.2.2.0isdirectlyconnected,Loopback0

R3.0.0.0/8[120/1]via123.1.1.3,00:

00:

19,Ethernet0/0

123.0.0.0/24issubnetted,1subnets

C123.1.1.0isdirectlyconnected,Ethernet0/0

R2#

R3#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

R2.0.0.0/8[120/1]via123.1.1.2,00:

00:

23,Ethernet0/0

3.0.0.0/24issubnetted,1subnets

C3.3.3.0isdirectlyconnected,Loopback0

123.0.0.0/24issubnetted,1subnets

C123.1.1.0isdirectlyconnected,Ethernet0/0

R3#

*Mar100:

25:

00.207:

RIP:

receivedv1updatefrom123.1.1.2onEthernet0/0

*Mar100:

25:

00.211:

2.0.0.0in1hops

*Mar100:

25:

00.211:

RIP:

receivedv1updatefrom123.1.1.2onEthernet0/0

*Mar100:

25:

00.211:

2.0.0.0in1hops

*Mar100:

25:

00.227:

RIP:

sendingv1updateto255.255.255.255viaEthernet0/0(123.1.1.3)

*Mar100:

25:

00.227:

RIP:

buildupdateentries

*Mar100:

25:

00.227:

network3.0.0.0metric1

*Mar100:

25:

00.231:

RIP:

sendingv1updateto123.1.1.2viaEthernet0/0(123.1.1.3)

*Mar100:

25:

00.231:

RIP:

buildupdateentries

*Mar100:

25:

00.231:

network3.0.0.0metric1

R3#

*Mar100:

25:

26.223:

RIP:

receivedv1updatefrom123.1.1.2onEthernet0/0

*Mar100:

25:

26.227:

2.0.0.0in1hops

*Mar100:

25:

26.227:

RIP:

receivedv1updatefrom123.1.1.2onEthernet0/0

*Mar100:

25:

26.227:

2.0.0.0in1hops

*Mar100:

25:

26.819:

RIP:

sendingv1updateto255.255.255.255viaEthernet0/0(123.1.1.3)

*Mar100:

25:

26.819:

RIP:

buildupdateentries

*Mar100:

25:

26.819:

network3.0.0.0metric1

*Mar100:

25:

26.823:

RIP:

sendingv1updateto123.1.1.2viaEthernet0/0(123.1.1.3)

*Mar100:

25:

26.823:

RIP:

buildupdateentries

*Mar100:

25:

26.823:

network3.0.0.0metric1

R3#

*Mar100:

25:

27.275:

RIP:

sendingv1updateto255.255.255.255viaLoopback0(3.3.3.1)

*Mar100:

25:

27.275:

RIP:

buildupdateentries

*Mar100:

25:

27.275:

network2.0.0.0metric1

*Mar100:

25:

27.275:

network123.0.0.0metric1

R3#

6、RIPv1和v2的兼容问题

R1#showrunning-config

interfaceLoopback0

ipaddress1.1.1.1255.255.255.0

!

interfaceEthernet0/0

ipaddress123.1.1.1255.255.255.0

ipripsendversion12

ipripreceiveversion12

noipsplit-horizon

full-duplex

routerrip

version2

network2.0.0.0

network123.0.0.0

noauto-summary

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

当前位置:首页 > 解决方案 > 学习计划

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

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