In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
1. Experimental Topology
Hot Standby Router Protocol
A virtual gateway is created between the two routers, one is an active router and the other is a standby router. When the active router down, the standby router receives non-hello information within 10 seconds and replaces the active router.
2. Basic configuration
R1 configuration
Interface Serial0/0
Ip address 12.1.1.1 255.255.255.0
Interface Serial0/1
Ip address 13.1.1.1 255.255.255.0
Interface Serial0/2
Ip address 15.1.1.1 255.255.255.0
Router ospf 110
Router-id 1.1.1.1
Log-adjacency-changes
Network 12.1.1.0 0.0.0.255 area 0
Network 13.1.1.0 0.0.0.255 area 0
Network 15.1.1.0 0.0.0.255 area 0
R2 configuration
Interface Serial0/0
Ip address 12.1.1.2 255.255.255.0
Interface FastEthernet1/0
Ip address 100.1.1.2 255.255.255.0
Router ospf 110
Router-id 2.2.2.2
Network 12.1.1.0 0.0.0.255 area 0
Network 100.1.1.0 0.0.0.255 area 0
R3 configuration
Interface Serial0/1
Ip address 13.1.1.3 255.255.255.0
Interface FastEthernet1/0
Ip address 100.1.1.3 255.255.255.0
Router ospf 110
Router-id 3.3.3.3
Network 13.1.1.0 0.0.0.255 area 0
Network 100.1.1.0 0.0.0.255 area 0
R4 configuration
No ip routing
Interface FastEthernet1/0
Ip address 100.1.1.4 255.255.255.0
Ip default-gateway 100.1.1.254
R5 configuration
Interface Serial0/2
Ip address 15.1.1.5 255.255.255.0
Router ospf 110
Router-id 5.5.5.5
Network 15.1.1.0 0.0.0.255 area 0
3. Configure HSRP
R2 configuration
Interface FastEthernet1/0
Standby 1 ip 100.1.1.254
Standby 1 priority 105
Standby 1 preempt
Standby 1 track Serial0/0
R3 configuration
Interface FastEthernet1/0
Standby 1 ip 100.1.1.254
Standby 1 preempt
Standby 1 track Serial0/1
3. Test HSRP
Because R2 has a higher priority than R3, the R2-bit Active router and the R3-bit Standby router are now available.
The MAC address format corresponding to the virtual gateway IP is
0000.0c 07.ac 01
OUI HSRP HSRP group
Since then, R3 will become an active router after either R2's f1scar0 or s0Uniq0 is turned off, and R2 will become an active router again because it is configured with preemption when it is restored.
In this case, only one router is forwarding data. In order to make better use of these two routers, we can configure two sets of HSRP. One set of default gateway is R2, and the other is R3, so that the effect of load balancing can be achieved.
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.