中小型企业网络构建 OSPF 多区域配置

1,实验名称:OSPF多区域配置

2,实验目的:OSPF多区域配置实现全网互通

3,实验拓扑:

中小型企业网络构建 OSPF 多区域配置

4,实验步骤:

R1:

<Huawei>system-view //进入系统视图
[Huawei]sysname R1 //更改设备名称
[R1]interface gi 0/0/0 //进入端口
[R1-GigabitEthernet0/0/0]ip address 192.168.12.1 255.255.255.0//设置IP地址
[R1-GigabitEthernet0/0/0]undo shutdown //激活
[R1]interface LoopBack 0 //进入回环链路
[R1-LoopBack0]ip add 10.10.1.1 255.255.255.0 //设置回环IP地址
[R1-LoopBack0]q //退出
[R1]ospf //进入ospf 默认是1
[R1-ospf-1]area 0 //创建ospf骨干区域0
[R1-ospf-1-area-0.0.0.0]network 192.168.12.1 0.0.0.0 //宣告精准ospf地址
[R1-ospf-1-area-0.0.0.0]network 10.10.1.1 0.0.0.0 //宣告精准ospf地址

R2:

<Huawei>system-view
[Huawei]sysname R2
[R2]interface gi 0/0/1 [R2-GigabitEthernet0/0/1]ip add 192.168.12.2 255.255.255.0
[R2-GigabitEthernet0/0/1]undo shutdown
[R2-GigabitEthernet0/0/1]interface gi 0/0/0
[R2-GigabitEthernet0/0/0]ip add 192.168.23.1 255.255.255.0
[R2-GigabitEthernet0/0/0]undo shutdown
[R2]interface LoopBack 0
[R2-LoopBack0]ip add 10.10.2.2 255.255.255.0
[R2-LoopBack0]q
[R2]ospf
[R2-ospf-1]area 0
[R2-ospf-1-area-0.0.0.0]network 192.168.12.2 0.0.0.0
[R2-ospf-1-area-0.0.0.0]network 10.10.2.2 0.0.0.0
[R2-ospf-1]area 1 //创建非骨干区域1
[R2-ospf-1-area-0.0.0.1]network 192.168.23.1 0.0.0.0 //宣告边界回环链路IP地址

R3:

<Huawei>system-view
[Huawei]sysname R3
[R3]interface gi0/0/1
[R3-GigabitEthernet0/0/1]ip add 192.168.23.2 255.255.255.0
[R3-GigabitEthernet0/0/1]undo shutdown
[R3-GigabitEthernet0/0/1]interface gi0/0/0
[R3-GigabitEthernet0/0/0]ip add 192.168.34.1 255.255.255.0
[R3-GigabitEthernet0/0/0]undo shutdown
[R3]interface LoopBack 0
[R3-LoopBack0]ip add 10.10.3.3 255.255.255.0
[R3-LoopBack0]q
[R3]ospf
[R3-ospf-1]area 1 //创建非骨干区域1
[R3-ospf-1-area-0.0.0.1]network 192.168.23.2 0.0.0.0
[R3-ospf-1-area-0.0.0.1]network 192.168.34.1 0.0.0.0
[R3-ospf-1-area-0.0.0.1]network 10.10.3.3 0.0.0.0

R4:

<Huawei>system-view
[Huawei]sysname R4
[R4]interface gi0/0/1
[R4-GigabitEthernet0/0/1]ip add 192.168.34.2 255.255.255.0
[R4-GigabitEthernet0/0/1]undo shutdown
[R4]interface LoopBack 0
[R4-LoopBack0]ip add 10.10.4.4 255.255.255.0
[R4-LoopBack0]q
[R4]ospf
[R4-ospf-1]area 1 //创建非骨干区域1
[R4-ospf-1-area-0.0.0.1]network 192.168.34.2 0.0.0.0
[R4-ospf-1-area-0.0.0.1]network 10.10.4.4 0.0.0.0
[R4-ospf-1-area-0.0.0.1]

5,验证及测试:

(1)查看邻接及路由表的信息

中小型企业网络构建 OSPF 多区域配置

中小型企业网络构建 OSPF 多区域配置

中小型企业网络构建 OSPF 多区域配置

中小型企业网络构建 OSPF 多区域配置

(2)测试:

中小型企业网络构建 OSPF 多区域配置

中小型企业网络构建 OSPF 多区域配置

中小型企业网络构建 OSPF 多区域配置

中小型企业网络构建 OSPF 多区域配置

6,总结:

配置思路:

(1)配置四台路由器的物理接口IP地址
(2)配置每台路由器的回环IP地址interface loopback 0
(3)R1,R2创建ospf骨干区域area 0 ,R3 R4创建非骨干区域area 1,并宣告精准 ospf链路(物理IP和回环IP地址)
(4)R2创建骨干区域area 0和非骨干区域area 1并精准宣告地址
(5)ping命令验证是否全网互通

转载于:https://blog.51cto.com/13560878/2062223

随着中小型企业的高速发展,对网络处理和传输性能提出了新的要求。由于点接入路由器和终端接入设备年代较久,性能和扩展能力都出现了瓶颈,严重影响点业务的发展和客户服务质量。为此本论文设计了一个中小型企业的网络工程,从而解决了由于设备性能低下出现瓶颈的问题,而且提高了企业网络工程的扩展能力。 本论文首先讨论了中小企业的背景、意义、应用现状以及研究与开发现状,然后对OSPF协议、DHCP协议、VLAN的划分、静态路由以及数据流控制等相关技术理论作了简单的论述,其次结合工程项目,论述了企业网络的需求分析、整体设计,其中包括对IP地质的划分,网络拓扑图等做了分析和描述。接下来,论文着重讨论了基于OSPF协议的网络工程的设计和实现,详细地论述了各个协议的运用和实现方法。最后,对整个网络进行了测试。 关键词:网络工程;协议;性能;扩展 ABSTRACT With the rapid development of small and medium enterprises, this network processing and network transmission performance and scalability of terminal smooth raised new demands. As the network access routers and terminal access device's longer, performance and scalability bottlenecks have appeared, it affect the network business development and customer service. To this end this paper, an application of existing small and medium enterprises in network engineering, to solve the poor performance bottleneck because the equipment problems, and improve the ability of the corporate network expansion project. This paper first discusses the background of small and medium networks, meaning, application status, and research and development status, Then on the OSPF protocol, DHCP protocol, VLAN classification, static routing and data flow control and other related technology theory briefly discussed, Secondly, combined with the project, specifically addressing the needs of the corporate network analysis, overall design, including the division of IP addresses, network topology maps were analyzed and described. Next, the paper focused on the OSPF protocol-based network engineering design and implementation. Discussed in detail in the paper the use of various agreements and implementation methods. Finally, test the entire network. Keywords: Network engineering; protocol; performance; expansion
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值