欢迎来到天天文库
浏览记录
ID:44121696
大小:377.44 KB
页数:18页
时间:2019-10-18
《计网实验报告2》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、四川大学计算机学院、软件学院实验报告学号:姓名:专业:计算机科学与技术班级:_第—周课程名称计算机网络实验课时4实验项目RTP路由协议基本配置跨交换机实现VLAN实验时间2015.11.11实验目的RIP路由协议基本配置:掌握在路由器上如何配置RIP路由协议跨交换机实现VLAN:掌握如何在交换机上划分基于端口的VLAN、如何给VLAN内添加端口,理解跨交换机Z间VLAN的特点实验环境路由器2台三层交换机1台二层交换机1台实验内容(算法、程序、步骤和方法)RIP路由协议基本配置需求分析两台路由器通过快速以太网端口连接在一起,每个路由器上设置2个Loopback端口模拟子网,
2、在所有端口运行RIP路由协议,实现所有子网间的互通。实验原理RIP(RoutingInformationProtocols,路由信息协议)是应用较早、使用较普遍的IGP(InteriorGatewayProtocol,内部网关协议),适用于小型同类网络,是典型的距离矢量(distance-vector)协议。RIP协议以跳数做为衡量路径开销的,RIP协议里规定最大跳数为15。RIP在构造路由表时会使用到3种计时器:更新计时器、无效计时器、刷新计时器。它让每台路由器周期性地向每个相邻的邻居发送完整的路由表。路由表包括每个网络或子网的信息,以及与之相关的度量值。实验代码Rou
3、terARuijie#conftEnterconfigurationcommands,oneperline.EndwithCNTL/Z・Ruijie(config)^interfacefastEthernet0/0Ruijie(config-if-FastEthernet0/0)#Ruijie(config-if-FastEthernet0/0)#exitRuijie(config)ttinterfacefastRthernet0/0%Invalidinputdetectedat…marker・Ruijie(config)#endRuijie#*0ct2815:00:26
4、:%SYS-5-C0NFIG_I:ConfiguredfromconsolebyconsoleRuijie#Ruijie#interfacefastEthernet0/0%Unknowncommand.RuijieftconftEnterconfigurationcommands,oneperline.EndwithCNTL/Z.Ruijie(config)#interfacefastEthernet0/0Ruijie(config-if-FastEthernet0/0)#Ruijie#*0ct2814:19:02:%SYS-5-C0NFIG_I:Configuredfr
5、omconsolebyconsoleRuijiettping1.1.1.1Sending5,100-byteICMPEchoesto1.1・1.1,timeoutis2seconds:Successrateis0percent(0/5)Ruijie#cnableRuijiettconfigureterminalEnterconfigurationcommands,oneperline.EndwithCNTL/Z.Ruijie(config)#hostnameRouterARouterA(config)#RouterA(config)
6、#bannermotd&EnterTEXTmessage・Endwiththecharacter・WelcometoRouterA,ifyouareadmin,youcanconfigit.&RouterA(config)#exitRouterA#*0ct2815:01:29:%SYS-5-CONFIG1:ConfiguredfromconsolebyconsoleRouterA#c()nfigureterminalEnterconfigurationcommands,oneper1ine.EndwithCNTL/Z.RouterA(config)#interfacefa
7、stEthernet0/0RouterA(config-if-FastEthernet0/0)#ipaddress192.168.1.1.255.255.255.0%Invalidinputdetectedat…marker・RouterA(config-if-FastEthemet0/0)#noshutdownRouterA(config-if-FastEthernet0/0)#endRouterA#*Oct2815:02:34:%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleRo
此文档下载收益归作者所有