Resumo de protocolos para alta disponibilidade: HSRP, VRRP, GLBPSummary of High Availability protocols: HSRP, VRRP, GLBP

Olá Pessoal,

A BCMSN é uma prova complicada para praticar, pois da parte dos simuladores sempre carece alguma coisa.

Em meu ambiente de estudos, verifiquei que ao utilizar o Boson Netsim, o Packet Tracer e o Dynamips tenho suporte para quase tudo. Meu próximo post será sobre o que cada uma destas ferramentas dá suporte.

Neste post farei um overview do funcionamento dos protocolos e focarei num diagrama que apresenta os principais pontos de cada um.

Por hora, vamos falar sobre alta disponibilidade. Nos roteadores e Switches L3 da Cisco estão disponíveis: HSRP (Hot Standby Router Protocol), VRRP (Virtual Router Redundancy Protocol) e o GLBP (Gateway Load Balancing Protocol). Abaixo, será feita uma pequena descrição de como funcionam estes protocolos.

Os dois primeiros (HSRP e VRRP) atuam de maneira parecida. Em ambos, cada roteador recebe um IP que não é do gateway. Os roteadores que estão configurados para falar algum destes protocolos trocam hello messages para descobrir quem será eleito o primário, baseado na maior prioridade (maior IP utilizado como critério de desempate caso a prioridade seja a mesma). O roteador primário responderá pelo seu IP e pelo IP configurado como gateway. Desta maneira, se este roteador falhar, quando o roteador secundário ficar determinado tempo sem se comunicar (dado pelo dead time) este assumirá o papel de primário e enviará seu endereço MAC (pelo protocolo ARP) para assumir a comunicação pelo IP do gateway.

O GLBP foi desenvolvido para suportar o balanceamento de carga. Os roteadores desempenham dois papéis:

  • Um roteador é eleito o AVG (active virtual gateway), este responderá todas requisições ARP pelo endereço do gateway. A ‘sacada’ é que ele responde com o MAC-address de cada um dos outros roteadores, baseado no algoritmo de balanceamento de carga. Os algortimos são Round-robin (default), weighted, e host-dependent.
  • No máximo 4 roteadores (incluindo o AVG) são AVFs (active virtual forwarder) e participam do processo de encaminhamento de dados.

Abaixo, é apresentado um diagrama que apresenta os principais pontos de cada um destes protocolos.

Resumo de Protocolos para Alta Disponibilidade: HSRP - VRRP - GLBP

A obra utilizada como referência foi o livro oficial da Cisco Press: CCNP BCMSN Official Exam Certification Guide, por David Hucaby.

Um grande abraço,

Maurício Bento Ghem.Hello Guys,

The BCMSN is a complicated test to practice, because the part of the simulator always lacks something.

In my environmental studies, found that when using the Boson Netsim the Packet Tracer and I Dynamips support for almost everything. My next post will be about what each of these tools supports.

In this post I will make an overview of the functioning of the protocols and focarei a diagram showing the main points of each.

Per hour, we talk about high availability. In routers and switches from Cisco L3 are available: HSRP (Hot Standby Router Protocol), VRRP (Virtual Router Redundancy Protocol) and GLBP (Gateway Load Balancing Protocol). Below, will be a short description of how these protocols work.

The first two (HSRP and VRRP) act in ways similar. In both, each router receives an IP that is not the gateway. The routers are configured to talk to some of these protocols exchange hello messages to find out who will be elected the primary, based on higher priority (higher IP used as a tie if the priority is the same). The primary answer for your router IP and the IP set to gateway. Thus, if the router fails, when the secondary router is not given time to communicate (because the dead time) it will assume the role of primary and send its MAC address (the ARP protocol) to take notice of the IP gateway.

The GLBP was developed to support load balancing. The routers have two roles:

  • A router is elected the AVG (active virtual gateway), this answer all ARP requests at the gateway. A ‘catch’ is that it responds with the MAC-address of each of the other routers, based on the algorithm of load balancing. Algorta are the Round-robin (default), weighted, and host-dependent.
  • Maximum 4 routers (including AVG) AVFs are (active virtual forwarder) and participate in the process of transferring data.

Below is presented a diagram showing the main points of each of these protocols.

Resumo de Protocolos para Alta Disponibilidade: HSRP - VRRP - GLBP

The book utilized in this summary was the CCNP BCMSN Official Exam Certification Guide, por David Hucaby.

A big hug,

Maurício Bento Ghem.