免费预览已结束,剩余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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026广西北海市银海区第一小学春季学期招聘临聘教学人员1人备考题库(含答案详解)
- 2026黑龙江大庆市肇源县招聘公益性岗位人员206人备考题库附答案详解(轻巧夺冠)
- 2026内蒙古兴安盟乌兰浩特市妇幼保健计划生育服务中心招聘控制数人员9人备考题库含答案详解(考试直接用)
- 2026广发银行宁波分行春季校园招聘备考题库附答案详解(黄金题型)
- 2026年上半年新疆昌吉州第二人民医院面向社会招聘编制外聘用人员11人备考题库附答案详解(培优b卷)
- 古蔺县成龙学校急招教师(6人)备考题库含答案详解(新)
- 2026江西九江德安县人民医院精神病区护理员招聘8人备考题库含答案详解(a卷)
- 2026汉江师范学院人才引进120人备考题库(湖北)参考答案详解
- 2026广东惠州惠城区横沥镇大岚卫生院招聘村卫生站工作人员1人备考题库含答案详解(典型题)
- 2026云南省建设投资控股集团有限公司校园招聘200人备考题库及答案详解(夺冠系列)
- 2026蜂蜜行业市场深度分析及竞争格局与投资价值研究报告
- 新能源汽车使用及高压安全防护试题库及答案
- 2025云南省建筑材料科学研究设计院有限公司第二次招聘5人笔试历年难易错考点试卷带答案解析
- 2026年平顶山职业技术学院单招职业技能考试题库附答案详细解析
- 2026年吉林电子信息职业技术学院单招职业倾向性测试题库附答案详解(巩固)
- 体检中心护理团队建设与协作
- 化工生产设备维护与检修手册(标准版)
- 白血病药物护理实践指南(2025年版)
- (17)义务教育劳动课程标准日常修订版(2022年版2025年修订)
- GB/T 17626.16-2007电磁兼容试验和测量技术0Hz~150kHz共模传导骚扰抗扰度试验
- GB/T 13173.6-1991洗涤剂发泡力的测定(Ross-Miles法)
评论
0/150
提交评论