cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
895
Views
0
Helpful
3
Replies

CSS 11050 connection sticky srcip

pbadorrey
Level 1
Level 1

Hello:

I have a problem, the css assigne the servers a the clients by srcip, but It no balance (round robin); it assigne all the same server serv1 and no the server serv2.

I adjunt config.

CSS11050# sh runn

!Generated on 11/25/2004 13:10:16

!Active version: ap0610107

*********************** INTERFACE

interface e7

bridge vlan 2

interface e8

bridge vlan 2

*********************** CIRCUIT

circuit VLAN1

ip address 10.30.3.222 255.255.255.0

circuit VLAN2

ip address 192.160.1.1 255.255.255.0

************************* SERVICE

service serv1

ip address 192.160.1.5

keepalive type tcp

keepalive port 6009

keepalive frequency 30

active

service serv2

ip address 192.160.1.6

keepalive port 6009

keepalive type tcp

keepalive frequency 30

active

service serv3

ip address 192.160.1.5

keepalive type tcp

keepalive port 23

keepalive frequency 30

active

service serv4

keepalive frequency 30

keepalive port 23

keepalive type tcp

ip address 192.160.1.6

active

************************** OWNER

owner erp

content L3_RULE

vip address 10.30.3.223

add service serv1

add service serv2

protocol tcp

advanced-balance sticky-srcip

sticky-inact-timeout 10

active

content cis1

vip address 10.30.3.227

add service serv3

protocol tcp

port 23

active

content cis2

vip address 10.30.3.221

protocol tcp

port 23

add service serv4

active

content jde5

add service serv1

vip address 10.30.3.227

protocol tcp

port 6009

active

content jde6

vip address 10.30.3.221

protocol tcp

port 6009

add service serv2

active

***** GROUP

group balance5

vip address 10.30.3.227

add service serv1

active

group balance6

add service serv2

vip address 10.30.3.221

active

1 Accepted Solution

Accepted Solutions

how many clients did you use for your test ?

Roundrobin is not perfect like connection 1 to server 1 and connection 2 to server 2.

You may see like 3 connections to server 1 and then 2 to server 2 and 1 to server 1 and then 2 to server 2.

In real production network this is ok and will give perfect roundrobin.

If you are in a lab environment, and using only a few clients, you may get incorrect result.

Try to generate many connections from many clients.

I you have many clients, capture a 'sho summary' and 'sho serv summary' and attach it to the discussion.

Gilles.

View solution in original post

3 Replies 3

Gilles Dufour
Cisco Employee
Cisco Employee

you have configured ' advanced-balance sticky-srcip '

So each time you connect with the same source ip you are directed to the same server.

CSS just does what you configured it for.

Remove this command if you just want round-robin.

Regards,

Gilles.

Hi:

Acceding of any client, always it connects to the server serv1, it is to say the client "a" is connected and it sends it serv1, client

"b" connects itself and also she sends it serv1; is to say to nonbalance to the second client to the other servidor serv2.

how many clients did you use for your test ?

Roundrobin is not perfect like connection 1 to server 1 and connection 2 to server 2.

You may see like 3 connections to server 1 and then 2 to server 2 and 1 to server 1 and then 2 to server 2.

In real production network this is ok and will give perfect roundrobin.

If you are in a lab environment, and using only a few clients, you may get incorrect result.

Try to generate many connections from many clients.

I you have many clients, capture a 'sho summary' and 'sho serv summary' and attach it to the discussion.

Gilles.

Review Cisco Networking for a $25 gift card