Forum Discussion
Mohammed_Moin_2
Nimbostratus
Oct 21, 2018Redirect traffic upon source data group
Hi All,
I need to redirect the traffic to specific pool based upon the data group.
If traffic source from DG private-IP then forward to POOL Server-POOL_DC1
if traffic source from else then forw...
Stanislas_Piro2
Cumulonimbus
Oct 22, 2018pool command must be lowercase
when HTTP_REQUEST {
if { ([class match [IP::client_addr] eq private-IP])} {
pool Server-POOL_DC1
} else {
pool Server-POOL_DC2
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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