Gateway Load Balancing Protocol
-One virtual IP, multiple virtual MAC addresses
-Send traffic with a single gateway address
-Ability to automatically resume routing when a failure occurs
-Take full advantage of all routers without creating multiple sets of
The principle of implementation is also multiple physical devices, virtual one IP. The assigned virtual Mac can have multiple (up to 4)
GLBP Operations
-GLBP Group will elect an AVG
-AVG is responsible for assigning virtual MAC addresses to members of each group
-Each AVF becomes the active router for the virtual MAC address
-AVG is responsible for responding to ARP requests by giving each customer a different MAC address to achieve a balanced
Avg:active vitrual Gateway Active gateways (only one)
For responding to ARP
Avf:active vitrual Forwarder Active forwarding router (all participating devices. Up to 4)
For forwarding traffic
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/79/74/wKioL1aR6l-B4bROAADQgp5O7J4184.png "title=" QQ picture 20160110132627.png "alt=" Wkiol1ar6l-b4broaadqgp5o7j4184.png "/>
Configuration
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/79/75/wKiom1aR6m6yeHcfAACRSlZHGAM356.png "title=" QQ picture 20160110132729.png "alt=" Wkiom1ar6m6yehcfaacrslzhgam356.png "/>
Experiment:
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/79/75/wKiom1aR6vrxeSGbAAB_-tqjEo0589.jpg "title=" QQ picture 20160110132946.jpg "alt=" Wkiom1ar6vrxesgbaab_-tqjeo0589.jpg "/>
Symptom: A virtual IP 3 virtual mac
R1:
int e0/0
IP Add 10.1.1.1 255.255.255.0
No Shu
GLBP 1 IP 10.1.1.254
R2:
int e0/0
IP add 10.1.1.2 255.255.255.
No Shu
GLBP 1 IP 10.1.1.254
R3:;
int e0/0
IP Add 10.1.1.3 255.255.255.0
No Shu
GLBP 1 IP 10.1.1.254
Sho GLBP BRI
The first line is AVG information
A few lines is AVF information
Note: The default priority is 100, all default will be selected by the IP large AVG, for the allocation of Mac, when the data is forwarded, the participating device turns forward, not a new packet on another router.
When controlling a device AVG
int e0/0
GLBP 1 priority 200
GLBP 1 PREEMT
Control Backup Avg
int e0/0
GLBP 1 priority 180
GLBP 1 PREEMT
The default priority is 100
When a AVF Xia Lian interface is down, the Mac previously assigned by him does not retract, but instead forwards the data by another AVF (that is, instead of the device responsible for 2 virtual Mac forwarding data)
Differentiate between AVG and AVF. AVG uses priority control. AVF using weighting value control
when the AVF's uplink interface is down , use track to find also set the weigh value for forwarding invalidation and the weight value for forwarding recovery
Track 1 int E0/1 Line-protocol
int E0/1
GLBP 1 Weighting track 1 decrement 20
GLBP 1 weighting Lower uper//weight reduced to 90 o'clock, the loss of forwarding capacity
Weight is higher than 95 to restore forwarding capability
Need to set 3 weight values
1, with its own
After the 2,track interface is down, the descending value
3, forwarding the failed interface value
4, forwarding the restored interface value
After the show GLBP upstream interface is down, 30s convergence is required. (The time cannot be changed)
The recovery up delay is also 30s seconds. Can be manually modified under the interface
GLBP 1 Forwarder preemt delay 0
###########
GLBP Wheel Sequencing method (3 kinds)
int e0/0
GLBP 1 load-banlancing?
Host-dependent (source Mac does not change, it has been a device forwarding)
Round-robin (all devices are sequentially polled)
Weighted (the larger the weight, the greater the proportion of data the forwarding assumes)
CCNP Study Note 21--GLBP (Cisco private)