Forum Discussion
P_K
May 02, 2017Altostratus
Try using this
when HTTP_REQUEST {
if { [IP::addr[IP::client_addr] equals 10.10.10.100] } {
log local0. "Client IP is [IP::client_addr], redirecting to pool_int"
pool pool_int
} else {
log local0. "client IP did not match"
pool pool_ext
}
}
If you are specifically looking to match against a range of IPs, check this link
https://devcentral.f5.com/questions/pool-redirect-based-on-source-ip-range