For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Sergi0's avatar
Sergi0
Icon for Nimbostratus rankNimbostratus
Feb 26, 2018

GTM irule for permanent datacenter respond depend on client ip.

I am looking for GTM irule respond datacenter depend on client source ip. Something like below. Pools do not work for me as I need irule for huge list of WIP.

when DNS_REQUEST { 
if { [IP::addr[IP::client_addr]] equals "1.1.1.1/32" } { 
       datacenter DC1 
}
if { [IP::addr[IP::client_addr]] equals "2.2.2.2/32" } { 
       datacenter DC2 
}
}
No RepliesBe the first to reply