Forum Discussion
Christopher_Hyl
May 05, 2011Nimbostratus
True-IP persistence or source-IP if it doesn't exsist.
This is a basic derivative of the irule in the last post .
It's a long story of why we're doing this, but we're using a CDN that passes us the "true-client-ip" HTTP header. We want source persis...
hooleylist
May 05, 2011Cirrostratus
Hi Christopher,
That iRule does a hash on the cleint IP to select a pool member. You could do that. Another option would be to let LTM make the load balancing decision using the algorithm specified on the pool and then use persist uie to ensure clients get back to the same pool member. You'd basically replace the scan and pool command with persist uie $tcip_header 3600:
http://devcentral.f5.com/wiki/default.aspx/iRules/persist
Either method should work, but I'd guess the default load balancing method and UIE persistence will be a bit more efficient in terms of CPU utilization.
Aaron
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