Forum Discussion
Kenny_Long_5159
Nimbostratus
Oct 11, 2007Send traffic to destination pool based on source IP address
Associates,
I have a virtual server that is tied to a pool (WebServers) that has one "real" member. Then I have a second pool (Testweb) with a different "real" member.
I would l...
Kenny_Long_5159
Nimbostratus
Oct 12, 2007Thanks for the response. Because the Virtual Server I applied this to is only port 80 I dropped the && for port 80 from this iRule.
This is the code I used:
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr] equals 10.0.150.1] }
{
pool Testweb
}
else {
pool WebServers
}
}
I applied this to the applicable Virtual Server under Resources. I tested this and it worked great.
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
