cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
633
Views
0
Helpful
1
Replies

ACE - match on source address

schimeha1977
Level 1
Level 1

Hi !

I am trying to setup a LB condition based on SOURCE-ADDRESSES.

I did the following:

1) created class-map:

- class-map match-any SRC_LB

2 match source-address xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx

- defined policy-map

policy-map type loadbalance first-match SRC_LB_PCY

class class-default

serverfarm xxx

- and finally did:

policy-map multi-match SRC_PCY

class SRC_LB

loadbalance policy SRC_LB_PCY

BUT it says:

Error: LB action requires match vip command!

I want to match on Source-IP - not on Dst-IP.

Could you please help me ?

thx

Hans

1 Reply 1

You need a VIP to perform LB,You cannot load balance just with Src address.

You can use a combination such that Traffic hitting a particular Vip can select ServerfarmA for src add x & Serverfarm B for src add y.

Syed Iftekhar Ahmed

Review Cisco Networking for a $25 gift card