Gateway redundancy Load Balancing

Source: Internet
Author: User

HSRPcisco and VRRP are the most common gateway redundancy technologies. Similar to VRRP, HSRP is composed of multiple routers.

A vro is a virtual gateway, and a vro is active.

It is replaced by a device to implement transparent switching to users. However, we hope to achieve redundancy at the same time.

Load Balancing to make full use of the capabilities of the device, GLBP (cisco) provides both redundancy and load balancing capabilities.

The configuration steps are as follows:

Configure relevant ports, configure tracking, set gateway groups, set gateways based on different traffic, and set different priorities for mutual traffic distribution and replacement.

Hsrp

Router:

Interface f0/0

No shut

Ip add 192.168.0.1 255.255.255.0

Standby 1 ip 192.168.0.254

Standby 1 preempt

Standby 1 priority 120

Standby 1 track f0/1 30

Standby 1 authentication md5 key-string cisco

Standby 2 ip 192.168.0.253

Standby 2 preempt

Standby 2 authentication md5 key-string cisco


Router B:

Interface f0/0

No shut

Ip address 192.168.0.2 255.255.255.0

Standby 1 ip 192.168.0.254

Standby 1 preempt

Standby 1 authentication md5 key-string cisco

Standby 2 ip 192.168.0.253

Standby 2 authentication md5 key-string cisco

Standby 2 priotiry 120

Standby 2 track f0/1 30


Vrrp

Router:

Track 100 interface f0/1 line-protocol

Interface f0/0

Vrrp 1 ip address 192.168.0.254

Vrrp 1 priority 120

Vrrp 1 preempt

Vrrp 1 authentication md5 key-string cisco

Vrrp 1 track 100 decrement 30

Vrrp 2 ip address 192.168.0.253

Vrrp 2 preempt

Vrrp 2 authentication md5 key-string cisco


Router B:

Track 100 interface f0/0 line-protocol

Interface f0/0

Vrrp 1 ip address 192.168.0.254

Vrrp 1 preempt

Vrrp 1 authentication key-string cisco

Vrrp 2 ip address 192.168.0.253

Vrrp 2 preempt

Vrrp 2 priority 120

Vrrp 2 track 100 decrement 30

Vrrp 2 authentication md5 key-string cisco


Router:

Int f0/0

Glbp 1 ip address 192.168.1.254

Glbp 1 priority 200

Glbp 1 preempt

Glbp 1 authentication md5 key-string cisco


Router B:

Int f0/0

Glbp 1 ip address 192.168.1.254

Glbp 1 priority 180

Glbp 1 preempt

Glbp 1 authentication md5 key-string cisco

In this way, Gateway redundancy and load balancing can be achieved.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.