iRules IP Comparison Considerations with IP::addr Command
Anyone utilizing IP network comparisons in iRules is probably familiar with this syntax:
if { [IP::addr [IP::client_addr]/24 equals 10.10.20.0] } {
# Do this
}
In fact, there are several m...
Just in case you need to do this in a non default route domain(anything other than 0), you will need to evaluate the IP with something like this: [IP::addr [getfield [IP::client_addr] "%" 1] equals 10.1.1.0/24]