Forum Discussion
Ilian_Ivanov
Jun 07, 2017Nimbostratus
Hi,
If I am understanding correctly, you can create 2 data groups 1 for host and 1 for network. Then use that iRule:
when CLIENT_ACCEPTED {
if { [ class match [IP::client_addr] equals clients_new_network ] } {
pool new_clients_pool
log local0. "Client IP is [IP::client_addr]"
}
if { [ class match [IP::client_addr] equals clients_new_host ] } {
pool new_clients_pool
}
else {
reject
}
}