欢迎来到天天文库
浏览记录
ID:14477445
大小:131.00 KB
页数:5页
时间:2018-07-28
《基于ospf的网络拓扑结构1》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、基于OSPF的网络拓扑结构:序号IP网段子网掩码所属设备1192.168.10.0255.255.255.252RS2~RS12192.168.10.4255.255.255.252RS1~RS43192.168.10.8255.255.255.252RS3~RS14192.168.10.12255.255.255.252RS1~RS55192.168.1.0255.255.255.252RS1~R26218.26.121.0255.255.255.252R2~R17192.168.20.0255.25
2、5.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.0
3、6192.168.40.2255.255.255.07192.168.50.1255.255.255.08192.168.50.2255.255.255.0配置OSPF:RS2上的配置:Switch>enableSwitch#configureterminalSwitch(config)#hostnameRS2RS2(config)#interfacefastEthernet0/1RS2(config-if)#noswitchportRS2(config-if)#ipaddress192.168.10.
4、1255.255.255.252RS2(config-if)#noshutdownRS2(config-if)#interfacefastEthernet0/2RS2(config-if)#noswitchportRS2(config-if)#ipaddress192.168.20.1255.255.255.128RS2(config-if)#noshutdownRS2(config-if)#interfacefastEthernet0/3RS2(config-if)#noswitchportRS2(c
5、onfig-if)#ipaddress192.168.20.129255.255.255.128RS2(config-if)#noshutdownRS2(config-if)#exitRS2(config)#routerospf110RS2(config-router)#router-id2.2.2.2RS2(config-router)#network192.168.10.00.0.0.3area0RS2(config-router)#network192.168.20.00.0.0.127area0
6、RS2(config-router)#network192.168.20.1280.0.0.127area0RS1上的配置:Switch>enableSwitch#configureterminalSwitch(config)#hostnameRS1RS1(config)#interfacefastEthernet0/1RS1(config-if)#noswitchportRS1(config-if)#ipaddress192.168.10.2255.255.255.252RS1(config-if)#
7、noshutdownRS1(config-if)#interfacefastEthernet0/2RS1(config-if)#noswitchportRS1(config-if)#ipaddress192.168.10.10255.255.255.252RS1(config-if)#noshutdownRS1(config-if)#interfacefastEthernet0/3RS1(config-if)#noswitchportRS1(config-if)#ipaddress192.168.10.
8、6255.255.255.252RS1(config-if)#noshutdownRS1(config-if)#interfacefastEthernet0/4RS1(config-if)#noswitchportRS1(config-if)#ipaddress192.168.10.14255.255.255.252RS1(config-if)#noshutdownRS1(config-if)#interfacefastEthernet0/
此文档下载收益归作者所有