Forum Discussion
hooleylist
Mar 17, 2012Cirrostratus
Also, if you stick with the above iRule, you can save a few CPU cycles by changing this:
if {[IP::addr "[LB::server addr]/24" equals "10.200.1.0/24"]}{
to this:
if {[IP::addr [LB::server addr] equals 10.200.1.0/24]}{
See Jason's article on IP::addr for details:
http://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/1086449/iRules-IP-Comparison-Considerations-with-IPaddr-Command.aspx
Aaron