Cisco HSRP Load Balancing

Source: Internet
Author: User

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/7F/DF/wKioL1cwgDmj5ZxXAABId8vbegA750.png "title=" [K} (_@ Jnarq]r6q1e9}wvm5.png "alt=" Wkiol1cwgdmj5zxxaabid8vbega750.png "/>

R5 Configuration

!

Noipdhcp Use VRF connected

Ipdhcp excluded-address192.168.2.1 192.168.2.9

Ipdhcp excluded-address192.168.3.1 192.168.3.9

Ipdhcp excluded-address192.168.4.1 192.168.4.9

!

IPDHCP Pool Vlan2

Network 192.168.2.0255.255.255.0

default-router192.168.2.254

!

IPDHCP Pool Vlan3

Network 192.168.3.0255.255.255.0

default-router192.168.3.254

!

IPDHCP Pool Vlan4

Network 192.168.4.0255.255.255.0

default-router192.168.4.254

!

!

!

Interface Loopback0

IP address 192.168.100.1 255.255.255.0

!

Interface fastethernet0/0

IP address 192.168.1.1 255.255.255.0

Shutdown

Duplex Auto

Speed auto

!

Interface FASTETHERNET0/1

IP address 192.168.0.1 255.255.255.0

Duplex Auto

Speed auto

!

IP Route 0.0.0.0 0.0.0.0 192.168.1.2

IP Route 0.0.0.0 0.0.0.0 192.168.0.2

!

SW1 Configuration

!

Spanning-treevlan 2priority 8192

Spanning-treevlan 3priority 8192

Spanning-treevlan 4priority 16384

!

!

Interface fastethernet0/0

IP address 192.168.1.2 255.255.255.0

Shutdown

Duplex Auto

Speed auto

!!

Interface FASTETHERNET1/13

Switchport mode Trunk

!

Interface FASTETHERNET1/14

Switchport mode Trunk

!

Interface FASTETHERNET1/15

Switchport mode Trunk

!!

Interface Vlan2

IP address 192.168.2.1255.255.255.0

IP helper-address192.168.1.1

Standby 2 ip192.168.2.254

Standby 2 Priority 150

Standby 2 preempt

Standby 2 trackfastethernet0/0 100

Standby 2 TRACKFASTETHERNET1/14 100

Standby 2 TRACKFASTETHERNET1/13 100

!

Interface Vlan3

IP address 192.168.3.1255.255.255.0

IP helper-address192.168.1.1

Standby 3 ip192.168.3.254

Standby 3 Priority 150

Standby 3 preempt

Standby 3 trackfastethernet0/0 100

Standby 3 TRACKFASTETHERNET1/14 100

Standby 3 TRACKFASTETHERNET1/13 100

!

Interface Vlan4

IP address 192.168.4.1255.255.255.0

IP helper-address192.168.1.1

Standby 4 ip192.168.4.254

Standby 4 preempt

!

IP Route 192.168.100.0 255.255.255.0192.168.1.1

!

SW2 Configuration

!

Spanning-treevlan 2priority 16384

Spanning-treevlan 3priority 16384

Spanning-treevlan 4priority 8192

!!

Interface FASTETHERNET0/1

IP address 192.168.0.2 255.255.255.0

Duplex Auto

Speed auto

!!

Interface FASTETHERNET1/13

Switchport mode Trunk

!

Interface FASTETHERNET1/14

Switchport mode Trunk

!

Interface FASTETHERNET1/15

Switchport mode Trunk

!!

Interface Vlan2

IP address 192.168.2.2255.255.255.0

IP helper-address192.168.0.1

Standby 2 ip192.168.2.254

Standby 2 preempt

!

Interface Vlan3

IP address 192.168.3.2255.255.255.0

IP helper-address192.168.0.1

Standby 3 ip192.168.3.254

Standby 3 preempt

!

Interface Vlan4

IP address 192.168.4.2255.255.255.0

IP helper-address192.168.0.1

Standby 4 ip192.168.4.254

Standby 4 Priority 150

Standby 4 preempt

Standby 4 TRACKFASTETHERNET0/1 100

Standby 4 TRACKFASTETHERNET1/13 100

Standby 4 TRACKFASTETHERNET1/14 100

!

IP Route 192.168.100.0 255.255.255.0192.168.0.1

!

SW3 Configuration

!

Interface FASTETHERNET1/14

Switchport mode Trunk

!

Interface FASTETHERNET1/15

Switchport mode Trunk

!

2 VLAN0002 Active fa1/0

3 VLAN0003 Active FA1/1

SW4 Configuration

!

Interface FASTETHERNET1/14

Switchport mode Trunk

!

Interface FASTETHERNET1/15

Switchport mode Trunk

!

2 VLAN0002 Active

3 VLAN0003 activefa1/0

4 VLAN0004 Active FA1/1

PC Configuration

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7F/E1/wKiom1cwf9aj9Dj1AADBR73GvEM197.png "title=" 8) Ye@36dlk3$5_z7@edyp5v.png "alt=" Wkiom1cwf9aj9dj1aadbr73gvem197.png "/>

This article is from the "Migration" blog, please be sure to keep this source http://xianlei.blog.51cto.com/4030712/1771581

Cisco HSRP Load Balancing

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.