Forum Discussion
statmp_87631
Dec 19, 2011Nimbostratus
iRules with subnet failed.
Hi,I met a problem with iRules recently, below is our iRules:
if { [IP::addr [IP::remote_addr] equals 221.177.152.0/26] } {
pool CMNET }
else { ...
harry_35316
Dec 19, 2011Nimbostratus
I dont think we can use the euqals command for the IP range subnet...Try with using the below if statement. This may not be correct but i think we cannot use equals for a range of IPs since the equals to operator checks for the exact match only...
if{ [221.177.152.0< IP::addr[IP::remote_addr] ] & [IP::addr[IP::remote_addr]<=221.177.152.63]}{
pool CMNET
}
else..
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects