F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

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