Forum Discussion
yairsh_310893
Apr 23, 2017Nimbostratus
Call an iRule from another iRule
Hey there
I'm trying to write an iRule that will do the following:
create an event that will match by the client source ip address and if i come from a specific source ip address range then th...
Stanislas_Piro2
Apr 23, 2017Cumulonimbus
Hi,
If you want to run a different irule for a specific source address, you can create 2 virtual servers:
-
vs1 :
- source : 0.0.0.0/0 (default value)
- destination : vs IP address
- irule : global irule
-
vs2 :
- source : specific IP
- destination : vs IP address
- irule : specific irule
with this configuration, vs2 will match for requests from the specific IP. all other requests will be handled by vs1.
Source address only support 1 network (a single address has a mask length 32) you can create as many vs with different source address as you want.
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