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...
Published Apr 01, 2011
Version 1.0JRahm
Admin
Joined January 20, 2005
JRahm
Admin
Joined January 20, 2005
Brad_Parker
Jul 16, 2015Cirrus
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]