Forum Discussion
Michael_Hull_61
Nimbostratus
Apr 23, 2008Session persistence based on source IP address
Is there any way to create session persistence using source address affinity?
- Nicolas_Menant
Employee
you can use the command persist source_addr: Click here - Michael_Hull_61
Nimbostratus
The customer wants the persistence to stop when either the browser closes or the session with the application ends. The customer wants to use source_addr persistence, however, I don't see a simple way of doing it. Is there an iRule written out there that can do this? - Nicolas_Menant
Employee
Session Cookie persistence would definitely be better and would avoid iRules - Michael_Hull_61
Nimbostratus
Thank you...I will go back to my customer with your comments. - Yoda_34023
Nimbostratus
I have a similiar requirement, but in my case the LTM is acting as a SSL pass through device. Only way I can persist is based on source IP. Now here's the problem; some clients use distributed Proxies. What I thought is to created a Data Group per client. Then somehow do a lookup to these Data Groups and then just direct each data Group to a given Node. In that way no persistance is required, the client's SSL communication does not break. The trade off is that these specific clients never get load balanced (unless there is way to select another node, only if the primary node is not available); of course everything else should be processed as per normal. Any ideas how this can be done? - Hamish
Cirrocumulus
You can load balance based on SSL id... It used to break with older versions of IE (And I admit I haven't tried doing it for a long time now, I use tend to use session cookies & SSL Offload) but might be worth having a go. - husam_othman_37
Nimbostratus
is it possible to reveal the source IP address for an inbound session (even if SNAT) is configured for: HTTP, HTTPS and FTP traffic? - JRahm
Admin
source ip inbound would be IP::client_addr, regardless of the protocol.
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