Forum Discussion
Chris_Schaerli_
Nimbostratus
Feb 20, 2006Loadbalancing though Proxy
I am trying to setup load balancing though a proxy server. The client source addresses are coming though the proxy as one IP so I can't use Source Address. I have tried all the cookie methods, but t...
Martin_Machacek
Feb 20, 2006Historic F5 Account
Chris,
with the default round-robin loadbalancing method and no persistence, you should see connections being evenly distributed to all active servers regardless of what source addresses the connections are comming from. Are all your servers available? The only reason I can think of why connections would not be loadbalanced is that the proxy aggregates requests from clients onto single serverside connection and you either have only pure L4 virtual servers and/or global variable "web parse" set to "first" on your BIG-IP.
You cannot use any persistence method relying on client address (e.g. simple persistence) in your case. Assuming your traffic is HTTP, cookie-based persistence methods should work for you, unless:
* your clients have cookies disabled,
* the proxy strips cookies from server responses
In any case, persistence failures would result in connections being distributed based on the configured loadbalancing method and not in the behavior you describe.
iRules can be used for selecting pools and/or selecting nodes in a pool based on variety of information in the request. However, iRules can't help you if basic loadbalancing does not work.
I'm afraid, this thread is getting off-topic for this forum.
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
