Forum Discussion
Justin_Poston_4
Nimbostratus
Oct 27, 2006Load balancing clients based on client domain name
I have a need to direct my customers to different web pools based on the domain the client is located on. So far i have only seen one solution that doesn't involve just using ip's and that was to sea...
Martin_Machacek
Oct 28, 2006Historic F5 Account
Justin,
I'm assuming that you are using version 4.x BIG-IP that you've posted to this forum. If this is the case then the only way how to implement something resembling your desired functionality is to use external address class listing *all* client addresses that need to get special treatment. You can collect the addresses by perusing DNS and whois starting from a known host name in the domain. The goal is to to collect all address blocks reverse mapping to the DNS domain in question. The easiest way would be to download the DNS zone data but it is only rarely publicly available. The actual process is left as a homework for the reader, since it is off-topic for this forum :-).
Having a list of client IP addresses you can use the one of operator to test whether client address is in the class. Please, refer to the BIG-IP Reference Manual for details.
Probably the best way how to solve the problem though is to upgrade to version 9 and use the method that Deb suggested.
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