Forum Discussion
JRahm
Oct 31, 2008Admin
I just made some IP's up here, and assumed a lot (this is GTM, right?), but I think the framework of what you want is below.
when DNS_REQUEST {
if { [IP::addr [IP::client_addr]/24 equals 192.168.1.0] } {
if { [active_members site1_pool > 0 ] } {
pool site1_pool
} else { pool site2_pool }
}
Check the syntax, BTW, I am without a machine right now.