I have a requirement to select a farm based on source IP address. I tried creating a match all class-map that matches on the virtual-address and source address but I get this message.
LB01/Admin(config-cmap)# match source-address x.x.x.75 255.255.255.255
Error: Only one match virtual-address is allowed in a match-all class-map and it cannot mix with any other match type
To me this is the only place where it makes sense to set the source match criteria.
I would apprecitate documentation or insight on how I can do this.
Go to Solution.
This post may help you to get this working: (You don't want to add the match source-address command within the same
class-map that is matching the VIP)
View solution in original post
That error which you are getting is totally expected since you are using an equivalent matching method in both cases, then the ACE won´t know which to select one.
Perhaps, what you can do is to use a second class-map which will be match under the policy-map of the original class-map
I wonder why you would like to match both, the vip and the source address?
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: