Forum Discussion

1 Reply

  • If I'm reading this right... you want to use a single IP on an LTM to redirect to the correct pool of web servers based off the URI. E.G. www.abc.com and www.def.com both resolve to 10.10.10.10 on the LTM, but each would go to a different pool of web servers behind the LTM.

     

    You can use an iRule with a switch statement. Based off the URI strings you can re-direct to specific pools.

     

    https://devcentral.f5.com/articles/irules-101-04-switch

     

    However, for performance select the right iRule Control statement and the order of the options correctly.

     

    https://devcentral.f5.com/articles/comparing-irule-control-statements

     

    Jason Peak