Forum Discussion
khansafdarali1_
Nimbostratus
Jan 30, 2017Need to create and i-rule which directs traffic coming from these 3 IP address to btsxv-old-pool and the rest of the traffic goes to btsxv-new-pool.
Need to create and i-rule which directs traffic coming from these 3 IP address {209.177.18.1, 209.177.18.2, 209.177.18.3} to btsxv-old-pool and the rest of the traffic goes to btsxv-new-pool.
Shaun_Simmons1
Altostratus
Jan 30, 2017**Create data group: my_ip_db --or whatever name you want and add your IP's: 209.177.18.1 209.177.18.2 209.177.18.3
iRule:
when HTTP_REQUEST {
if { [class match [IP::client_addr] equals my_ip_dg] } {
pool btsxv-old-pool}
else {pool btsxv-new-pool}
}
}
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