版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
第三講靜態(tài)路由的負(fù)載均衡
實(shí)驗(yàn)?zāi)康?/p>
■理解路由在數(shù)據(jù)傳輸過程中的作用
■通過該實(shí)驗(yàn)學(xué)會(huì)配置靜態(tài)路由,及靜態(tài)路由的負(fù)載均衡,并通過ping命令體會(huì)靜態(tài)
路由的負(fù)載均衡的效果
■掌握ping命令的使用
實(shí)驗(yàn)拓?fù)?/p>
FaD/0./
2621XM
2621XMRouter2
RouterO
實(shí)驗(yàn)內(nèi)容
1、將所有的路由器起名稱,并且設(shè)置其IP地址。
Routeo的基本配置:
xiaoOfenable
xiaoOfconfigureterminal
Enterconfigurationcomm8nds,oneperline.EndwithCNTL/Z.
xiaoO(config)finterfacefastethernet0/0
xiaoO(config-if)#ipaddress10.10.10.1255.255.25S.0
xiaoO(config-if)#noshutdown
xiaoO(config-if)再exit
xiaoO(config)Winterfacefastet-hernet-0/1
xiaoO(config-if)#ipaddress20.20.20.1255.2SS.255.0
xiaoO(config-if)#noshutdown
xiaoO(config-if)#exit
xiaoO(config)#
Route1的基本配置:
Enterconfigurationuomiaands,oneperline.EndwithCNTL/Z.
Router(config)#hostnaxaexiaol
xiaol(config)Winterfacefastethernet0/0
xiaol(config-if)#ipaddress10.10.10.2255.2S5.255.0
xiaol(config-if)#noshutdown
LINK-S-CHANGED:InterfaceFastKthernet0/0changedstatetoup
LINBPROTO-5-UPDOIiJN:LineprotocolonInterfaceFastEtshernet0/0changedst>at:et
oup
xiaol(config-if)#exit
xiaol(config)Winterfacefas匕2therne匕0/1
xiaol(config-if)#ipaddress30.30.30.1255.255.255.0
xiaol(config-if)#noshutdown
LINK-5-CHANGED:InterfaceFastEthernetO/1,changedstatet.oup
xiaol(config-if)#
LINEPR0T0-5-UPD0OT:LineprotocolonInterfaceFastEthernet:0/1changedstate匕
oup
Route2的基本配置:
Router>enable
Router#configureterminal
Ent-erconfigurationcoumciands,,oneperline.EndwithCNTL/Z.
Router(config)fhostnauxexiaoZ
xiaoZ(config)#in^erfacefastethernet0/0
xiaoZ(config-if)#ipaddress20.20.20.225s.z5s.z55.0
xiao2(config-if)#noshutdown
%LINK-5-CHANGED:InterfaceFastEt.hemetO/O,.changedst.at-etoup
LINEPR0T0-5-UPD0W:LineprotocolonInterfaceFast.Et-hernet.0/0,changedstate匕
oup
xiaoZ(config-if)亦exit
xiao2(config)#int.erfacefastet-hernet.0/1
xiaoZ(config-if)#ipaddress30.30.30.2255.255.25S.0
xiao2(config-if)#noshutdown
%LINK-5-CHANGED:InterfaceFastEthernet.0/1,changedstatet.oup
匕
^LINKPR0T0-5-UPD0WN:LineprotocolonInterfaceFast.EthernetO/1rchangedstate
oup
2、Route0設(shè)置路由表:
xiaoO(config-if)#exit
xiaoO(config)#iproute20.20.20.0255.25S.25S.040.40.40.1
xiaoO(config)#iproute10.10.10.0255.255.255.0SO.SO.50.1
xiaoO(config)#|
3、
(1)對Routel進(jìn)行設(shè)置虛擬接口及默認(rèn)路由:
xiaol(config-if)#exit
xiaol(config)#int.erfaceloopback0
LINK-S-CHANGED:InterfaceLoopbackO,changedstatetoup
LINEPR0T0-5-UPD0OT:LineprotocolonInterfaceLoopbackOrchangedstatetoup
xiaolCconfig-if)#ipaddress40.40.40.1Z55.255.25S.0
xiaol(config-if)#exit
xiaol>enable
xiaol#configureterminal
Enterconfigurationcommands^oneperline.Endvit-hCNTL/Z.
xiaol(config)#iproute0.0.0.00.0.0.010.10.10.1
xiaol(config)#iproute0.0.0.00.0.0.030.30.30.2
xiaol(config)#|
(2)對Route!進(jìn)行設(shè)置虛擬接口:
xiaoZ(config-if)#exit
xiaoZ(config)#in€erfaceloopback0
%LINK-5-CHANGED:InterfaceLoopbackO/changedstatetoup
^LINEPROTO-S-UPDOWN:LineprotocolonInterfaceLoopbackO^changedstatetoup
xiaoZ(config-if)#ipaddress50.50.50.1Z55.255.255.0
xiaoZ(config-if)#exit
xiao2>enable
xiao2#configureterminal
Enterconfigurationcoimaxids^oneperline.EndwithCNTL/Z.
xiao2(config)#iproute0.0.0.00.0.0.020.20.20.1
xiaoZ(config)#iproute0.0.0.00.0.0.030.30.30.1
xiaoZ(config)#|
4、運(yùn)用ping命令將所有的鏈路層調(diào)試通:
(1)在RouteOJr.ping如下:
Protocol[ip]:
TargetIPaddress:20.20.20.1
Repeat,count[5]:
Dat-agraiasize[100]:
Timeoutinseconds[2]:
Extendedcommands[n]:y
Sourceaddressorinterface:30.30.30.1
%Invalidsource
Sourceaddressorinterface:
Typeofservice[0]:
SetDPbitinIPheader?[no]:
Validatereplydata?[no]:
Dat-apattern[OxABCD]:
Loose,Strict,Record,TimestampVerbose(none]:
Sweeprangeofsizes[n.]:
Typeescapesequencetoabort.
SendingS,100-byteICHPEchosto20.Z0.20.t.imeoutis2seconds:
I!IH
Successrateis100percent.(5/5).round-tripmin/avg/max=0/9/16ms
xiaoO#ping
Protocol[ip]:
TargetIPaddress:10.10.10.1
Repeatcount[5]:
Dat-agramsize[100]:
Timeoutinseconds[2]:
Extendedcommands[n]:y
Sourceaddressorinterface:50.50.50.1
專Invalidsource
Sourceaddressorinterface:
Typeofservice[0]:
SetDFbitinIPheader?[no]:
Validatereplydata?[no]:
Datapattern[OxABCD]:
LoosezStrict-,Record,TimestampzVerbose[none]:
Sweeprangeofsizes[n]:
Typeescapesequencetoabort..
Sending5,100-byteICMPEchosto10.10.10.lrtimeoutisZseconds:
!H!I
Successrateis100percent(5/5).round-tripmin/avg/miax=0/6/16ms
xiao0#ping
Protocol[ip]:
TargetIPaddress:20.20.20.1
Repeatcount[S]:
Datagramsize[100]:
Timeoutinseconds[Z]:
Extendedcommands[n]:y
Sourceaddressorinterface:30.30.30.Z
\Invalidsource
Sourceaddressorinterface:
Typeofservice(0]:
SetDFbitinIPheader?[no]:
Validatereplydata?[no]:
Datapattern[OxABCD]:
Loose.Strict,Record,Timest.aiaprVerbose[none]:
Sweeprangeofsizes[n]:
Typeescapesequencetoabort.
Sending5,100-byt.eICMPEchosto20.20.20.1,timeoutisZseconds:
Successrateis100percent(5/5).round-tripmin/avg/max=0/6/16ms
(2)在Routel上ping如下:
xiaol#ping
Protocol[ip]:
TargetIPaddress:40.40.40.1
Repeat,count.[5]:
Datagramsize(100]:
Timieoutinseconds[2]:
Expendedcommands(nJ:y
Sourceaddressorinterface:50.50.SO.1
+Invalidsource
Sourceaddressorinterface:
Typeofservice[0]:
SetDFbitinIPheader?[no]:
Validatereplydata?(no]:
Datapattern[OxABCD):
Loose,Strict,,Record^TimestampVerbose[noneJ:
SweeprangeofsizesIn]:
Typeescapesequencetoabort.
Sending5,100-byteICMPEchosto40.40.40.1,timeout,is2seconds:
H!H
Successrateis100percent(5/5),round-tripmin/avg/max=0/6/16ms
xiaol#ping20.20.20.1
Typeescapesequencetoabort.
Sending5,100-byteICMPEchosto20.20.Z0.timeoutis2seconds:
.I.!.
Successrateis40percent(2/5),round-tripmin/avg/max=31/31/31ms
xiaol#ping20.20.20.2
Typeescapesequencetoabort.
Sending5,100-byteICMPEchosto20.20.20.2^,timeoutis2seconds:
1IiH
Successrateis100percent(5/5),round-tripmin/avg/nax=31/43/63ms
xiaol#ping30.30.30.2
Typeescapesequencetoabort.
Sending5,100-byxeICHPEchosto30.30.30.Z,timeoutis2seconds:
Hill
Successrateis100percent(S/5)zround-t-ripmin/ax^g/max=31/31/32ms
xiaol#ping
Protocol[ip]:
TargetIPaddress:10.10.10.2
Repeatcount(S]:
Dat-agraiasize[100]:
Timeoutinseconds[2]:
Expendedcommands(nJ:y
Sourceaddressorincerface:20.20.20.Z
%Invalidsource
Sourceaddressorinterface:
Typeofservice[0]:
SetDFbitinIPheader?[no]:
Validatereplydata?[no]:
Datapattern[OxABCD]:
Loose,Strict.^Record.TimestaiapzVerbose(none]:
Sweeprangeofsizes(n]:
Typeescapesequencetoaborts
Sending5,100-byteICMPEchosto10.10.10.2,timeoutis2seconds:
Iii!i
Successrat^eis100percent(5/5),round-tripmin/avg/max=15/15/15ms
(3)在Route2上ping如下:
xiao2>enable
xiao2#ping10.10.10.1
Typeescapesequencetoabort.
Sending5,100-byt.eICMPEchosto10.10.10.1,,timeoutis2seconds:
I.I.!
Successrateis60percent(3/S).round-tripmin/avg/max=31/31/31ms
xiaoZfping10.10.10.2
Typeescapesequencetoabort.
Sending5,100-byteICMPEchosto10.10.10.Z,timeout,isZseconds:
I1H1
Successrateis100percent(5/5).round-tripmin/avg/max=31/40/62ms
xiao2#ping
Protocol[ip]:
TargetIPaddress:20.20.20.2
Repeat-count(5]:
Dat^agraiasize[100]:
Timeout:inseconds[2]:
Extendedcommands[n]:y
Sourceaddressorinterface:10.10.10.1
&Invalidsource
Sourceaddressorinterface:
Typeofservice[0]:
SetDFbit.inIPheader?[no]:
Validatereplydata?[no]:
Datapattern(OxABCD]:
Loose,Strict,.Record,TimestamprVerbose[none]:
Sweeprangeofsizes[n]:
Typeescapesequencet-oabort.
Sending5,100-byteICMPEchosto20.20.20.Z,timeoutisZseconds:
I!tII
Successrateis100percent.(5/5).round-tripmin/avg/max=16/16/16ms
xiao2#ping
Protocol[ip]:
TargetIPaddress:30.30.30.2
Repeatcount[S]:
Datagramsize[100]:
Timeoutinseconds[2]:
Ext-endedcoxmands[n]:y
Sourceaddressorinterface:10.10.10.1
*Invalidsource
Sourceaddressorinterface:
Typeofservice[0]:
SetDFbit.inIPheader?[no]:
Validatereplydata?[no]:
Dat.apattern[OxABCD]:
Loose/Strict-zRecord,TimestampzVerbose[none]:
Sweeprangeofsizes[n]:
Typeescapesequencetoabort.
SendingS,100-byteICMPEchos七。30.30.30.Z,timeoutis2seconds:
Successrateis100percent(5/5).round-tripmin/avg/max=0/9/16ms
5、顯示路由表Route1:
Co4?a:C-connected,S-italic,I-ICRP.R-RIP,X-ccblle.8-BGP
D-EIG?F,EX-WIGSiP-mal.0-CSPF,IA-OSPFxntexarea
N1-OSPFNSSA?xi;exnalcype1.H2-OSPFNSSA?xrcrn.ltj-pe?
£1-OSPF?xx?xn<ype1.£2-OSPTexternalxyp?2,E-£G?
1-IS-ISrLI-IS-ISlevel-1,L2-IS?ISlevel-2rxa-IS-ISinter<r?&
??e&ndid*tedefault^U-p?r-u?*rstaticrsuze.a-ODR
P-periodicdovnloadad-匕-croute
Gatewayoflastr?sostit10.10.10.1tonetwork0.0.0.0
10.0.0.0/24issubn?xt?d,1aubneLf
C10.10.10.0i>directlyconnecxed,Fa9t£ch?m*t0/0
30.0.0.0/24isiubn?^c?dr1tubnftcs
C30.30.39.0isdixeetl
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2024年學(xué)校教學(xué)管理制度(二篇)
- 開學(xué)典禮的演講稿100字(5篇)
- 2024年小學(xué)教學(xué)工作計(jì)劃書樣本(五篇)
- 2024年小學(xué)六年級班級工作計(jì)劃范例(二篇)
- 2024年少先隊(duì)輔導(dǎo)員工作總結(jié)例文(二篇)
- 高效的時(shí)間圖學(xué)習(xí):算法、框架與工具 Towards Efficient Temporal Graph Learning-Algorithms,Frameworks,and Tools
- 2024年少先隊(duì)的活動(dòng)總結(jié)標(biāo)準(zhǔn)范文(二篇)
- 2024年南京房屋租賃合同格式范本(二篇)
- 2024年幼兒園小班教育教學(xué)計(jì)劃范例(三篇)
- 2024年小學(xué)教師個(gè)人科研計(jì)劃模版(六篇)
- LY/T 3354-2023土地退化類型與分級規(guī)范
- 北京市商業(yè)地產(chǎn)市場細(xì)分研究
- 新媒體視覺設(shè)計(jì)之新媒體視覺設(shè)計(jì)基本要素
- 《大衛(wèi)科波菲爾(節(jié)選)》《老人與海》聯(lián)讀課件17張高中語文選擇性必修上冊
- HSK五級必過考前輔導(dǎo)課件
- 自動(dòng)化機(jī)械設(shè)備項(xiàng)目評價(jià)分析報(bào)告
- 北師大版-八年級上冊數(shù)學(xué)知識(shí)點(diǎn)及習(xí)題
- 醫(yī)療美容消費(fèi)服務(wù)合同
- 地球的形成和演化
- 投標(biāo)報(bào)價(jià)得分計(jì)算表Excele
- JT-T 795-2023 事故汽車修復(fù)技術(shù)規(guī)范
評論
0/150
提交評論