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 { ...
statmp_87631
Dec 20, 2011Nimbostratus
Thanks for your kindly support.
here is my iRules:
when DNS_REQUEST {
if { [IP::addr [IP::remote_addr] equals 10.97.188.0/24] } {
log local0. "[IP::remote_addr] equals 10.97.188.0/24 Correct!!!! : [IP::addr [IP::remote_addr] equals 10.97.188.0/24]"
}
else {
log local0. "[IP::remote_addr] equals 10.97.188.0/24 Error!!!!! : [IP::addr [IP::remote_addr] equals 10.97.188.0/24]"
}
}
and got log with ERROR:
Rule HN_GGSN_Pool_rules: 10.97.188.124 equals 10.97.188.0/24 Error!!!!! : 0
this can make sure [IP::addr 10.97.188.124 equals 10.97.188.0/24] returns 0, that's joke?
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