重庆分公司,新征程启航

为企业提供网站建设、域名注册、服务器等服务

划分OSPF多区域配置-创新互联

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

创新互联于2013年成立,先为屯溪等服务建站,屯溪等地企业,进行企业商务咨询服务。为屯溪企业网站制作PC+手机+微官网三网同步一站式服务解决您的所有建站问题。

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

|3,实验拓扑:

划分OSPF多区域配置

|4,实验步骤:

|R1:

|[Huawei]sysname R1

|[R1]interface gi0/0/0

|[R1-GigabitEthernet0/0/0]ip add 192.168.12.1 255.255.255.0

|[R1-GigabitEthernet0/0/0]undo shutdown

|[R1-GigabitEthernet0/0/0]interface gi0/0/1

|[R1-GigabitEthernet0/0/1]ip add 192.168.14.1 255.255.255.0

|[R1-GigabitEthernet0/0/1]undo shutdown

|[R1]interface LoopBack 0

|[R1-LoopBack0]ip add 10.10.1.1 255.255.255.0

|[R1-LoopBack0]q

|[R1]ospf

|[R1-ospf-1]area 0

|[R1-ospf-1-area-0.0.0.0]net

|[R1-ospf-1-area-0.0.0.0]network 192.168.12.1 0.0.0.0

|[R1-ospf-1-area-0.0.0.0]network 10.10.1.1 0.0.0.0

|[R1-ospf-1-area-0.0.0.0]q

|[R1-ospf-1]area 1

|[R1-ospf-1-area-0.0.0.1]network 192.168.14.1 0.0.0.0

|R2:

|[Huawei]sy

|[Huawei]sysname R2

|[R2]interface gi0/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 gi0/0/0

|[R2-GigabitEthernet0/0/0]ip add 192.168.23.1 255.255.255.0

|[R2-GigabitEthernet0/0/0]undo shutdown

|[R2-GigabitEthernet0/0/0]interface gi0/0/2

|[R2-GigabitEthernet0/0/2]ip add 192.168.26.1 255.255.255.0

|[R2-GigabitEthernet0/0/2]undo shutdown

|[R2-GigabitEthernet0/0/2]

|[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 192.168.23.1 0.0.0.0

|[R2-ospf-1-area-0.0.0.0]network 192.168.26.1 0.0.0.0

|[R2-ospf-1-area-0.0.0.0]network 10.10.2.2 0.0.0.0

|R3:

|[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.35.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 0

|[R3-ospf-1-area-0.0.0.0]network 10.10.3.3 0.0.0.0

|[R3-ospf-1-area-0.0.0.0]network 192.168.23.2 0.0.0.0

|[R3-ospf-1-area-0.0.0.0]q

|[R3-ospf-1]area 35

|[R3-ospf-1-area-0.0.0.35]network 192.168.35.1 0.0.0.0

|R4:

|[Huawei]sysname R4

|[R4]interface gi0/0/0

|[R4-GigabitEthernet0/0/0]ip add 192.168.14.2 255.255.255.0

|[R4-GigabitEthernet0/0/0]undo shutdown

|[R4-GigabitEthernet0/0/0]interface gi0/0/1

|[R4-GigabitEthernet0/0/1]ip add 192.168.46.1 255.255.255.0

|[R4-GigabitEthernet0/0/1]q

|[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

|[R4-ospf-1-area-0.0.0.1]net

|[R4-ospf-1-area-0.0.0.1]network 192.168.14.2 0.0.0.0

|[R4-ospf-1-area-0.0.0.1]network 192.168.46.1 0.0.0.0

|[R4-ospf-1-area-0.0.0.1]network 10.10.4.4 0.0.0.0

|R5:

|[Huawei]sysname R5

|[R5]interface gi0/0/0

|[R5-GigabitEthernet0/0/0]ip add 192.168.35.2 255.255.255.0

|[R5-GigabitEthernet0/0/0]undo shutdown

|[R5-GigabitEthernet0/0/0]q

|[R5]interface LoopBack 0

|[R5-LoopBack0]ip add 10.10.5.5 255.255.255.0

|[R5-LoopBack0]q

|[R5-ospf-1-area-0.0.0.35]network 10.10.5.5 0.0.0.0

|[R5-ospf-1-area-0.0.0.35]

|R6:

|[Huawei]sysname R6

|[R6]interface gi0/0/0

|[R6-GigabitEthernet0/0/0]ip add 192.168.46.2 255.255.255.0

|[R6-GigabitEthernet0/0/0]undo shutdown

|[R6-GigabitEthernet0/0/0]interface gi0/0/1

|[R6-GigabitEthernet0/0/1]ip add 192.168.26.2 255.255.255.0

|[R6-GigabitEthernet0/0/1]undo shutdown

|[R6-GigabitEthernet0/0/1]q

|[R6]interface LoopBack 0

|[R6-LoopBack0]ip add 10.10.6.6 255.255.255.0

|[R6-LoopBack0]q

|[R6]ospf

|[R6-ospf-1]area 1

|[R6-ospf-1-area-0.0.0.1]net

|[R6-ospf-1-area-0.0.0.1]network 192.168.46.2 0.0.0.0

|[R6-ospf-1-area-0.0.0.1]network 10.10.6.6 0.0.0.0

|[R6-ospf-1-area-0.0.0.1]q

|[R6-ospf-1]area 0

|[R6-ospf-1-area-0.0.0.0]network 192.168.26.2 0.0.0.0

|5,验证及测试:

划分OSPF多区域配置

划分OSPF多区域配置

|6,总结:

|配置思路:

(1)配置所有路由器的IP地址,回环接口。并确保邻近路由器直连链路可以实现互通

(2)-划分OSPF区域:

(3)验证OSPF多区域互通性



另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


本文标题:划分OSPF多区域配置-创新互联
本文来源:http://cqcxhl.cn/article/cdgidj.html

其他资讯

在线咨询
服务热线
服务热线:028-86922220
TOP