Forum Discussion
larry_williams2
Nimbostratus
Oct 24, 2014Nesting operations within an iRule
I have 9000+ client subnets grouped into roughly 5 ranges. For example, is it possible to have a single iRule that performs the following evaluation:
if client is in 172.16.0.0/16 then pool 1 ...
someguy_126006
Nimbostratus
Oct 28, 2014This is may be more scholastic/less practical for your use, but you could split into roughly 5 equal parts with a one-liner where pools are labled pool0-4.
pool "pool[expr [getfield [IP::client_addr] "." 2] % 5]"
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