上海应用技术学院实验报告课程名称 计算机网络原理 实验项目 3个路由器、4台PC机的互连姓名 专 业 班 级 软 件 工 程 学号 组别同 组 者 指导教师 日期 成绩一、目的及要求:L实现三个路由器,四 台PC机之间的网络通信。通过这些有浅入深的实验,初步掌握路由器的一些常规命令,加深对路由器,网络层协议的理解。二、实验 准备:1.Boson NetSim for CCNP 7.0Boson Network Designer 7.0三、实验内容:L拓扑结构2设 置PCPCI第 页k*IP C onfiguration区 C Obtain an IP address automatically(Specify an IP Address:IP ADDRESS|172.16.1.2SUBNET MASK255.255.255.0DEFAULT GATEWAYOK I CancelPC2PC3IP C onfigurationC Obtain an IP address automatical(Specify an IP Address:IP ADDRESS172.16.1.2gSUBNET MASKI255.255.255.0DEFAULT GATEWAY172.16.1.1OK|CareelPC43.设置路由器routeriR o u te r e n a b l.eR o u terV co n X tE n t e r c o n lo u r a t A on coaaaaanda,o n e p e r X X n e.E nd w lt C N T L/Z.R o u te r c o n f la)M in t e r sOR o u te r *en ca p u X tIo n p ppR o u te r c o r tiE lQ-l)lp a d d r 2 2 2.1.1.4 2 5 5.2 5 3.2 5 5.0R o u te r c o n lQ-l)*c lo c K r a t e 6 4 0 0 0R o u te r *n o s h u tLINK-3UPDOW H:I n t e r f a c e S e r 1&J.O,c h a n g e d a t a t e t o up%LIMX-3-WPDOWH:I n t e r f a c e S ert&X O,c h a n g e d a t a t t o downLIMZPROTO-5-VPDOW N:L in e p r o t o c o l o n I n t e r f a c e S erl J.O z c h a n g e d a t a t c t o dow nR ou t e r co n i!R o u te r c o n f i g)S i n t e r S1R o u te r|e n c a p s u X A t I o n pppR o u te r c o n fA a-1 2)lp a d d r 2 2 2.1.6.1 2 5 5.2 5 5.2 5 5.0R o u te r|c lo c R r a t e 6 4 0 0 0R o u te r f c o n X iQ-it)Wno s h u t令LINK-3-UFDOW M:I n t e r f a c e S e r l a X l,c h a n g e d s t a t e t o up令 LIMK-3-WPDOWH:I n t e r f a c e S e r l&ll,c tia n o e d a t a t e t o downWLIMEPROTO-5-UPDOWW:L in e p r o t o c o l o n I n t e r f a c e S e r la J.1,c h a n g e d a t a t e t o downR o u te r c o n 1 9-K I t t e x ltR o u t e r e th e OR o u te r c o n lg-1 1!IM e n c a p su J L o tio n p ppAQ I n v A lltf I n p u t d e t e c t e d a t A m a r k e r.R o u te r c o n C&-!)H ip a d d r 2 2 2.1.1.4 2 5 5.2 5 3.2 5 5.02 2 2.1.1.0 o v e r la p*w ltH S e r la lOR ou t er c o n i5|iO#n o H utQLXMK-3-UPDOWW:I n t e r f a c e E t h e r n e t 0 z c h a n g e d a t t c t o upR o u te r c o n 1 9-i )*c x l t%LIM X-3-UPD(nn:I n t e r f a c e S e r 1&J.O,ch&n g ed s t a t e t o up*LlMEPROTO-5-UPDOW H:L in e p r o t o c o l o n I n t e r f a c e SerXaJLO c h a n g e d B t a t e t o upR o u te r c o n 1 9)H r o u te r r ipR o u te r c o n iQ-r o u t e r)fln e tw o r k 2 2 2.1.1.0R o u te r c o n f&a-r o u t e r)W n etw ork 2 2 2.1.4.0R o u te r c o n le-r o u te r)M n e tw o r X 2 2 2.1.6.0R o u t e r R outerenableR outerffconf tE nter co n fig u ra tio n coaranands,one per l i n e.End w ith CNTL/Z.R outerconfig)M inter sOR ou ter con fig-l)|en cap*u l.ation pppR outerconX lQ-lf)B lp addr 2 2 2.1.5.1 2 5 3.2S3.2 5 3.0R o u ter co n fIg-lf)V clock ra te 64000R outer(conlg-lX)*no shut%LINK-3-UPDOWH:In te r fa c e Serl&104 changed s ta te to upR outer(confR o u terfco n tig)V in ter s iRout er conf)11 en ca p su la tio n pppR o u te r(c o n fig-lf)lp ddr 2 2 2.1.4.2 2 3 3.2 3 3.2 3 3.0R outerc o n fig-If)B c lo c k ra te 64000R o u ter con fig-il)B n o shutLINK-B-UPDOWN:In terfa ce S e r i&llt changed s ta te to upR outer(c o n fig-it)S e x it%LIMK-3-UPDOVN:In te r la c e SerlaJLl,changed s ta te to down1LIIEPR0T0-5-UPD0VN:L ine p ro to co l on In te r fa c e Serl l,changed s ta te to downR o u terfco n fig)S in ter etheOR ou ter con fig-iC)ip addr 2 2 2.1.2.2 2 5 5.2 5 5.25S.0R outer(c o n f 0 no shutLINK-3-UPD0VN:In te r fa c e E thernet。,changed s ta te to upR o u te r(c o n fig-if)*e x ltR outer(config)M router ripR outer(con19-router)*netw ork 2 2 2.1.2.0R outer con f1g-rou ter)*netw ork 2 2 2.1.3.0R outer*n o shutIHK-3-VPDOWM:In te r fa c e S eria lO,changed stfttc to upR o u te r fc o n fig-if)*e x itR o u te rfco n fig)V in ter s iR o u ter tten ca p su la tio n pppRo u t e r c o n f a d d r 2 2 2.1.5.2 2 5 S.2 3 5.2 5 5.0R o u te r(c o n ig-if)*c lo c k r te 64000R o u tc r fc o n fig-if)ttn o hutLIMK-3-UPD0WN:In te r fa c e S e r f a ll,changed s ta te to upR o u te r te x ttR ou terfco n fig)M in ter etheOR o u te r fc o n fig-if ip Addr 2 2 2.1.3.2 2 5 5.2 5 5.2 5 5.0R outerconf i g-i t )|n o shutQLINK-3-UPD0VN:In te r fa c e E th ern et。,changed s t a t e to upR outer(con fRout er plna 2 2 2.1.3.1Pinging 2 2 2.1.3.1 v ith 32 byte*of data:RequestRequestRequestRequestRequestt Unedtimedtunedt unedtunedout*o u t.o u t.o u t.out.Ping s t a t is t ic s fo r 2 2 2.1.3.1:Packets:Sent-S,R eceived-0,Lost-3(100*lo s s)tUpproxinate round tr ip time*in m in i-seco n d s:Kininun-0M,NAXIMUB-0MS,Average-QMPC3 ping PC4K?ping 2 2 2.1.3.1(Pinging 2 2 2.1.3.1 w ith 32 bytes of data:Request I S e d o u t.Request tiMed o u t,Request tlMrd o u t.Rcijuest t iMed o u t.Request tiMed o u t.Ping s t a t is t ic s for 2 2 2.1.3.1:Packet*:Sent-5,Received-0,Lost-5(100%lo s s)tApproximate round tr ip tljes in miJLLi-seconds:Hinumm-Qms,Nax mum-0ms,Average-0ms四、结论及体会:通过这次的实验,了解如何通过多台PC机通过交换机和路由器进行互联。学会怎样利用3个路由器和4台PC机构建子网之间的网络通信,熟练掌握了子网构建的基本方法和路由器的初步链接方式,对子网连接后信息的交互和传递有了初步的认识。在一开始连接拓扑图和命令输入时遇