In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
First of all, look at this picture first. I have assigned each IP address.
Next, there is the experimental operation:
[R2] INT E0/0/0
[R2-Ethernet0/0/0] IP address 12.1.1.3 24
[R2-Ethernet0/0/0] q
[R2] int e0/0/1
[R2-Ethernet0/0/1] ip address 24.1.1.2 24
[R2] int e0Accord 0 (configure VRRP and virtualize an IP address on port E0Unix 0)
[R2-Ethernet0/0/0] vrrp vrid 1 virtual-ip 12.1.1.254 (fictitious an IP address)
[R2-Ethernet0/0/0] vrrp vrid 1 priority 150 (configure priority, and those with high priority will go through this route first)
[R2-Ethernet0/0/0] q
[R2] ospf 1 router-id 2.2.2.2 (OSPF is configured to allow three routers to interoperate)
[R2-ospf-1] area 0
[R2-ospf-1-area-0.0.0.0] network 12.1.1.0 0.0.0.255
[R2-ospf-1-area-0.0.0.0] network 24.1.1.0 0.0.0.255
[R3] int e0/0/0
[R3-Ethernet0/0/0] ip address 12.1.1.4 24
[R3] interface e0/0/1
[R3-Ethernet0/0/1] ip address 34.1.1.3 24
[R3-Ethernet0/0/0] vrrp vrid 1 virtual-ip 12.1.1.254
[R3-Ethernet0/0/0] vrrp vrid 1 priority 100 (the default priority is also 100. this command can be written or not, as long as it is lower than R2)
[R3-Ethernet0/0/1] q
[R3] ospf 1 router-id 3.3.3.3
[R3-ospf-1] area 0
[R3-ospf-1-area-0.0.0.0] network 12.1.1.0 0.0.0.255
[R3-ospf-1-area-0.0.0.0] network 34.1.1.0 0.0.0.255
As long as OSPF is configured on R4
[R4] int e0/0/0
[R4-Ethernet0/0/0] ip address 24.1.1.4 24
[R4-Ethernet0/0/0] int e0/0/1
[R4-Ethernet0/0/1] ip address 34.1.1.4 24
[R4-Ethernet0/0/1] q
[R4] ospf 1 router-id 4.4.4.4
[R4-ospf-1] ar
[R4-ospf-1] area 0
[R4-ospf-1-area-0.0.0.0] network 24.1.1.0 0.0.0.255
[R4-ospf-1-area-0.0.0.0] network 34.1.1.0 0.0.0.255
This is the end of the experiment, if you break a route, you can also access the external network.
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.