Forum Discussion

WaterlooSysAdmi's avatar
Oct 10, 2019

Big-IP iRule Routing

Hello,

 

Is there a way to use an iRule to route traffic based on a unique referer say "www.test.com" and then percentage base route them to two diff pools of servers says 50% goes to PoolTestA and 50% goes to PoolTestB?

 

Thank you for your help!

 

1 Reply

  • here are some pointers from an earlier question:

     

    https://devcentral.f5.com/s/question/0D51T00006i7Y8K/irule-load-balance-connections-for-diff-pools

     

    my question would be why? why no a regular virtual server for the IP www.test.com resolves to an then you a regular round robin pool with two nodes, that is pretty much 50% spread.