We are trying to do a POC where there is one Virtual Server listening on port ‘0’ (basically all ports) and we would want to select the pool based on the remote port number using LTM Policy, however, its is not working. Any help on this please.
The policy which Dario has posted above is what you want. If you can let us know in more detail what exactly is not working then that would help. For debugging purposes, I would add a log statement to show that you are hitting the ltm policy, maybe it is something else in the setup which is not working.
I checked the configuration and its exactly the same with difference of ‘snat automap’ and ‘local’ being not there. I guess the automap will be effective since its declared in the Virtual Server configuration.
I am seeing a ‘Reset’ packet from the virtual server with the reason ‘No server selected’ in the packet capture. Somehow the policy is not kicking in. Any thoughts?
The solution of different virtual servers is what we tried and it worked. The design team want to reduce the number of virtual servers and use policies for some reason.
I am seeing a ‘Reset’ packet from the virtual server with the reason ‘No server selected’ in the packet capture. Somehow the policy is not kicking in. Any thoughts?
I can see the problem – you are checking on the remote port, not the local port. In the rule, click the Options gear icon on the right and change it to local. Hit Done. Test it. Buy me a beer [cid:image001.jpg@01D60912.F1827B90]