Forum Discussion
qingnian_74284
Nimbostratus
Jan 23, 2008Urgent, please help to check why this irule didn't work
Hi everybody,
I create a irule try to send source IP in the defined range to CSG_IN pool, and send Server IP in the defined range to CSG_OUT pool, but it did't work, eg, I trace the traffic with source ip 192.168.253.2 hit the bigip but not shows up in the CSG_IN vlan. Please help, it is a urgent request, many Thanks.
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr] equals 192.168.253.0/255.255.255.0] or [IP::addr [IP::client_addr] equals 192.168.254.0/255.255.255.0] or [IP::addr [IP::client_addr] equals 10.162.72.0/255.255.255.0] } {
pool CSG_IN
}
if { [IP::addr [IP::server_addr] equals 192.168.253.0/255.255.255.0] or [IP::addr [IP::server_addr] equals 192.168.254.0/255.255.255.0] or [IP::addr [IP::server_addr] equals 10.162.72.0/255.255.255.0] } {
pool CSG_OUT
}
else {
pool MO2_bigip
}
}
- hoolio
Cirrostratus
IP::server_addr isn't a valid command in the CLIENT_ACCEPTED event as there isn't a server side connection established yet. You should see a TCL error in the /var/log/ltm log file. - qingnian_74284
Nimbostratus
Hi Aaron, - hoolio
Cirrostratus
Can you post your current rule and the definition from the bigip.conf of your virtual server(s)? Can you also clarify what's working and what is failing?
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