2rip.docx

上传人:b****2 文档编号:732998 上传时间:2023-04-29 格式:DOCX 页数:17 大小:40.01KB
下载 相关 举报
2rip.docx_第1页
第1页 / 共17页
2rip.docx_第2页
第2页 / 共17页
2rip.docx_第3页
第3页 / 共17页
2rip.docx_第4页
第4页 / 共17页
2rip.docx_第5页
第5页 / 共17页
2rip.docx_第6页
第6页 / 共17页
2rip.docx_第7页
第7页 / 共17页
2rip.docx_第8页
第8页 / 共17页
2rip.docx_第9页
第9页 / 共17页
2rip.docx_第10页
第10页 / 共17页
2rip.docx_第11页
第11页 / 共17页
2rip.docx_第12页
第12页 / 共17页
2rip.docx_第13页
第13页 / 共17页
2rip.docx_第14页
第14页 / 共17页
2rip.docx_第15页
第15页 / 共17页
2rip.docx_第16页
第16页 / 共17页
2rip.docx_第17页
第17页 / 共17页
亲,该文档总共17页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

2rip.docx

《2rip.docx》由会员分享,可在线阅读,更多相关《2rip.docx(17页珍藏版)》请在冰点文库上搜索。

2rip.docx

2rip

RIP:

RoutingInformationProtocol路由信息协议

拓扑图如下:

接口连接:

Router1S0/0<---->Router2S0/0

Router3S0/1<---->Router2S0/1

路由器参考配置如下:

路由器R1的配置:

 

Router>//用户模式

Router>enable//从用户模式进入到特权模式

Router#configureterminal//从特权模式进入到全局模式

Router(config)#hostnameR1//给路由器从命名为R1

R1(config)#noipdomainlookup//关闭域名查找

R1(config)#lineconsole0//进入控制口

R1(config-line)#loggingsynchronous//光标跟随

R1(config-line)#exec-timeout00//关闭延迟

R1(config-line)#exit

R1(config)#interfaceloopback0

R1(config-if)#ipaddress1.1.1.1255.255.255.0

R1(config-if)#noshutdown

R1(config-if)#interfaces0/0

R1(config-if)#ipaddress192.1.1.1255.255.255.0

R1(config-if)#noshutdown

R1(config-if)#end

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

C192.1.1.0/24isdirectlyconnected,Serial0/0

R1#configureterminal

R1(config)#routerrip//在全局模式下启用rip协议

R1(config-router)#network1.1.1.0//宣告自己直联的网段

R1(config-router)#network192.1.1.0

R1(config-router)#end

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

//C是直联ip地址,R是路由协议ip地址

1.0.0.0/24issubnetted,1subnets

C1.1.1.0isdirectlyconnected,Loopback0

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

00:

10,Serial0/0

R3.0.0.0/8[120/1]via192.1.1.2,00:

00:

10,Serial0/0

R193.1.1.0/24[120/1]via192.1.1.2,00:

00:

10,Serial0/0

C192.1.1.0/24isdirectlyconnected,Serial0/0

R1#showrunning-config

Buildingconfiguration...

Currentconfiguration:

782bytes

!

version12.4

servicetimestampsdebugdatetimemsec

servicetimestampslogdatetimemsec

noservicepassword-encryption

!

hostnameR1

!

boot-start-marker

boot-end-marker

!

!

noaaanew-model

memory-sizeiomem5

!

!

ipcef

!

!

noipdomainlookup

!

!

!

!

!

interfaceLoopback0

ipaddress1.1.1.1255.255.255.0

!

interfaceSerial0/0

ipaddress192.1.1.1255.255.255.0

serialrestart-delay0

!

interfaceSerial0/1

noipaddress

shutdown

serialrestart-delay0

!

interfaceSerial0/2

noipaddress

shutdown

serialrestart-delay0

!

interfaceSerial0/3

noipaddress

shutdown

serialrestart-delay0

!

routerrip

network1.0.0.0

network192.1.1.0

!

iphttpserver

!

!

!

!

!

control-plane

!

!

linecon0

exec-timeout00

loggingsynchronous

lineaux0

linevty04

!

end

R1#showipprotocols//查看使用的协议

RoutingProtocolis"rip"

Outgoingupdatefilterlistforallinterfacesisnotset

Incomingupdatefilterlistforallinterfacesisnotset

Sendingupdatesevery30seconds,nextduein19seconds

Invalidafter180seconds,holddown180,flushedafter240

Redistributing:

rip

Defaultversioncontrol:

sendversion1,receiveanyversion

InterfaceSendRecvTriggeredRIPKey-chain

Serial0/0112

Loopback0112

Automaticnetworksummarizationisineffect

Maximumpath:

4

RoutingforNetworks:

1.0.0.0

192.1.1.0

RoutingInformationSources:

GatewayDistanceLastUpdate

192.1.1.212000:

00:

03

Distance:

(defaultis120)

R1#

路由器R2的配置:

Router>

Router>enable

Router#configureterminal

Router(config)#hostnameR2

R2(config)#noipdomainlookup

R2(config)#lineconsole0

R2(config-line)#loggingsynchronous

R2(config-line)#exec-timeout00

R2(config-line)#exit

R2(config)#interfaceloopback0

R2(config-if)#ipaddress2.2.2.2255.255.255.0

R2(config-if)#noshutdown

R2(config-if)#interfaces0/0

R2(config-if)#ipaddress192.1.1.2255.255.255.0

R2(config-if)#noshutdown

R2(config-if)#interfaces0/1

R2(config-if)#ipaddress193.1.1.2255.255.255.0

R2(config-if)#noshutdown

R2(config-if)#end

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

C193.1.1.0/24isdirectlyconnected,Serial0/1

C192.1.1.0/24isdirectlyconnected,Serial0/0

R2#configureterminal

R2(config)#routerrip

R2(config-router)#network2.2.2.0

R2(config-router)#network192.1.1.0

R2(config-router)#network193.1.1.0

R2(config-router)#end

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

R1.0.0.0/8[120/1]via192.1.1.1,00:

00:

12,Serial0/0

2.0.0.0/24issubnetted,1subnets

C2.2.2.0isdirectlyconnected,Loopback0

R3.0.0.0/8[120/1]via193.1.1.1,00:

00:

14,Serial0/1

C193.1.1.0/24isdirectlyconnected,Serial0/1

C192.1.1.0/24isdirectlyconnected,Serial0/0

R2#showrunning-config

Buildingconfiguration...

Currentconfiguration:

812bytes

!

version12.4

servicetimestampsdebugdatetimemsec

servicetimestampslogdatetimemsec

noservicepassword-encryption

!

hostnameR2

!

boot-start-marker

boot-end-marker

!

!

noaaanew-model

memory-sizeiomem5

!

!

ipcef

!

!

noipdomainlookup

!

!

!

!

!

interfaceLoopback0

ipaddress2.2.2.2255.255.255.0

!

interfaceSerial0/0

ipaddress192.1.1.2255.255.255.0

serialrestart-delay0

!

interfaceSerial0/1

ipaddress193.1.1.2255.255.255.0

serialrestart-delay0

!

interfaceSerial0/2

noipaddress

shutdown

serialrestart-delay0

!

interfaceSerial0/3

noipaddress

shutdown

serialrestart-delay0

!

routerrip

network2.0.0.0

network192.1.1.0

network193.1.1.0

!

iphttpserver

!

!

!

!

!

control-plane

!

!

linecon0

exec-timeout00

loggingsynchronous

lineaux0

linevty04

!

End

R2#showipprotocols

RoutingProtocolis"rip"

Outgoingupdatefilterlistforallinterfacesisnotset

Incomingupdatefilterlistforallinterfacesisnotset

Sendingupdatesevery30seconds,nextduein19seconds

Invalidafter180seconds,holddown180,flushedafter240

Redistributing:

rip

Defaultversioncontrol:

sendversion1,receiveanyversion

InterfaceSendRecvTriggeredRIPKey-chain

Serial0/0112

Serial0/1112

Loopback0112

Automaticnetworksummarizationisineffect

Maximumpath:

4

RoutingforNetworks:

2.0.0.0

192.1.1.0

193.1.1.0

RoutingInformationSources:

GatewayDistanceLastUpdate

193.1.1.112000:

00:

18

192.1.1.112000:

00:

28

Distance:

(defaultis120)

R2#

路由器R3的配置:

 

Router>

Router>enable

Router#configureterminal

Router(config)#hostnameR3

R3(config)#noipdomainlookup

R3(config)#lineconsole0

R3(config-line)#loggingsynchronous

R3(config-line)#exec-timeout00

R3(config-line)#exit

R3(config)#interfaceloopback0

R3(config-if)#ipaddress3.3.3.3255.255.255.0

R3(config-if)#noshutdown

R3(config-if)#interfaces0/0

R3(config-if)#ipaddress193.1.1.1255.255.255.0

R3(config-if)#noshutdown

R3(config-if)#end

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

3.0.0.0/24issubnetted,1subnets

C3.3.3.0isdirectlyconnected,Loopback0

C193.1.1.0/24isdirectlyconnected,Serial0/1

R3#configureterminal

R3(config)#routerrip

R3(config-router)#network3.3.3.0

R3(config-router)#network193.1.1.0

R3(config-router)#end

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

R1.0.0.0/8[120/1]via193.1.1.2,00:

00:

01,Serial0/1

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

00:

01,Serial0/1

3.0.0.0/24issubnetted,1subnets

C3.3.3.0isdirectlyconnected,Loopback0

C193.1.1.0/24isdirectlyconnected,Serial0/1

R192.1.1.0/24[120/1]via193.1.1.2,00:

00:

01,Serial0/1

R3#showrunning-config

Buildingco

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

当前位置:首页 > 法律文书 > 调解书

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2