Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Simple Load Balancing Config not working

I have a very simple set up that I have done before, but this one isn't working.

Virtual 10.1.1.1:80

Real 10.1.1.2:80

Real 10.1.1.3:80

Bind 10.1.1.1:80 10.1.1.2:80

Bind 10.1.1.1:80 10.1.1.3:80

I can connect to each server separately but when I use the Virtual IP I keep getting the same server - 10.1.1.2:80

When I do a show real - connections for both servers sit at 0.

Any Ideas??

2 REPLIES
New Member

Re: Simple Load Balancing Config not working

HI there,

I'd create a layer three rule with syntax something like:

content L3rule1

y

add service state1

add service state2

balance leastconn

protocol tcp

no persistent

port 80

vip address 172.24.188.20

this would force leastconnection load balancing,

and hopefully resolve the problem,

cheers,

Hamish

New Member

Re: Simple Load Balancing Config not working

do a show service - this gives good pointers on where there are problems

143
Views
0
Helpful
2
Replies