Forum Discussion
LTM policy based on client source IP
Hi everyone.
We are in the process of reviewing our iRules to see if there are any we can simplify or replace with configuration as we move up to newer versions of 11.x.
Does anyone know if there is a way to build a LTM policy that matches on the IP address of the client ? I would have thought it would be obvious but I cannot spot it anywhere.
We have certain clients we apply particular redirects to - some hardcoded in iRules and others listed in data groups. Would love to be able to build a policy that matches the client IP to an IP is an iRule data group.
If not, I'll just stick with my current iRule.
Thanks ! Mark.
- Mark_Wallis_833Nimbostratus
11.6 :-(
Anyone know of any solutions for 11.5.x ?
- nitassEmployee
Does anyone know if there is a way to build a LTM policy that matches on the IP address of the client ?
Is there any way in a traffic policy to match on IP address?
- Javier_SomozaNimbostratus
Im using in v13 this policy condition to filter based on source IP:
“TCP” – “address” – “matches” – “in datagroup” – at “request” time (apply traffic on “remote” side of “external” interface)
Also see:
F5 BIGIP – Bug when using datagroups in LTM policies
https://somoit.net/f5-big-ip/f5-bigip-bug-when-using-datagroups-in-ltm-policies
- nitass_89166Noctilucent
Does anyone know if there is a way to build a LTM policy that matches on the IP address of the client ?
Is there any way in a traffic policy to match on IP address?
- Javier_SomozaNimbostratus
Im using in v13 this policy condition to filter based on source IP:
“TCP” – “address” – “matches” – “in datagroup” – at “request” time (apply traffic on “remote” side of “external” interface)
Also see:
F5 BIGIP – Bug when using datagroups in LTM policies
https://somoit.net/f5-big-ip/f5-bigip-bug-when-using-datagroups-in-ltm-policies
Recent Discussions
Related Content
* 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