Possibly. What are the symptoms of the failure? Do you see any errors logged in /var/log/ltm? Can you add debug logging to the iRule to see what's happening?
when CLIENT_ACCEPTED {
log local0. "[IP::client_addr]:[TCP::client_port]: New TCP connection established."
Check if client IP is part of the subnet we want to allow
if {[IP::addr [IP::client_addr] equals 10.0.0.0/8]}{
Specify the pool
log local0. "[IP::client_addr]:[TCP::client_port]: Legal IP. Connection allowed to pool."
pool WEBPOOL
} else {
Reset the TCP connection
log local0. "[IP::client_addr]:[TCP::client_port]: Invalid IP. Resetting TCP connection."
reject
}
}
Aaron