I want to know it can be done? if in same pool. i try tested according your script it work thank you again.
I try this script as below, but function else it will select only 1 member to connect, not distributing traffic to other member
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr] equals 10.1.1.x/24] } {
pool my_pool member 192.168.1.1 80
} else {
[pool my_pool member 192.168.1.2 80] or [pool my_pool member 192.168.1.3 80] or [pool my_pool member 192.168.1.4 80]
}
}