03-Nov-2022 22:12
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
Solved! Go to Solution.
05-Nov-2022 15:38
Hi @InquisitiveMai ,
you can configure like this LTM Policy in below solution check it :
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
04-Nov-2022 02:20
Hi,
For a good start, read the K article below :
K15097: Using the Local Traffic Policies feature to load balance HTTP requests to multiple pools
Regards
04-Nov-2022 07:36
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 .
22-Nov-2022 11:26
was your question answered @InquisitiveMai ? if so please flag it as such.
04-Nov-2022 02:34 - edited 04-Nov-2022 02:35
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
05-Nov-2022 15:38
Hi @InquisitiveMai ,
you can configure like this LTM Policy in below solution check it :
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
06-Nov-2022 20:14
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