Skip to main content

What is GLBP? Explain the configuration of Gateway Load Balancing Protocol.



Gateway Load Balancing Protocol (GLBP) is a Cisco proprietary protocol that attempts to overcome the limitations of existing redundant router protocols by adding basic load balancing functionality. In addition to being able to set priorities on different gateway routers, GLBP allows a weighting parameter to be set.

What is GLBP? Explain the configuration of Gateway Load Balancing Protocol.
Gateway Load Balancing Protocol

Gateway Load Balancing Protocol (GLBP) is one of First Hop Redundancy Protocol (FHRP) which provides redundancy like other First Hop Redundancy Protocol, also provides load Balancing. It is a Cisco proprietary protocol which can perform both functions. It provides load Balancing over multiple routers using single virtual IP address and multiple virtual Mac address.

GLBP allow automatic selection and simultaneous recovery from first hop router failures.
GLBP provides load balancing over multiple (router) gateways using a single virtual IP address and multiple virtual MAC addresses.

The bandwidth/traffic load is shared between multiple routers participating in the group rather than being handled by a single active router.


Configurations of GLBP:
  1. R2(config-if)#glbp 1 load-balancing ?
  2. host-dependent - Load balance equally, source MAC determines forwarder choice
  3. round-robin - Load balance equally using each forwarder in turn
  4. weighted - Load balance in proportion to forwarder weighting


Load Balancing of GLBP:

GLBP allows to Load balancing using three alogorithm:-

Round-Robin:
  • This is the default type of GLBP algorithm.
  • This algorithm is suitable for any number of hosts.
  • AVG will assign the virtual Mac addresses serial wise, like first virtual Mac address is assigned to AVF1, then to AVF2 etc.

Host-dependent:

  • particular host needs specific virtual Mac address every time then specific AVF is assigned to the hosts by the AVG.
  • A given host is guaranteed to use the same Virtual Mac as long as number of VF’s in the GLBP group are constant.
  • The Mac-address of the host is used to determine which AVF’s mac is the host directed towards.
  • Host dependant GLBP is not recommended in situation where there are small number of hosts.

Weighted:

  • The load will be distributed according to the requirement i.e assigning virtual Mac address in proportions. If we want some AVFs to handle more traffic than other, then change the weight.
  • Each GLBP router in a group will advertise its weight and AVG will act based on that value.

Steps how to configure GLBP

  • enable GLBP with glbp 1 load-balancing
  • glbp 1 priority ( Higher is better, default is 100)
  • glbp 1 ip xxx.xxx.xxx.xxx
  • glbp 1 preempt < To enable preempt, by default its disabled>
  • glbp 1 authentication ( Enabling authentication with in a group)

Authentications of GLBP

  • No Authentication
  • MG5 Authentication
  • Plain text Authentication

Advantages of GLBP

  • GLBP supports clear text and MD5 password Authentication.
  • Allows load sharing using single virtual IP and multiple virtual Mac address.
  • The main disadvantage of HSRP and VRRP is that only one gateway is elected to be the active gateway and used to forward traffic whilst the rest are unused until the active one fails.
  • Gateway Load Balancing Protocol (GLBP) performs the similar function to HSRP and VRRP but it supports up to 1024 virtual routers load balancing among members in a GLBP group.

Comments

Popular posts from this blog

What is STP? - Explain Advantages and Disadvantages

The Spanning Tree Protocol is a network protocol that builds a loop-free logical topology for Ethernet networks. The basic function of STP is to prevent bridge loops and the broadcast radiation that results from them. STP is a protocol. It actively monitors all links of the network. To finds a redundant link, it uses an algorithm, known as the STA (spanning-tree algorithm). The STA algorithm first creates a topology database then it finds and disables the redundant links. Once redundant links are disabled, only the STP-chosen links remain active. If a new link is added or an existing link is removed, the STP re-runs the STA algorithm and re-adjusts all links to reflect the change. STP (Spanning Tree Protocol) automatically removes layer 2 switching loops by shutting down the redundant links. A redundant link is an additional link between two switches. A redundant link is usually created for backup purposes. Just like every coin has two sides, a redundant link, along with

What are the Advantages and Disadvantages of TCP/UDP ?? Difference between TCP and UDP

As in previous blog we have define and explain about what is TCP and UDP and from now we are moving ahead with Advantages, Disadvantages and Difference of TCP and UDP but for this you have to know about TCP and UDP hence to understand it go for a What is TCP and UDP . Advantage of TCP Here, are pros/benefits of TCP: It helps you to establish/set up a connection between different types of computers. It operates independently of the operating system. It supports many routing-protocols. It enables the internetworking between the organizations. TCP/IP model has a highly scalable client-server architecture. It can be operated independently. Supports several routing protocols. It can be used to establish a connection between two computers. Disadvantages of TCP Here, are disadvantage of using TCP: TCP never conclude a transmission without all data in motion being explicitly asked. You can't use for broadcast or multicast transmission. TCP has no block boundaries, so you