Forum Discussion
MO_57487
Nimbostratus
May 06, 2008Need help convert 4.x irule to 9.x
I have the following I rule that I neeed help in moving to 9.x.
if (client_addr == 10.168.1.0 netmask 255.255.255.0 or
client_addr == 10.170.64.0 netmask 255.255.192.0 or
client_addr == 10.42.0.0 netmask 255.255.192.0
or client_addr == 160.76.0.0 netmask 255.255.0.0 ) {
use pool Visionware_web28
}
else {
use pool Visionware_web27
}
If anyone could help me it would be great.
Thanks
- hoolio
Cirrostratus
Hi,when CLIENT_ACCEPTED { if { [matchclass [IP::remote_addr] equals $::my_networks_class] } { log local0. "[IP::client_addr]:[TCP::client_port] matched \$::my_networks_class: $::my_networks_class" pool Visionware_web28 } else { log local0. "[IP::client_addr]:[TCP::client_port] didn't match \$::my_networks_class: $::my_networks_class" pool Visionware_web27 } }
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