cancel
Showing results for 
Search instead for 
Did you mean: 

irule to redirect traffic to more than pool

F5SJ_
Altocumulus
Altocumulus

I am starting fresh trail here, didn't get complete response in my last query.

 

https://devcentral.f5.com/s/question/0D51T00007iJYTBSA4/irule-to-redirect-traffic-to-multiple-pools?...

 

I have to clone the traffic from one pool member to another, I got multiple pools and I have clone traffic in each pool. Pool members will remain same, only ports are different. For that I have created irule, just want to check if that's fine or if it needs any modifications.

 

 

when CLIENT_ACCEPTED {

    if { [class match [IP::client_addr] equals DG1] } {

        pool pool1

clone clonepool1

    } elseif { [class match [IP::client_addr] equals DG2] } {

        pool pool2

clone pool clonepool2

       }else {

        #log local0. "Default pool (drop): [IP::client_addr]-->[LB::server]" 

        drop

    }

0 REPLIES 0