Forum Discussion
sosabsd_111766
Nimbostratus
May 13, 2014Irule for Specific Client IPs
hi
our current irule is used to only allow IP as per cleass PC:
now we need to preserve the same irule but adding another
condition if client ip xxxx(which is the part of class PC) then use poo...
mimlo_61970
Cumulonimbus
May 13, 2014I assume 172.24.21.139 is a specific IP address you want to match, and not another datagroup? If so, your inner if statement would be more like this
if { [IP::addr [IP::remote_addr] equals 172.24.21.139] } {
pool PC_Pool2
} else {
pool PC_Pool
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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