In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1, experiment name: OSPF multi-area configuration 2, experiment purpose: OSPF multi-area configuration to achieve network interworking 3, experiment topology:
4. Experiment step: R1:
System-view / / enter the system view
[Huawei] sysname R1 / / change device name
[R1] interface gi 0Compact 0 / / entry port
[R1-GigabitEthernet0/0/0] ip address 192.168.12.1 255.255.255.0ax / set IP address
[R1-GigabitEthernet0/0/0] undo shutdown / / Activation
[R1] interface LoopBack 0 / / enter the loop link
[R1-LoopBack0] ip add 10.10.1.1 255.255.255.0 / / set the loopback IP address
[R1-LoopBack0] Q / / exit
[R1] ospf / / defaults to 1 when entering ospf
[R1-ospf-1] area 0 / / create ospf backbone area 0
[R1-ospf-1-area-0.0.0.0] network 192.168.12.1 0.0.0.0 / / declare a precise ospf address
[R1-ospf-1-area-0.0.0.0] network 10.10.1.1 0.0.0.0 / / announce the precise ospf address
R2:
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 / / create non-backbone area 1
[R2-ospf-1-area-0.0.0.1] network 192.168.23.1 0.0.0.0 / / announces the IP address of the border loop link
R3:
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 / / create non-backbone area 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:
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 / / create non-backbone area 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. Verification and testing: (1) View the information of adjacency and routing table
(2) Test:
6. Summary: configuration ideas:
(1) configure the physical interface IP addresses of four routers
(2) configure the loopback IP address interface loopback 0 of each router
(3) R2 creates ospf backbone area area 0, R3 R4 creates non-backbone area area 1, and declares precise ospf links (physical IP and loopback IP addresses)
(4) R2 creates backbone area 0 and non-backbone area 1 and accurately declares the address
(5) the ping command verifies whether the network is interconnected.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.