Forum Discussion

JNeilson_117973's avatar
JNeilson_117973
Icon for Nimbostratus rankNimbostratus
Oct 09, 2017

GTM 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 ... } } }

 

  • This seems right, but remember that client ip is not the ip of real client but the ip of client’s dns server.