免费预览已结束,剩余1页可下载查看
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
基于OSPF的网络拓扑结构:序号IP网段子网掩码所属设备1192.168.10.0255.255.255.252RS2RS12192.168.10.4255.255.255.252RS1RS43192.168.10.8255.255.255.252RS3RS14192.168.10.12255.255.255.252RS1RS55192.168.1.0255.255.255.252RS1R26218.26.121.0255.255.255.252R2R17192.168.20.0255.255.255.0接入RS2网络8192.168.30.0255.255.255.0接入RS3网络9192.168.40.0255.255.255.0接入RS4网络10192.168.50.0255.255.255.0接入RS5网络PCIP地址子网掩码1192.168.20.1255.255.255.02192.168.20.2255.255.255.03192.168.30.1255.255.255.04192.168.30.2255.255.255.05192.168.40.1255.255.255.06192.168.40.2255.255.255.07192.168.50.1255.255.255.08192.168.50.2255.255.255.0配置OSPF:RS2上的配置:Switchenable Switch#configure terminalSwitch(config)#hostname RS2RS2(config)#interface fastEthernet 0/1RS2(config-if)#no switchportRS2(config-if)#ip address 192.168.10.1 255.255.255.252RS2(config-if)#no shutdownRS2(config-if)#interface fastEthernet 0/2RS2(config-if)#no switchport RS2(config-if)#ip address 192.168.20.1 255.255.255.128RS2(config-if)#no shutdownRS2(config-if)#interface fastEthernet 0/3RS2(config-if)#no switchport RS2(config-if)#ip address 192.168.20.129 255.255.255.128RS2(config-if)#no shutdownRS2(config-if)#exitRS2(config)#router ospf 110RS2(config-router)#router-id 2.2.2.2RS2(config-router)#network 192.168.10.0 0.0.0.3 area 0RS2(config-router)#network 192.168.20.0 0.0.0.127 area 0RS2(config-router)#network 192.168.20.128 0.0.0.127 area 0RS1上的配置:Switchenable Switch#configure terminalSwitch(config)#hostname RS1RS1(config)#interface fastEthernet 0/1RS1(config-if)#no switchport RS1(config-if)#ip address 192.168.10.2 255.255.255.252RS1(config-if)#no shutdownRS1(config-if)#interface fastEthernet 0/2RS1(config-if)#no switchport RS1(config-if)#ip address 192.168.10.10 255.255.255.252RS1(config-if)#no shutdownRS1(config-if)#interface fastEthernet 0/3RS1(config-if)#no switchport RS1(config-if)#ip address 192.168.10.6 255.255.255.252RS1(config-if)#no shutdownRS1(config-if)#interface fastEthernet 0/4RS1(config-if)#no switchport RS1(config-if)#ip address 192.168.10.14 255.255.255.252RS1(config-if)#no shutdownRS1(config-if)#interface fastEthernet 0/5RS1(config-if)#no switchport RS1(config-if)#ip address 192.168.1.2 255.255.255.252RS1(config-if)#no shutdownRS1(config-if)#exitRS1(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.1RS1(config)#router ospf 110RS1(config-router)#router-id 1.1.1.1RS1(config-router)#network 192.168.10.0 0.0.0.3 area 0RS1(config-router)#network 192.168.10.4 0.0.0.3 area 0RS1(config-router)#network 192.168.10.8 0.0.0.3 area 0RS1(config-router)#network 192.168.10.12 0.0.0.3 area 0RS1(config-router)#network 192.168.1.0 0.0.0.3 area 0RS1(config-router)#default-information originateRS3上的配置:Switchenable Switch#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#hostname RS3RS3(config)#interface fastEthernet 0/1RS3(config-if)#no switchport RS3(config-if)#ip address 192.168.10.9 255.255.255.252RS3(config-if)#no shutdownRS3(config-if)#interface fastEthernet 0/2RS3(config-if)#no switchport RS3(config-if)#ip address 192.168.30.1 255.255.255.128RS3(config-if)#no shutdownRS3(config-if)#interface fastEthernet 0/3RS3(config-if)#no switchport RS3(config-if)#ip address 192.168.30.129 255.255.255.128RS3(config-if)#no shutdownRS3(config-if)#exitRS3(config)#router ospf 110RS3(config-router)#router-id 3.3.3.3RS3(config-router)#network 192.168.10.8 0.0.0.3 area 0RS3(config-router)#network 192.168.30.0 0.0.0.127 area 0RS3(config-router)#network 192.168.30.128 0.0.0.127 area 0RS4上的配置:Switchenable Switch#configure terminalSwitch(config)#hostname RS4RS4(config)#interface fastEthernet 0/1RS4(config-if)#no switchport RS4(config-if)#ip address 192.168.10.5 255.255.255.252RS4(config-if)#no shutdownRS4(config-if)#interface fastEthernet 0/2RS4(config-if)#no switchport RS4(config-if)#ip address 192.168.40.1 255.255.255.128RS4(config-if)#no shutdownRS4(config-if)#interface fastEthernet 0/3RS4(config-if)#no switchport RS4(config-if)#ip address 192.168.40.129 255.255.255.128RS4(config-if)#no shutdownRS4(config-if)#exitRS4(config)#router ospf 110RS4(config-router)#router-id 4.4.4.4RS4(config-router)#network 192.168.10.4 0.0.0.3 area 0RS4(config-router)#network 192.168.40.0 0.0.0.127 area 0RS4(config-router)#network 192.168.40.128 0.0.0.127 area 0RS5上的配置:Switchenable Switch#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#hostname RS5RS5(config)#interface fastEthernet 0/1RS5(config-if)#no switchport RS5(config-if)#ip address 192.168.10.13 255.255.255.252RS5(config-if)#no shutdownRS5(config-if)#interface fastEthernet 0/2RS5(config-if)#no switchport RS5(config-if)#ip address 192.168.50.1 255.255.255.128RS5(config-if)#no shutdownRS5(config-if)#interface fastEthernet 0/3RS5(config-if)#no switchport RS5(config-if)#ip address 192.168.50.129 255.255.255.128RS5(config-if)#no shutdownRS5(config-if)#exitRS5(config)#router ospf 110RS5(config-router)#router-id 5.5.5.5RS5(config-router)#network 192.168.10.12 0.0.0.3 area 0RS5(config-router)#network 192.168.50.0 0.0.0.127 area 0RS5(config-router)#network 192.168.50.128 0.0.0.127 area 0使用PC机测试OSPF网络的连通性如下:PCping 218.26.121.2Pinging 218.26.121.2 with 32 bytes of data:Reply from 218.26.121.2: bytes=32 time=125ms TTL=253Reply from 218.26.121.2: bytes=32 time=125ms TTL=253Reply fr
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025西双版纳州景洪市城市投资开发有限公司第二次社会招聘备考题库(9人)附答案详解(精练)
- 2026中国南方航空航医岗位社会招聘3人备考题库附答案详解
- 2025江西吉安市井冈山开发区金庐陵经济发展有限公司面向社会招聘劳务派遣人员4人备考题库及1套完整答案详解
- 2025内蒙古呼和浩特春华水务开发集团有限责任公司招聘工作人员84人备考题库含答案详解(能力提升)
- 2025年宝鸡市中国·周原景区招聘备考题库含答案详解(综合题)
- 2025江西吉安青源发展集团有限公司及下属子公司招聘的拟入闱备考题库及答案详解1套
- 人力银行面试题目及答案
- 泉州护士笔试题及答案
- 区块链银行笔试题及答案
- 十堰市中小学教师职称晋升水平能力测试题附答案
- DB34T 2127.7-2014 区域地球化学调查样品分析方法 第7部分:原子荧光光谱法砷、锑、铋、汞含量的测定
- 工程概预算课程设计任务书(结构)2011
- DLT 836.1-2016 供电系统供电可靠性评价规程 第1部分:通.用要求
- 我的家乡江西-课件
- 2024全国职业院校技能大赛ZZ060母婴照护赛项规程+赛题
- 学生反邪教知识讲座
- 中班数学 数字找朋友课件
- 中式烹调菜肴培训教材
- 发展汉语初级口语(Ⅰ)第21课PPT
- 张汉熙《高级英语》第二册课文英语原文
- 机械振动学习题解答(三)
评论
0/150
提交评论