实验九静态路由汇总资料Word下载.docx
《实验九静态路由汇总资料Word下载.docx》由会员分享,可在线阅读,更多相关《实验九静态路由汇总资料Word下载.docx(18页珍藏版)》请在冰豆网上搜索。
RT1:
showipintbri:
Showiproute:
RT3:
Showipintbri:
RT5:
RT7:
VPC1—VPC5的配置:
五:
测试
将RT3的se0/0端口showdown:
VPC5pingVPC1:
VPC5pingVPC2:
VPC5pingVPC3:
VPC5pingVPC4:
VPC5ping202.202.202.202:
六:
总结与原理分析
对于静态路由,在写路由表的时候要细心,按照一定规律顺序来写;
对于路由汇总,我们可以将大量的细化路由汇总成一条或者几条汇总路由。
通过汇总路由我们可以减少全局路由表中的细化路由条目,提高效率。
对于负载均衡,只要目的网段一样,子网掩码一样,AD值一样,度量值一样就可以实现负载均衡,他可以减少单个链路的流量,减少其负担。
七:
配置showrun
RT1:
!
version12.3
servicetimestampsdebugdatetimemsec
servicetimestampslogdatetimemsec
noservicepassword-encryption
hostnameRT1
boot-start-marker
boot-end-marker
noaaanew-model
resourcepolicy
memory-sizeiomem5
ipsubnet-zero
ipcef
noipdhcpusevrfconnected
noipdomainlookup
noftp-serverwrite-enable
interfaceSerial0/0
ipaddress192.168.1.1255.255.255.252
serialrestart-delay0
nodce-terminal-timing-enable
interfaceSerial0/1
ipaddress192.168.1.5255.255.255.252
interfaceSerial0/2
ipaddress192.168.1.9255.255.255.252
interfaceSerial0/3
noipaddress
shutdown
interfaceFastEthernet2/0
ipaddress192.168.2.9255.255.255.248
duplexauto
speedauto
interfaceEthernet3/0
ipaddress192.168.20.1255.255.255.0
half-duplex
interfaceEthernet3/1
ipaddress192.168.21.1255.255.255.0
interfaceEthernet3/2
interfaceEthernet3/3
iphttpserver
ipclassless
iproute192.168.0.0255.255.0.0Null0
iproute192.168.36.0255.255.255.0192.168.1.2
iproute192.168.36.0255.255.255.0192.168.1.6
iproute192.168.37.0255.255.255.0192.168.1.6
iproute192.168.37.0255.255.255.0192.168.1.2
iproute192.168.44.0255.255.255.0192.168.1.10
iproute202.202.202.200255.255.255.248192.168.2.10
control-plane
linecon0
exec-timeout00
loggingsynchronous
lineaux0
linevty04
login
end
hostnameRT3
ipaddress192.168.1.2255.255.255.252
ipaddress192.168.1.6255.255.255.252
ipaddress192.168.36.1255.255.255.0
ipaddress192.168.37.30255.255.255.0secondary
ipaddress192.168.37.20255.255.255.0secondary
ipaddress192.168.37.1255.255.255.0
iproute0.0.0.00.0.0.0192.168.1.1
iproute0.0.0.00.0.0.0192.168.1.5
iproute192.168.1.8255.255.255.252192.168.1.1
iproute192.168.1.8255.255.255.252192.168.1.5
iproute192.168.2.8255.255.255.248192.168.1.1
iproute192.168.2.8255.255.255.248192.168.1.5
iproute192.168.20.0255.255.255.0192.168.1.1
iproute192.168.20.0255.255.255.0192.168.1.5
iproute192.168.21.0255.255.255.0192.168.1.5
iproute192.168.21.0255.255.255.0192.168.1.1
iproute192.168.32.0255.255.248.0Null0
iproute192.168.44.0255.255.255.0192.168.1.1
iproute192.168.44.0255.255.255.0192.168.1.5
iproute202.202.202.200255.255.255.248192.168.1.5
iproute202.202.202.200255.255.255.248192.168.1.1
RT5:
hostnameRT5
ipaddress192.168.1.10255.255.255.252
ipaddress192.168.44.1255.255.255.0
iproute0.0.0.00.0.0.0192.168.1.9
iproute192.168.1.0255.255.255.252192.168.1.9
iproute192.168.1.4255.255.255.252192.168.1.9
iproute192.168.2.8255.255.255.248192.168.1.9
iproute192.168.20.0255.255.255.0192.168.1.9
iproute192.168.21.0255.255.255.0192.168.1.9
iproute192.168.36.0255.255.255.0192.168.1.9
iproute192.168.37.0255.255.255.0192.168.1.9
iproute192.168.40.0255.255.248.0Null0
iproute202.202.202.200255.255.255.248192.168.1.9
hostnameRT7
interfaceFastEthernet1/0
ipaddress202.202.202.202255.255.255.248
ipaddress192.168.2.10255.255.255.248
iproute0.0.0.00.0.0.0192.168.2.9
iproute192.168.1.0255.255.255.252192.168.2.9
iproute192.168.1.4255.255.255.252192.168.2.9
iproute192.168.1.8255.255.255.252192.168.2.9
iproute192.168.20.0255.255.255.0192.168.2.9
iproute192.168.21.0255.255.255.0192.168.2.9
iproute192.168.36.0255.255.255.0192.168.2.9
iproute192.168.37.0255.255.255.0192.168.2.9
iproute192.168.44.0255.255.255.0192.168.2.9