Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

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.

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

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?
https://devcentral.f5.com/questions/is-there-any-way-in-a-traffic-policy-to-match-on-ip-address

0
Comments on this Answer
Comment made 26-Oct-2017 by Javier Somoza 122

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

0
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

11.6 :-(

Anyone know of any solutions for 11.5.x ?

0