Configuring Server Load Balancing

Configuration Examples

Figure 26 HSRP Example Network Topology

Client

Gigabit Ethernet 41 1.0.0.1

Device A active

Virtual IP = 1.0.0.3

Fast Ethernet 1

Fast Ethernet 20

3.0.0.1

3.0.0.20

WWW server WWW server

Server farm = Public

HSRP group = Web_Group

The configuration for Device A is as follows:

hostname Device A

interface GigabitEthernet 41 ip address 1.0.0.1 255.0.0.0 standby 1 ip 1.0.0.3 standby 1 preempt

standby 1 priority 110

standby 1 authentication denmark standby 1 timers 5 15

standby 1 name Web-Group

interface FastEthernet 1

ip address 3.0.0.1 255.0.0.0

router eigrp 1 network 1.0.0.0 network 3.0.0.0

The configuration for Device B is as follows:

hostname Device B

interface GigabitEthernet 41 ip address 1.0.0.2 255.0.0.0 standby 1 ip 1.0.0.3 standby 1 preempt

standby 1 authentication denmark

Gigabit Ethernet 42

ISL between 1.0.0.2 devices

Device B standby

Virtual IP = 1.0.0.3

Fast Ethernet 1

Fast Ethernet 20

2.0.0.1

2.0.0.20

WWW server

WWW server

 

Server farm = Public

 

33604

HSRP group = Web_Group

Cisco IOS IP Configuration Guide

IPC-156

Page 202
Image 202
Cisco Systems 78-11741-02 Configuration for Device a is as follows, Configuration for Device B is as follows, IPC-156