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 pool BBB else use pool AAA if clientip is not in class PC then discard
our current Irule is as under:
rule PCClients { when CLIENT_ACCEPTED { if { [matchclass [IP::remote_addr] equals $::PC] } { pool PC_Pool } else { discard } } }
what i think of a new irule will look some thing like below: rule PCClients { when CLIENT_ACCEPTED { if { [matchclass [IP::remote_addr] equals $::PC] } {
if { [matchclass [IP::remote_addr] equals $::172.24.21.139] } { pool PC_Pool2 else { pool PC_Pool } } } else { discard } } } plz advice