Example for Deploying VRRP to Load Services on the Master and Backup Devices

Created Dec 17, 2016 23:31:27Latest reply Dec 26, 2016 16:51:12 996 1 0 0

Applicability

This example applies to all versions and AR routers.


Networking Requirements

As shown in Figure1,two VRRP VRRP groups need to be configured on RouterA and RouterB. The two VRRP groups load balance traffic and back up each other.

RouterA functions as the master router in VRRP group 1 and the backup router in VRRP group 2.

RouterB functions as the master router in VRRP group 2 and the backup router in VRRP group 1.

Host A uses VRRP group 1 as the gateway, and host C uses VRRP group 2 as the gateway.

Figure 1 VRRP groups in load balancing mode
32d3af05a3fa49219808a956272cae09


Procedure

  1. Configure RouterA.

  2. Configure RouterB.

  3. Configure RouterC.

  4. Verify the configuration.

    Perform a tracert test on Host A to check connectivity between Host A and Host B. The following command output shows that the route from Host A to Host B passes through RouterA and RouterC.

    Perform a tracert test on Host C to check connectivity between Host C and Host B. The following command output shows that the route from Host C to Host B passes through RouterB and RouterC.

    Run the display vrrp command on RouterA. VRRP group 1 is in master state, and VRRP group 2 is in backup state. This indicates that RouterA functions as the master router in VRRP group 1 and the backup router in VRRP group 2.
    Run the shutdown command on Ethernet2/0/0 of RouterB to simulate a failure of VRRP group 2. Run the display vrrp command on RouterA. VRRP group 1 and VRRP group 2 are both in master state. This indicates that RouterA functions as the master router in VRRP group 1 and VRRP group 2. RouterA functions the gateway in both the two VRRP groups.


Configuration Notes

  • RouterA and RouterB must have the same virtual IP address in the same VRRP group.
  • Configure priorities for RouterA and RouterB in the VRRP groups to determine the master/backup routers in the VRRP groups. By default, the priority of a router is 100.
  • Before performing tracert, run the icmp port-unreachable send command on RouterA, RouterB, and RouterC to enable devices to send ICMP Unreachable packets.

 

  • x
  • convention:

user_2790689  Expert   Created Dec 26, 2016 16:51:12 Helpful(0) Helpful(0)

Thank you
  • x
  • convention:

Responses

Reply
You need to log in to reply to the post Login | Register

Notice:To ensure the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, trade marks, copyrights, and patents, and personal privacy. Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see“ Privacy Policy.”
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top