Forum Discussion
Chris_Miller
Jun 24, 2010Altostratus
Why do we need to use [IP::addr [IP::client_addr]]?
Why can't we simply compare [IP::client_addr] on its own? I'm a bit confused as to why IP::addr has to be used...the thread below is what peaked my curiosity:
http://devcentral.f5.com/Community/Group...
Michael_Yates
Jun 24, 2010Nimbostratus
[IP::addr] - Performs comparison of IP address/subnet/supernet to IP address/subnet/supernet.
In the example they are asking if incoming Client IP Address is contained within any of the listed subnets, then send that traffic to a specific pool, not the one tied to the Virtual Server:
[IP::addr [IP::client_addr]]/24 equals xxx.xxx.xxx.xxx][
The Wiki Entry has some good examples: http://devcentral.f5.com/Wiki/default.aspx/iRules.IP__addr
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