Forum Discussion
Aug 26, 2019
Hi neeeewbie,
iRule:
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr] equals 1.1.0.0/16] } {
set thirdOctet [expr { [getfield [IP::client_addr] "." 3]}]
# log local0. "ThirdOctet: $thirdOctet"
if { $thirdOctet < 186 } {
pool pool_A
} else {
pool pool_B
}
}
}
data_group location in UCS:
/config/bigip.conf