版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
第三講靜態(tài)路由的負載均衡
實驗目的
■理解路由在數據傳輸過程中的作用
■通過該實驗學會配置靜態(tài)路由,及靜態(tài)路由的負載均衡,并通過ping命令體會靜態(tài)
路由的負載均衡的效果
■掌握ping命令的使用
實驗拓撲
FaD/0./
2621XM
2621XMRouter2
RouterO
實驗內容
1、將所有的路由器起名稱,并且設置其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設置路由表:
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進行設置虛擬接口及默認路由:
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!進行設置虛擬接口:
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、運用ping命令將所有的鏈路層調試通:
(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. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年浙江建筑安全員《A證》考試題庫及答案
- 2025江西省安全員-C證考試(專職安全員)題庫及答案
- 2025陜西省建筑安全員《B證》考試題庫及答案
- 2025浙江省安全員A證考試題庫附答案
- 二十四節(jié)氣之立春課件模板
- 《蛋糕制作》課件
- 工藝管道培訓課件
- 《海南??谙母偂氛n件
- 單位管理制度收錄大合集【人員管理篇】
- 有機玻璃操作箱行業(yè)行業(yè)發(fā)展趨勢及投資戰(zhàn)略研究分析報告
- 小豆苗產品介紹門診端
- 空調安裝和維修的培訓
- 海康執(zhí)法記錄儀解決方案
- 液化氣供應站安全管理制度和營業(yè)制度
- GB/T 21385-2008金屬密封球閥
- GB/T 18994-2003電子工業(yè)用氣體高純氯
- 文言文閱讀訓練:《三國志-武帝紀》(附答案解析與譯文)
- (完整版)招聘面試方案設計與研究畢業(yè)論文設計
- 調休單、加班申請單
- 肉制品生產企業(yè)名錄296家
- 規(guī)劃設計收費標準
評論
0/150
提交評論