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.
My request is we want to force one of the office to Site 1 Datacenter, but we can't change the load balancing technology to Topology based, we want to stick with RR load balacing.
I know it is feasibale to restrict one patricular office thru their IP address. Can you guys help me to write I-Rule and send me the tips to write.
- JRahm
Admin
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 } }
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