Forum Discussion
pavan_Gopparaju
May 24, 2017Nimbostratus
i-Rule to select a pool based on client IP
Hi,
i would like to get help in creating a i-Rule which selects the pool based on client IP address
my scenario:
i have a vip with pool-A and i want to redirect all the traffic to pool-B if this vip is accessed with client IP's other than 10.0.0.0/24 rang or a list of IP's in my data group list.
any help would be appreciated. thanks in advance..!!
- The_BhattmanNimbostratus
Hi Pavan, Here is a simple rule to send traffic to poolb. if datagroup contains 10.0.0.0/24
when CLIENT_ACCEPTED { if { !([class match [IP::client_addr] equals dg-poolb]) } { pool poolB } }
I hope this helps
-=Bhattman=-
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