Forum Discussion
Chuck_127210
Nimbostratus
Dec 08, 20061 VS and 2 Pools
I'm new to IRULES and I'm having an issue with converting a 4.5 rule into a version 9 IRULE. Listed below is the 4.5 rule and below that the IRULE I created (which doesn't work). Any help would be app...
Dec 11, 2006
I'd recommend throwing in some logging to point out where things are going wrong..
when CLIENT_ACCEPTED {
log local0. "client address: [IP::client_addr]"
if { [IP::addr [IP::client_addr]/8 equals 172.0.0.0] } {
log local0. "[IP::client_addr] is in the 172.0.0.0 subnet"
pool Branchplatform_Citizens_pool
}
if { [IP::addr [IP::client_addr]/16 equals 10.144.0.0] } {
log local0. "[IP::client_addr] is in the 10.144.0.0 subnet"
pool Branchplatform_Citizens_pool
} else {
log local0. "[IP::client_addr] doesn't match."
pool Branchplatform_COB_pool
}
}Then look in the /var/log/ltm file. If it is not clear to you based on the logged output, if you could pass the log output back here and I'll take a look.
-Joe
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