Forum Discussion
Emad
Cirrostratus
Mar 23, 2013Load Balancing on basis of Source IP in BIG IP F5 LTM
I am Using BIG IP LTM F5, issue is we have a site e.g www.abc.com hosted on VIP 199.99.99.95.
I want to route my traffic on basis of source IP, meand if get some specified IP's the traffic should be routed to pool A, else all other traffic should be routed to Pool B.
Please help.
3 Replies
- nitass
Employee
there is some example in IP::addr wiki page.
IP::addr wiki
https://devcentral.f5.com/wiki/irules.ip__addr.ashx
additionally, if you are using route domain, there is a known issue which is described in askf5 sol below.
sol12301: The 'class' iRule command does not honor route domain specifications within an IP class
http://support.f5.com/kb/en-us/solutions/public/12000/300/sol12301 - Emad
Cirrostratus
Thanks for the help.
Actually we have too much traffic load from some specific client IP's and i want to make a separate pool for that clients. so that if request comes from their network that should be routed to separate pool.
Is there any other way for doing this rather then i rule? - What_Lies_Bene1
Cirrostratus
I'd recommend the iRule route myself. The only real alternatives are to give your 'demanding' client a different domain name that resolves to a different Virtual Server IP or possible use a different port so you can configure a dedicated VS for them. A HTTP Class might also be an option allowing you to keep the same domain name and VS but this is only workable if you can identify the client in some unique way using the URI, not source IP address.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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