Forum Discussion
bigipjr28_13978
Nimbostratus
Sep 04, 2014irule for multiple webservers
Hello,
I was wondering if there was such an irule or another solution out there that would send traffic coming in from an external ip and then directing them the appropriate pool. The pool cont...
Kevin_Stewart
Employee
Sep 04, 2014If you're just trying to save public IPs, you want to simply consider a "super VIP". You can use an iRule, HTTP class, or policy to define pooling based on a host name. When you add a new test application, create a new pool for it and modify the iRule/class/policy accordingly.
when HTTP_REQUEST {
switch [string tolower [HTTP::host]] {
"aaa.test.com" { pool aaa_pool }
"bbb.test.com" { pool bbb_pool }
"ccc.test.com" { pool ccc_pool }
default { pool error_pool }
}
}
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