Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

LTM policy to route traffic to different pools

I have requirement of sending traffic to different pools based on port information . I understand we can do this with iRukes. But I would like to try LTM policies. What rules should we give? Would one policy and separate rules for each pool be good

hiw should the policy be? Does it need a URL mentionined in policy

thank you 

1 ACCEPTED SOLUTION

Hi @InquisitiveMai , 
       you can configure like this LTM Policy in below solution check it : 

Port range.PNG
https://community.f5.com/t5/technical-forum/multiple-ports-in-a-single-health-monitor-and-ltm-policy...
But specify your Port exactly in rule conditions.
> you do not need the urls information , you can loadbalance based on port numbers. 

Ty

_______________________
Regards
Mohamed Kansoh

View solution in original post

6 REPLIES 6

Lidev
MVP
MVP

Thank you for sharing this link. I am trying to figure out how to route the traffic to different pools based on ip adddress and pool. The VIP is going to be with ip address and port 0. Once the traffic comes based on the port number it needs to go to the correct pool. is there any document which would help with LTM policy which differentiates based on port?  It can be the port over https or a direct port . 

was your question answered @InquisitiveMai ? if so please flag it as such.

Hi @InquisitiveMai , 
    I do not know your virtual server configuration , but you can try an LTM Policy like attached snap shot : 
 

> Create a multiple Rules inside this Policy until you finish all of your needed Port and Pools Possibilities

Regards 
Mohamed Kansoh

_______________________
Regards
Mohamed Kansoh

Hi @InquisitiveMai , 
       you can configure like this LTM Policy in below solution check it : 

Port range.PNG
https://community.f5.com/t5/technical-forum/multiple-ports-in-a-single-health-monitor-and-ltm-policy...
But specify your Port exactly in rule conditions.
> you do not need the urls information , you can loadbalance based on port numbers. 

Ty

_______________________
Regards
Mohamed Kansoh

neeeewbie
MVP
MVP

Hi 

you can make many different virtual server(same virtual address) based on different virtual server port

if you want to external network traffic divide as port 

you just make performanceL4 type virtual server and then binding external vlan 

and set up the pool 

if you want to just forwarding this traffic, you just turn off address,port translate option

and  then turn off icmp echo, arp reply option at virtual address tap

thank you