14-Jul-2020 15:42
Can anyone confirm if this iRule will work I am newbie to anything Big-IP. I am pulling what I can find here.
1 when CLIENT_ACCEPTED {
2 if { [IP::addr [IP::client_addr] equals 10.205.0.0/16] } {
3 pool MCGTWebSSL
4 } else {pool Default_Pool}
5 }
14-Jul-2020 19:43
My recommendation to use Local Traffic Policies
https://techdocs.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/local-traffic-policies-getting-started-12-1-0/1.html
15-Jul-2020 08:07
Please provide insight as to why using local traffic policies is a better solution that iRules? I have 150 subnets I need to create rules for.
14-Jul-2020
22:50
- last edited on
24-Mar-2022
01:19
by
li-migration
iRule looks good to me, it should work.
Mayur
15-Jul-2020 08:04
Thank You
22-Jul-2020 15:04
I need to add additional subnets to my iRule. Do I just copy and paste multiple instances of the rule I posted earlier. So just a repeat of lines 1-5 for each subnet or is there a better way? All subnets will be sent to the same pool and default_Pool.
24-Jul-2020 09:33
May be use data group list?