![路由与交换实习实验报告材料参考_第1页](http://file4.renrendoc.com/view/f5a17d80be168347beeb98609e4edde0/f5a17d80be168347beeb98609e4edde01.gif)
![路由与交换实习实验报告材料参考_第2页](http://file4.renrendoc.com/view/f5a17d80be168347beeb98609e4edde0/f5a17d80be168347beeb98609e4edde02.gif)
![路由与交换实习实验报告材料参考_第3页](http://file4.renrendoc.com/view/f5a17d80be168347beeb98609e4edde0/f5a17d80be168347beeb98609e4edde03.gif)
![路由与交换实习实验报告材料参考_第4页](http://file4.renrendoc.com/view/f5a17d80be168347beeb98609e4edde0/f5a17d80be168347beeb98609e4edde04.gif)
![路由与交换实习实验报告材料参考_第5页](http://file4.renrendoc.com/view/f5a17d80be168347beeb98609e4edde0/f5a17d80be168347beeb98609e4edde05.gif)
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
实用文档实验报告【实验网络拓扑结构】标准文案大全实用文档【实验目的】实现校园网网络连通利用静态路由实现汇聚交换机和路由器与核心路由器间连通利用rip实现内部汇聚交换机与核心路由器间连通利用ospf实现汇聚路由器与核心路由器连通4)通过设置单臂路由使教学楼1和教学楼2能互相连通5)对学生宿舍楼和教学楼分别划分vlan2.在核心路由器上实现 nat转换,使内部网络能访问 internet设置标准acl规则:禁止外部用户访问内部网络4.设置扩展 acl规则:仅允许内部用户访问数据中心的 80,21端口6.在核心路由与出口路由间运用 ppp协议配置最后要求将检测结果放入一个 WORD文档中,文件名为 :学号-大作业.DOC中给出网络互通的效果,将 PING截图在各网络设备上,用 SHOWRUN命令对交换机,还要求 SHOWVLAN,showintipswitchport对路由器,还要求 SHOWIPROUTE对NAT,要求用PING–T,及DEBUGIPNAT对ACL,要求检测相关口或VLAN的ACL表,SHOWIPINT端口号【实验中运用的知识点】1)静态路由2)Rip3)Ospf4)nat转换5)标准访问控制列表规则6)扩展访问控制列表规则标准文案大全实用文档7)划分vlan8)单臂路由9)广域网协议 ppp【实验配置步骤】第一部分 配置内部网络连通注意:配置中省略了各端口的 ip配置,相信端口 ip可以从拓扑图中反应1)接入交换机 1配置划分vlanSwitch(config)#intfa0/2Switch(config-if)#switchportaccessvlanSwitch(config-if)#switchportaccessvlan2Switch(config)#intfa0/3Switch(config-if)#switchportaccessvlan3Switch(config)#intfa0/1Switch(config-if)#switchport trunk encapsulation dot1q(2960等交换机只支持 802.1q协议,这里忽略)Switch(config-if)#switchportmodetrunkSwitch(config-if)#switchporttrunkallowedvlanallSwitch(config-if)#exit2)汇聚路由器配置设置单臂路由Router(config)#interfacefa0/0.1 配置 子接口 这是配置单臂路由的关键,这个接口是个 逻辑接口,并不是实际存在的物理接口,但是功能却和物理接口是一样的。Router(config-subif)#encapsulation dot1q2 为这个接口配置 802.1Q协议,最后面的 2是vlan 号,这也是关键部分Router(config-subif)#ip address 为该接口划分 ip地址。Router(config-subif)#exitRouter(config)#interfacefa0/0.2Router(config-subif)#encapsulationdot1q3.Router(config-subif)#end设置ospfRouter(config)#routerospf100设置静态路由3)接入交换机 2配置创建vlan4vlan5Switch(config)#intvlan4Switch(config)#intvlan5标准文案大全实用文档Switch(config)#intfa0/2Switch(config-if)#switchportaccessvlan4Switch(config)#intfa0/3Switch(config-if)#switchportaccessvlan54)汇聚交换机配置为vlan4和vlan5设置设置trunkSwitch(config)#intfa0/1Switch(config-if)#switchportmodetrunk设置ripSwitch(config)#routerrip设置静态路由5)核心路由器配置设置静态路由设置ripRouter(config)#routerrip设置ospfRouter(config)#routerospf1006)汇聚交换机 2配置设置静态路由至此,内部网络均能互相连通,接下来我们先配置 nat使内网可以连通外网第二部分 设置nat转换,使内部用户能访问外部网络核心路由器( nat)配置Router(config)#intfa0/0Router(config-if)#ipnatinside// 将该接口标记为内部接口Router(config)#intfa1/0Router(config-if)#ipnatinside// 将该接口标记为内部接口Router(config)#intfa7/0 // 将该接口标记为内部接口Router(config-if)#ipnatinside标准文案大全实用文档Router(config)#intse2/0Router(config-if)#ipnatoutside// 将该接口标记为外部接口/定义标准访问控制列表10只允许定义的地址能够被转换Router(config)#ip natpool 定义名称为out的地址池。Router(config)#ipnatinsidesourcelist10poolout将访问控制列表定义的地址和地址池关联这样就有前内部主机能够得到公网地址。第三部分 设置acl规则首先设置出口路由器和核心路由器使外部网络与内部网络连通出口路由器配置设置静态路由核心路由器配置设置静态路由在出口路由器上做如下配置设置标准访问控制列表规则如下:禁止外部用户访问内部网络Router(config)#access-list11denyanyRouter(config)#intfa0/0Router(config-if)#ipaccess-group11in在核心路由器上做如下配置设置扩展访问控制列表规则如下仅允许内部用户访问数据中心的80,21端口Router(config)#ipaccess-listextendedtestRouter(config-ext-nacl)#permittcpanyanyeq80Router(config-ext-nacl)#permittcpanyanyeq21Router(config-ext-nacl)#denyipanyanyRouter(config)#intfa7/0Router(config-if)#ipaccess-grouptestout第四部分 广域网协议ppp设置出口路由器配置Router(config)#hostnameR1R1(config)#usernameR2passwordzglR1(config)#intse2/0标准文案大全实用文档R1(config-if)#enpppR1(config-if)#pppauthenticationchap核心路由器配置Router(config)#hostnameR2R2(config)#usernameR1passwordzglR2(config)#interfacese2/0R2(config-if)#enppp【实验检测】网络互通测试截图如下:教学楼到汇聚路由器标准文案大全实用文档教学楼到核心路由器教学楼到宿舍楼教学楼到数据中心标准文案大全实用文档教学楼到外部网络宿舍楼到教学楼宿舍楼到数据中心宿舍楼到外部网络标准文案大全实用文档外部网络到教学楼外部网络到宿舍楼标准文案大全实用文档外部网络到数据中心Nat转换测试:在核心路由器上 debugipnat 截图如下:Acl规则测试在核心路由器 Showip 端口标准文案大全实用文档、Router#showipinterfacefa7/0FastEthernet7/0isup,lineprotocolisup(connected)AddressdeterminedbysetupcommandMTUis1500HelperaddressisnotsetDirectedbroadcastforwardingisdisabledOutgoingaccesslististestInboundaccesslistisnotsetProxyARPisenabledSecuritylevelisdefaultSplithorizonisenabledICMPredirectsarealwayssentICMPunreachablesarealwayssentICMPmaskrepliesareneversentIPfastswitchingisdisabledIPfastswitchingonthesameinterfaceisdisabledIPFlowswitchingisdisabledIPFastswitchingturbovectorIPmulticastfastswitchingisdisabledIPmulticastdistributedfastswitchingisdisabledRouterDiscoveryisdisabledIPoutputpacketaccountingisdisabledIPaccessviolationaccountingisdisabledTCP/IPheadercompressionisdisabled标准文案大全实用文档RTP/IPheadercompressionisdisabledProbeproxynamerepliesaredisabledPolicyroutingisdisabledNetworkaddresstranslationisdisabledWCCPRedirectoutboundisdisabledWCCPRedirectexcludeisdisabledBGPPolicyMappingisdisabled在出口路由器 Showip 端口Router#showipinterfacefa0/0FastEthernet0/0isup,lineprotocolisup(connected)AddressdeterminedbysetupcommandMTUis1500HelperaddressisnotsetDirectedbroadcastforwardingisdisabledOutgoingaccesslistisnotsetInboundaccesslistis11ProxyARPisenabledSecuritylevelisdefaultSplithorizonisenabledICMPredirectsarealwayssentICMPunreachablesarealwayssentICMPmaskrepliesareneversentIPfastswitchingisdisabledIPfastswitchingonthesameinterfaceisdisabledIPFlowswitchingisdisabledIPFastswitchingturbovectorIPmulticastfastswitchingisdisabledIPmulticastdistributedfastswitchingisdisabledRouterDiscoveryisdisabled标准文案大全实用文档IPoutputpacketaccountingisdisabledIPaccessviolationaccountingisdisabledTCP/IPheadercompressionisdisabledRTP/IPheadercompressionisdisabledProbeproxynamerepliesaredisabledPolicyroutingisdisabledNetworkaddresstranslationisdisabledWCCPRedirectoutboundisdisabledWCCPRedirectexcludeisdisabledBGPPolicyMappingisdisabled在汇聚路由及核心路由上 showospfneighbor核心路由器上 showrun,showiprouterR2#showrunBuildingconfiguration...Currentconfiguration:1724bytes!version12.2noservicetimestampslogdatetimemsecnoservicetimestampsdebugdatetimemsecnoservicepassword-encryption!hostnameR2!usernameR1password0zgl!interfaceFastEthernet0/0ipnatinsideduplexautospeedauto标准文案大全实用文档!interfaceFastEthernet1/0ipnatinsideduplexautospeedauto!interfaceSerial2/0encapsulationpppauthenticationchapipnatoutsideclockrate64000!interfaceSerial3/0noipaddressshutdown!interfaceFastEthernet4/0noipaddressshutdown!interfaceFastEthernet5/0noipaddressshutdown!interfaceGigabitEthernet6/0noipaddressduplexautospeedautoshutdown!interfaceFastEthernet7/0ipaccess-grouptestoutipnatinsideduplexautospeedauto!routerospf100log-adjacency-changes!routerrip标准文案大全实用文档!ipclassless!!ipaccess-listextendedtestpermittcpanyanyeqwwwpermittcpanyanyeqftpdenyipanyany!nocdprun!!linecon0linevty04loginEndR2#showiprouteCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,ia-IS-ISinterarea-candidatedefault,U-per-userstaticroute,o-ODRP-periodicdownloadedstaticrouteC 标准文案大全实用文档C 在汇聚交换机 1上showvlanSwitch#showvlanVLANNameStatusPorts----------------------------------------------------------------------------1defaultactiveFa0/3,Fa0/5,Fa0/6,Fa0/7Fa0/8,Fa0/9,Fa0/10,Fa0/11Fa0/12,Fa0/13,Fa0/14,Fa0/15Fa0/16,Fa0/17,Fa0/18,Fa0/19Fa0/20,Fa0/21,Fa0/22,Fa0/23Fa0/24,Gig0/1,Gig0/24VLAN0004activeFa0/455active6VLAN0006activeFa0/21002fddi-defaultact/unsup1003token-ring-defaultact/unsup1004fddinet-defaultact/unsup1005trnet-defaultact/unsupVLANTypeSAIDMTUParentRingNoBridgeNoStpBrdgModeTrans1Trans2--------------------------------------------------------------------1enet1000011500-----004enet1000041500-----005enet1000051500-----006enet1000061500-----001002fddi1010021500-----001003tr1010031500-----001004fdnet1010041500---ieee-001005trnet1010051500---ibm-00RemoteSPANVLANs------------------------------------------------------------------------------标准文案大全实用文档PrimarySecondaryType Ports---------------------------------------------------------------------------在汇聚路由器上 showiprouterRouter#showiprouteCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,ia-IS-ISinterarea-candidatedefault,U-per-userstaticroute,o-ODRP-periodicdownloadedstaticroute汇聚交换机 2上showvlanSwitch#showvlanVLANNameStatusPorts----------------------------------------------------------------------------1defaultactiveFa0/3,Fa0/4,Fa0/5,Fa0/6Fa0/7,Fa0/8,Fa0/9,Fa0/10Fa0/11,Fa0/12,Fa0/13,Fa0/14Fa0/15,Fa0/16,Fa0/17,Fa0/18Fa0/19,Fa0/20,Fa0/21,Fa0/22Fa0/23,Fa0/24,Gig0/1,Gig0/22VLAN0002activeFa0/23VLAN0003activeFa0/11002fddi-defaultact/unsup1003token-ring-defaultact/unsup1004fddinet-defaultact/unsup1005trnet-defaultact/unsupVLANTypeSAIDMTUParentRingNoBridgeNoStpBrdgModeTrans1Trans2--------------------------------------------------------------------1enet1000011500-----002enet1000021500-----003enet1000031500-----00标准文案大全实用文档1002fddi1010021500-----001003tr1010031500-----001004fdnet1010041500---ieee-001005trnet1010051500---ibm-00RemoteSPANVLANs------------------------------------------------------------------------------PrimarySecondaryType Ports-------------------------------------------------------出口路由器上 showrun及showiprouterR1#showrunBuildingconfigur
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 实习生实习期内权益保障合同
- 技术许可合同(专利技术许可)
- 商业合作合同保密协议书
- 无产证房屋买卖合同范本
- 年度目标的分解与落实计划
- 培养学生的团队合作精神计划
- 实现业绩增长的年度工作布局计划
- 推进社区公共交通发展的个人工作计划
- 业主与开发商修路合同
- 劳动固定期限合同
- 年产珍珠棉7000吨纸箱包装3000吨生产项目环评报告表
- 健康管理-理论知识复习测试卷含答案
- 崩漏病(异常子宫出血)中西医诊疗方案
- 2024年甘肃省公务员考试《行测》真题及答案解析
- 《体育教学论》高职全套教学课件
- 2024亚马逊卖家状况报告
- 挪威云杉叶提取物在油性皮肤护理中的应用研究
- 京东快递工作合同模板
- 2024年内蒙古政府采购云平台题库
- 山东德州市宁津县2023-2024学年五年级下学期期末考试语文试题
- 安全生产专项整治三年行动全套台账、表格
评论
0/150
提交评论