基于ospf的网络拓扑结构1

上传人:wt****50 文档编号:33955430 上传时间:2018-02-19 格式:DOC 页数:5 大小:131KB
返回 下载 相关 举报
基于ospf的网络拓扑结构1_第1页
第1页 / 共5页
基于ospf的网络拓扑结构1_第2页
第2页 / 共5页
基于ospf的网络拓扑结构1_第3页
第3页 / 共5页
基于ospf的网络拓扑结构1_第4页
第4页 / 共5页
基于ospf的网络拓扑结构1_第5页
第5页 / 共5页
亲,该文档总共5页,全部预览完了,如果喜欢就下载吧!
资源描述

《基于ospf的网络拓扑结构1》由会员分享,可在线阅读,更多相关《基于ospf的网络拓扑结构1(5页珍藏版)》请在金锄头文库上搜索。

1、基于 OSPF 的网络拓扑结构:序号 IP 网段 子网掩码 所属设备1 192.168.10.0 255.255.255.252 RS2RS12 192.168.10.4 255.255.255.252 RS1RS43 192.168.10.8 255.255.255.252 RS3RS14 192.168.10.12 255.255.255.252 RS1RS55 192.168.1.0 255.255.255.252 RS1R26 218.26.121.0 255.255.255.252 R2R17 192.168.20.0 255.255.255.0 接入 RS2 网络8 192.168

2、.30.0 255.255.255.0 接入 RS3 网络9 192.168.40.0 255.255.255.0 接入 RS4 网络10 192.168.50.0 255.255.255.0 接入 RS5 网络PC IP 地址 子网掩码1 192.168.20.1 255.255.255.02 192.168.20.2 255.255.255.03 192.168.30.1 255.255.255.04 192.168.30.2 255.255.255.05 192.168.40.1 255.255.255.06 192.168.40.2 255.255.255.07 192.168.50.

3、1 255.255.255.08 192.168.50.2 255.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 fast

4、Ethernet 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(conf

5、ig)#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

6、(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(c

7、onfig-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(

8、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)#networ

9、k 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 上的配

10、置: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 f

11、astEthernet 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(c

12、onfig)#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 RS4

13、RS4(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

14、(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-rout

15、er)#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

16、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(con

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 生活休闲 > 社会民生

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号