Forum Discussion
Ram_T_S
Altostratus
Aug 29, 2018Help required to construct Irule for Source based Http redirection
Hi Team,
I need a help to construct the Irule for the following requirement.
We have a application called finance running in 2 different servers located on different location.
Site A:
...
Lee_Sutcliffe
Nacreous
Aug 29, 2018There a few issues with the iRule you've provided, I've re-written it to fulfill what I understand to be your requirements. To use this iRule there are three pools, siteA_pool containing site A members, siteB_pool containing site B members, and siteAB_pool containing members from both previous pools.
The iRule is quite basic and could be replaced with an LTM traffic policy.
when HTTP_REQUEST {
if {[IP::addr [IP::client_addr] equals 192.168.53.0/24]} {
pool siteA_pool
} elseif {([IP::addr [IP::client_addr] equals 192.168.1.0/21) || ([IP::addr [IP::client_addr] equals 192.168.16.0/21)} {
pool siteB_pool
} else {
pool siteAB_pool
}
}
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