Forum Discussion
LillyM_9417
Dec 22, 2011Altostratus
IRULE - IP::client_addr
Hello,
I want to ask a question about "IP::client_addr". I write the following irule:
When client has the X.X.X.3 ip address, it goes to the first "if" thats okey and I see from the ltm...
nitass
Dec 22, 2011Employee
have you forgotten else between the first and second if statement?
e.g.
if {[IP::addr [IP::client_addr] equals x.x.x.0/24]} {
pool X
} elseif {[IP::addr [IP::client_addr] equals y.y.y.0/24]} {
pool Y
} else {
pool default
}
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