Forum Discussion
Richard__Harlan
Jun 13, 2005Historic F5 Account
Load Balancing based on Port
Is there a was in iRules to send traffic to a Pool based on port that the client is sending trafic to. I know you can do IP::addr is there a IP::Port? Thanks
- Sure, there's a way but it's not in the "IP" namespace. Think of IP as the base class and TCP and UDP are classes derived from IP.
- JRahm
Admin
I've considered using TCP::client_port for persisting where all my clients hit an SSL VPN device and come out sharing a single IP address. - drteeth_127330Historic F5 AccountThat's probably not a good idea. Session persistence means that separate connections that are part of the same session will be directed to the same back-end server. The problem with the client port is that it generally changes for each client connection. The best way to support session persistence is to use something in the higher-level protocol, like an HTTP cookie. For SSL, one can use the SSL session id for persistence. However, there are problems with tracking the session id across renegotiations.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects