Forum Discussion
ACE23_78120
Nimbostratus
Jan 15, 2014map pool member ip address to domain name
irules
IheartF5_45022
Nacreous
Jan 15, 2014If that's all you want to do, you could use an HTTPClass profile with each pool member in a different pool.
Or you can do in iRules using a switch statement, or using a datagroup lookup. Here is switch example in HTTP_REQUEST;-
switch [getfield [HTTP:host] : 1] {
"mycompany.com.au" -
"yourcompany.com.au" {
pool [LB::server pool] member 1.1.1.1
}
"theircompany.com" {
pool [LB::server pool] member 2.1.1.1
}
default {
pool [LB::server pool] member 3.1.1.1
}
}
Let us know if you want any more information.
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