文档详情

(完整)实验4路由器基本配置及静态路由实验报告

jin****ng
实名认证
店铺
DOCX
85.50KB
约7页
文档ID:158513872
(完整)实验4路由器基本配置及静态路由实验报告_第1页
1/7

洛阳理工学院实验报告院别计算机与信班级B1205学号姓名息工程学院实验日期课程名称 计算机网络实验名称 实验四 路由器基本配置及静态路由2015.5.21成绩实验目的:1理解静态路由的配置原理,掌握静态路由的配置命令;2. 了解静态路由的使用场合及在路由器配置静态路由的完整过程实验条件:计算机、Cisco Packe t Tracer 5.1 及以上实验内容:一、1个简单网络的配置(1)网络拓扑结构图1341 应扫卷口1641*^ 破生狂1\PC-PT ±t?ioPC-PT主机丄图1. 一个简单网络(2) PC的IP地址分配表计算机IP地址子网掩码默认网关PC0193123.2.101255.255 255 1230100PC1192 168 100255.255.2550192.168.1006822Router0S0/0/0192 172 255 255128.2350F0/01932.100255255.255.0Router1S0/0/0192255.25172.128.234.255.0F0/0192.168.100.22255.255.255.0(3)为1841路由器增加WIC—2T模块,该模块上有串口蜜 . ••=■」甬 —IPhyuejl cnnfij | on '!: . TOut^*| Physical Devic# 趴吏料Zwni InHW」U~4EgWWIE-1JW■MlC-uSK:WIC LfWIE-2W■^IC-jrBit 5中(4) 进行连线。

5) 为PC0和PC1配置IP地址、子网掩码和默认网关6) <1>配置 RouterORouter〉 enableRou ter# configure t erminalRouter(config) #interface f0/0Router (config-if) # ip address 193.123100 255.255.2550Router (config一if)#no shutdown注释:接口默认为关闭状态,需要打开 一下Rou ter(config-i f)#exitRouter (config)#i nterface s0/0/0Router(config-if)#ip address 192 172 128.235 255 255 255 0Router(config-if)#clock rate 64000 %DCE 端需配置时钟Router(config—if)#no shutdownRouter(config——if)#exitRouter (config)#ip route 192 168 100.0 255 255 255 0 192.172128.234Router (config)#exit<2〉配置 Router1Router〉 enableRouter#configure terminalRouter (config) #interface f0/0Router (config-if) #ip address 192。

168.100 22 255.255.255.0Rou ter(config-i f)#no shu t downRouter(config-if)#ex itRou ter(config )#int erface S0/0/0Router(config—if) #ip address 192.172 128.234 255.255.255.0Router (config一if) #no shut downRouter(config)#ip route 193.1230 255255.0 192O 172.128.235Router(config)#exi t(7)检测网络连通性主机0与主机1相互PingoPC^pmg 192.1S8.10O.G8Pinging 192.1'SB -100.68 Hitzh 32 bytes of date:Reply from .IDD.£3二Reply from .IDD■石3二Repl? from 192-lffS.100.€8zReply from 192-l€8.100.€8zbytea=32bytes=32bytes=32byteg=32time=14iEStim£=17msTTL=L2eTTL=L2etiine=20ms time 二 lamsTTL=12€TTL=126(0% Loss),Fing statistics fo-r 132 - 10fl - G'B:Packets: Sent = 4, Elsceive竝 = 4r Lost = 0 Appr口ximate round trip times in milli-seconds :Minimuir. = 13msF MajEimuin = 20msp Average = l€ms图2主机0ping主机1能通POping 193 _ L23„ 2.1O1Pinning 193 - 12 32 - 1O1 with 3 2 byte s of 已.占七旦二Reply Reply R,= p.ly Replyif izam12 Hom=Z 匸 O-IElI: mm193 _123 _2-LOli193 _123 _Z_ LOlz193 _12S _Z_ LO3_^193 _1S3 _Z_ LOlzbyte s=32 tsy tes=32 匕”匕 M 3 =-32 tsy tes=32七 ime=l Oma tinne=l 3 ms ■fc xzru= = 1 Smtls tinne=l 5 msTTD=12^ TTI^IS-S T*TTr=l 2-C TTI^IZ-SPin^ atatistics 丘o匕 133 _123_ Z_101:Packets z Sent = 4 p Recei-ve-d. = 4 r Lo-st = 0 (0% loss] TAppnzojciimaXe izoizEid. trip tzmes in mi Hi — s eccmd.s zMxnxinum = LOim f Majciinmn = IEim p A^verage = 13ins图3主机Iping主机0能通二、较复杂网络配置(1)网络拓扑结构图0-24PORT 主机01841 童圭织]PC-PTPCI2950-2交按tni1841 淫生尝L1841理生垂2PC-PT PCDa,PC-PT主扭1图4由3个路由器构成的网络(2) PC的IP地址分配表计算机IP地址子网掩码默认网关主机0193.123.2.101255。

255255.0193.123100主机1192.168.100.68255.255.2550192.168.100o22PC0194255O 255.255.0194o101128.168.100PC1192.168100.3255 255.255o192o0168.100.22路由器S0/0/0192.172.128.235255.255.25500S0/0/119227.234255.255.255F0/0193100255255.0路由器S0/0/0192d72.128.234255.255.2551S0/0/1192128.126235255O 255.255.0F0/0192.168 100 22255255.0路由器S0/0/0192.172235255O 255.255.02S0/0/1192.128.126234255O 255.255.0F0/0194.128d68.100255.255.255.0(3) 路由器和主机的连接和配置方法和上述一样 ,此处略.(4) 检测连通性:<1>主机0与另外三台主机的连通性测试:FC>ping 194-1ES.1GS.101Pinging 194 „128 _101 wi th 32 byte s of d.ata:Keply Reply Reply Keplyiz conniz conniz izonniz conn194 „ 128 ■:L 君 B.:L□丄二t Lm£=lZin3t xinje=2 Omat ±inje=13in3t Lm£=2■mj=i2E■mj=i2 6Ping atatlstics £口= 194_123_ L^8„lOlzPackets z Sent = 4 p Q.ec&l-^e-d. = 4 r I>口勻匸 = 0 < 0% loss} pAppzzojcima te r ound. t rip txmes in mi 11L— se co-nds :MininninL = 12ms Majcimunn = 20ms p ATrera-g-e = 1 Sma图5主机0和PC0图6主机0和主机1POping-丄92 - l=n8 _100 - 3Pinging- 19Z. l^B _100 - 3 ■with 32 bytes 口:f -datazReplyKeplyReply£■ r OHL192-1&8.100.3 z bytes = 32132.1€a.l00.3; bytea=S2192_lea.100.3 z bytes = 32t; ime=l 3 mst ime=2 Imst; inue=2 OmsReply£■ e csin192-1C8.100.3 z bytes = 32t; ime=l tainsnL=12S图7和PC1经检Pin^ statistics 拒■<□■:£■ 192 - 1=&8 - 100 _ 3z Faczket; s:: Sent; = 4. Elece x^red. =Approjc±maxb r^ound. t rip t:±mea in mi 11 i —s eczo-ncis z Miniznum = 13ms F MajczimurLTiCI-at:2 Inns , Ave iza-ge = L7m3主机0测,主机0和其它三台主机能连通。

〈2>PC1与另外三台主机的连通性测试:Pinginij 193.123 - 2 - 1 01 witli 3 2 byte a o-f d.ata:Reply Reply Reply Reply丘Etonjze onn丘Etonjze onn193-123.2-101z193-123.2-1011193-123.2-101z193-123.2-1011fa-y tes=32 k>y tes=32 fa-y tes=32 k>y tes=32timje=19instimje=13instimje=13insTTL=12STTL=12STTL=12STTL=12SPztng statistics Eo-r 193-1Z3 ・2.:10:l二Packe ts: Sent = 4 _ Rece i-ved. =4= r Lo^t = 0 (0% losa) pApproj£±ma te Eoiznd. t rip time s in miLLi - seacmd.s:Minimum =丄Ims r MaMiimun = 19ms r Average = 14msPC>pin^ 194-12BPizigin^ 194 _12B. 1 ffS -100 with 32 bytes 口壬 且㈢七耳二Keply Reply Keply Reply丘 I: 口 nnjze onn丘 I: 口 nnjze onn194.128.1€8_100:194_L28.l€8_100:194.128.l€8_100:194_L28.l€8_100:Ibyt es=3Z t>ytes=3ZIbyt es=3Z t>ytes=3Zt imje=15inst iinje=13inst imje=13inst iinje=13insTTJj=2.S^TrL=2E!生TTL=2E!生TTJj=2.S^Ping statistics Eo-r 194 _1Z8.1€£^100: Packe ts: Sent£Approjciina te round, t rip time s in miLLi - seacmd.s: Minimum = 13ins r MajciiHLini = ISins r Average =Lost;(0% loss),1 3 msPC>pin^ 192.108.100■右吕Pinging 192- 1G8 ・10 0.右吕 wi th. 32 bytes 口f data:Reply Reply Reply Reply云i: 口 anjze onn云i: 口 anjze onn132.Lff8.100-SS:132.Lff8.100-SS:bytes=3£ bytes=3Z bytes=3£ bytes=3Zt inn£=lSm3t inne=10mamj=i28Tnj=128t inn£=Sins TTIj=1 2 St inne=Bins TTIL=12 8Ping statistics Eo-r 192-1^8.100„ SB : Pa.eke ts : SentLost0 (0% 1OS3),Apprdj£±ma te roiznd. t rip time s in milli - second.a:Mlniimini = Sms r Hajfiinum = ISmaAve racre = 1 Inna图8 PC1与另外三台主机的连通性测试图经检测,PC1和其它三台主机能连通另外2台主机连通性与主机 0和PC1检测方法相同,经检测,都能连通, 测试结果图片略。

实验总结:经过这次实验,我理解静态路由的配置原理, 掌握静态路由的配置命令 同时也了解静态路由的使用场合及在路由器配置静态路由的完整过程 .在实验中,会遇到各种各样的问题,有时候只是有一点点疏忽,就会导致配置的 网络无法连通,而且再查找哪里的问题也很困难所以在实验时一定要仔细 认真,严格地按照步骤一步一步来还有就是在实验时要多思考创新,根据 实验提供的网络的配置方法,举一反三,进行扩展,配置更加复杂的网络。

下载提示
相关文档
正为您匹配相似的精品文档