Forum Discussion
Ricardo_Raza_14
Nimbostratus
Apr 11, 2018irule for specific member
Hi I need to do an irule, to choose a specific member when they receive specific IP and send specific destination, this is for a load balancing isp.
I have a 3 nodes
x.x.x.1
x.x.x.2
x.x.x.3
I ha...
youssef1
Cumulonimbus
Apr 12, 2018Hello,
You need something like that:
when HTTP_REQUEST {
if { [IP::addr [IP::client_addr] equals 10.70.64.1/32] } {
pool MyPool member 1.1.1.1 80
} elseif {[IP::addr [IP::client_addr] equals 10.70.64.2/32]} {
pool MyPool member 1.1.1.2 80
} elseif {[IP::addr [IP::client_addr] equals 10.70.64.3/32]} {
pool MyPool member 1.1.1.3 80
} else {
do nothing
}
}
Regards
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
