In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
In this issue, Xiaobian will bring you about the experimental analysis of glbp. The article is rich in content and analyzed and described from a professional perspective. After reading this article, I hope you can gain something.
GLBP protocol is called Gateway Load Banancing Protocol. Unlike HRSP and VRRP, GLBP not only provides redundant gateways, but also provides Load Balancer among gateways. HRSP and VRRP must select an active router, while the standby router is idle. Unlike HRSP, GLBP can bind multiple MAC addresses to virtual IPs, allowing clients to choose different routers as their default gateways, while gateway addresses still use the same virtual IP, thus achieving some redundancy. In GLBP, the router with the highest priority becomes the active router, called Acitve Virtual Gateway, and the other non-AVGs provide redundancy. After a router is elected as an AVG, a different job from HRSP begins, with AVG assigning virtual MAC addresses to other GLBP group members. All routers in the GLBP group forward packets, but each router is only responsible for forwarding packets associated with its own virtual MAC address. This provides a polling and Load Balancer across routers. Let's do an experiment to see:
R3 and R5 are used to simulate two PCs with 10 network segments, and R4 is used to simulate PCs with 20 network segments.
The configuration on the R1 router is as follows:
v R1(config)#interface e0/0
v R1(config-if)#glbp 1 ip 192.168.10.10
v R1(config-if)#glbp 1 priority 110
v R1(config-if)#glbp 1 pree delay 10
v R1(config)#track 10 inter e0/1 line-protocol
v
R1(config)#interface e0/1
v R1(config-if)#glbp 2 ip 192.168.20.20
v
v R1(config-if)#glbp 2 pree delay 10
v
v
The configuration on the v R2 router is as follows:
v R2(config)#interface e0/0
v R2(config-if)#glbp 1 ip 192.168.10.10
v
R2(config)#interface e0/1
v
R2(config-if)#glbp 2 prio 110
v R2(config-if)#glbp 2 pree delay 10
R2(config-if)#glbp 2 ip 192.168.20.20
v R2(config)#track 20 inter e0/0 line-protocol
v
View glbp status on both routers:
v
R2(config-if)#glbp 1 weigh track 20 dec 20R2(config-if)#glbp 1 pree delay 10 R1(config-if)#glbp 1 weigh track 10 dec 30
The implementation of gateway redundancy is similar to HSRP. We can see that the priority of virtual MAC is 7, which facilitates gateway polling. We ping 192.168.20.22 on the right from the two PCs on the left, and then we can see the results of this polling by showing ip arp command.
The above is what the experimental analysis of glbp shared by Xiaobian is. If there is a similar doubt, please refer to the above analysis for understanding. If you want to know more about it, please pay attention to the industry information channel.
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.