Forum Discussion
Rad_79767
Nimbostratus
Sep 30, 2014iRule Compare function
compare ip to a subnet
What_Lies_Bene1
Cirrostratus
Oct 01, 2014Just a few notes on performance;
-
When using the IP::addr command to compare IP addresses with the if command, always use prefix notation for subnet masks (/24 for instance) rather than the mask x.x.x.x syntax as this uses less CPU cycles
-
When using the IP::addr command to compare IP addresses, specify any subnet masks with the second address or subnet to be compared, not the first; doing so uses less CPU cycles
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