asif_6800
Jan 05, 2008Nimbostratus
source based pool selection (irule not working)
Hello all , i am trying to creat an irule for source address based pool selection but irule is not working.
please check the syntex
---------------------------------------------
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr] equals 10.113.0.0/16] } {
pool Outbound-Voice-Video
} elseif { [IP::addr [IP::client_addr] equals 203.128.0.0/24] } {
pool Outbound-Public-Servers
} elseif { [IP::addr [IP::client_addr] equals 203.128.1.0/24] } {
pool Outbound-Public-Servers
} elseif { [IP::addr [IP::client_addr] equals 203.128.4.226/24] } {
pool Outbound-Public-DMZ
}
}
------------------------------------------------