Forum Discussion

smraj77_152133's avatar
smraj77_152133
Icon for Nimbostratus rankNimbostratus
Sep 17, 2014

Forward connections from particular network/vlan/iprange clients to specific pool member

I have four members in a pool. currently F5 LTM distributes the load to all the four members. but what I want is, distribute the load to 2 members, traffic from particular vlan clients to 3 member and another group of clients requests to 4th member. Any solution? ok to use multiple pools and irule etc., How could we achieve this? Thanks in advance.

 

3 Replies

  • This is dead simple - you need to use different virtual servers with different parameters. VS1: Source includes the client subnet, pool includes member 4 VS2: VS enabled on specific VLAN only, pool includes member 3 VS3: VS enabled on all VLANs with no source address, pool includes members 1 & 2.

     

    Take a look here for VS precedence details

     

  • Thanks Pete for your answer. Can all the clients with same Url(using only one VIP in the URL) achieve this? I forgot to mention all four members are Web servers(http requests to VS from clients)and users from different vlan should use same URL.

     

    • PeteWhite's avatar
      PeteWhite
      Icon for Employee rankEmployee
      Yes, you can create two VSs with the same IP and a different source for one of them. Obviously the rules of precedence will work then.