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
Christ Follower, Husband, Father, Technologist. I love community and I especially love THIS community. My background is networking, but I've dabbled in all the F5 iStuff, I'm a recovering Perl guy, and am very much a python enthusiast. Learning alongside all of you in this accelerating industry toward modern apps and architectures.JRahm
Admin
Christ Follower, Husband, Father, Technologist. I love community and I especially love THIS community. My background is networking, but I've dabbled in all the F5 iStuff, I'm a recovering Perl guy, and am very much a python enthusiast. Learning alongside all of you in this accelerating industry toward modern apps and architectures.Helena_101649
Nimbostratus
Jul 27, 2012¿sure this format. "[IP::addr [IP::remote_addr] equals 10.10.20.0/255.255.255.0]" works in v.10.2.1 HF3?
During migration I had an iRule with this format, and that didn't work until we change all IP address comparations to format "[IP::addr [IP::remote_addr]/24 equals 10.10.20.0]".