Forum Discussion
JNeilson_117973
Nimbostratus
8 years agoGTM iRule to send specific IP to one pool member and all other traffic to another pool member
We need to redirect traffic on the GTM for a single IP to a pool member that is marked down while allowing all other connections to a second pool member. Would the below cover this?
when DNS_REQUEST { if { [IP::addr [IP::client_addr] equals .../32] } { { host ... } else { host ... } } }
1 Reply
- stan_piron
Cumulonimbus
This seems right, but remember that client ip is not the ip of real client but the ip of client’s dns server.
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