Forum Discussion
Fawad_29089
Nimbostratus
Jun 04, 2013irule based on source ip not working..plz help!
I am running LTM v 11.1. I am defining irule based on source IP address to select a specific pool. I am getting some syntax and not supported command like error messages for the first few lines. The...
richard_77048
Nimbostratus
Jun 04, 2013matchclass has been deprecated as of v10. You should use the class command instead. See https://devcentral.f5.com/wiki/irules.class.ashx .
You rule would look like this:
when HTTP_REQUEST {
if { [class match [IP::client_addr] equals ip_subnets_class }
{ pool VCI_TEST_pool
} else { pool VDI_TEST_POOL_INT }
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects