![计算机网络第三讲静态路由的负载均衡_第1页](http://file4.renrendoc.com/view14/M07/08/0F/wKhkGWclgbKAHHJVAAEIelXJu2M852.jpg)
![计算机网络第三讲静态路由的负载均衡_第2页](http://file4.renrendoc.com/view14/M07/08/0F/wKhkGWclgbKAHHJVAAEIelXJu2M8522.jpg)
![计算机网络第三讲静态路由的负载均衡_第3页](http://file4.renrendoc.com/view14/M07/08/0F/wKhkGWclgbKAHHJVAAEIelXJu2M8523.jpg)
![计算机网络第三讲静态路由的负载均衡_第4页](http://file4.renrendoc.com/view14/M07/08/0F/wKhkGWclgbKAHHJVAAEIelXJu2M8524.jpg)
![计算机网络第三讲静态路由的负载均衡_第5页](http://file4.renrendoc.com/view14/M07/08/0F/wKhkGWclgbKAHHJVAAEIelXJu2M8525.jpg)
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
第三讲静态路由的负载均衡
实验目的
■理解路由在数据传输过程中的作用
■通过该实验学会配置静态路由,及静态路由的负载均衡,并通过ping命令体会静态
路由的负载均衡的效果
■掌握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. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025-2030年垃圾渗滤液深度处理设备行业跨境出海战略研究报告
- 2025-2030年在线医疗投资与创业孵化器行业深度调研及发展战略咨询报告
- 声学器件的音频处理与多方通话考核试卷
- 2025-2030年新能源汽车出口市场拓展企业制定与实施新质生产力战略研究报告
- 2025-2030年复古风格休闲服装复兴行业深度调研及发展战略咨询报告
- 2025-2030年可降解矿物餐具企业制定与实施新质生产力战略研究报告
- 2025-2030年户外露营睡袋椅企业制定与实施新质生产力战略研究报告
- 2025-2030年按摩设备社区健康讲座行业跨境出海战略研究报告
- 2025-2030年复合调味肉类行业跨境出海战略研究报告
- 2025-2030年手机防水防尘技术行业跨境出海战略研究报告
- 新员工入职通识考试(中软国际)
- 四星级酒店工程样板房装修施工汇报
- 圆翳内障病(老年性白内障)中医诊疗方案
- 博士后进站申请书博士后进站申请书八篇
- 华为携手深圳国际会展中心创建世界一流展馆
- 2023版思想道德与法治专题2 领悟人生真谛 把握人生方向 第3讲 创造有意义的人生
- 全过程工程咨询服务技术方案
- GB/T 41509-2022绿色制造干式切削工艺性能评价规范
- 土木工程毕业设计(论文)-五层宿舍楼建筑结构设计
- 青年卒中 幻灯
- 典型倒闸操作票
评论
0/150
提交评论