Forum Discussion
persist source_addr
Hello,
I have question on understanding persistence source address on the F5. Does this apply to only when you create a session it will always maintain that session to the same backend node? Or every time you create a new session it will always go to the same backend node based on the client sending IP address? What I am seeing is the connection sometimes will go to a different server in the pool. I have it enabled using the default profile and also added it to my irule to troubleshoot with.
when HTTP_REQUEST { if { !([string tolower [HTTP::host]] equals "host.mydomain.com") } { reject } switch -glob -- [string tolower [HTTP::path]] { "/services/1.0/auth/" { pool pool-9061 persist source_addr } "/services/1.0/chat/" { pool pool-9062 persist source_addr } } }
3 Replies
- Prince_165600
Nimbostratus
Connection attempt after the persistence timeout will be considered as a new connection instead of a returning connection. So in that scenario, your connection will load balanced as per the LB method.
- JG_249184
Altocumulus
Thank you for the response. To follow up with that.. If I were to enable indefinite timeout on a new custom persistence sour_addr profile and the VIP learns the client IP address, will it always forwards it to the same backend server even with brand new connections from the same client IP?
- Prince_165600
Nimbostratus
It would not be recommended to have indefinite persistence timeout as it would eat up device resources.
But to answer your question yes..
Recent Discussions
Related Content
* 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