Forum Discussion
John_Meggers
Nimbostratus
Apr 10, 2014IP::addr with Different Masks
I'm still new to iRules. This is similar to an iRule I found online:
when HTTP_REQUEST {
switch [IP::addr [IP::client_addr] mask 255.255.255.0] {
"10.10.4.0" -
"192.168.4.0" {
pool pool_http_ser...
nitass
Employee
May 01, 2014since you want to match number of subnets (with different subnet mask), shouldn't it be easier to use class match instead of IP::addr command?
class
https://devcentral.f5.com/wiki/irules.class.ashx
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