計(jì)算機(jī)網(wǎng)絡(luò)第三講靜態(tài)路由的負(fù)載均衡_第1頁(yè)
計(jì)算機(jī)網(wǎng)絡(luò)第三講靜態(tài)路由的負(fù)載均衡_第2頁(yè)
計(jì)算機(jī)網(wǎng)絡(luò)第三講靜態(tài)路由的負(fù)載均衡_第3頁(yè)
計(jì)算機(jī)網(wǎng)絡(luò)第三講靜態(tài)路由的負(fù)載均衡_第4頁(yè)
計(jì)算機(jī)網(wǎng)絡(luò)第三講靜態(tài)路由的負(fù)載均衡_第5頁(yè)
已閱讀5頁(yè),還剩3頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

第三講靜態(tài)路由的負(fù)載均衡

實(shí)驗(yàn)?zāi)康?/p>

■理解路由在數(shù)據(jù)傳輸過(guò)程中的作用

■通過(guò)該實(shí)驗(yàn)學(xué)會(huì)配置靜態(tài)路由,及靜態(tài)路由的負(fù)載均衡,并通過(guò)ping命令體會(huì)靜態(tài)

路由的負(fù)載均衡的效果

■掌握ping命令的使用

實(shí)驗(yàn)拓?fù)?/p>

FaD/0./

2621XM

2621XMRouter2

RouterO

實(shí)驗(yàn)內(nèi)容

1、將所有的路由器起名稱(chēng),并且設(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)對(duì)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)對(duì)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

專(zhuān)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. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論