Forum Discussion
thebull_91566
Nimbostratus
Oct 29, 2008I-Rule to force client to One site
Hi All,
I need assistance on I-Rule. My requirements is
We have two datacenters, and 100 offices accessing the datacenter. Currently we use RR loadbalacing.
...
JRahm
Admin
Oct 31, 2008I 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.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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