Forum Discussion
Marvin
Jul 05, 2018Cirrocumulus
I think I got it only with hardcoded IP addresses and only using this Irule on the VS2
when LB_SELECTED {
log local0. "client = [IP::client_addr]:[TCP::client_port]"
log local0. "\[persist lookup source_addr [IP::client_addr]\] = [persist lookup
source_addr [IP::client_addr]]"
if { [persist lookup source_addr [IP::client_addr] node] eq "10.0.0.1" } {
LB::reselect node 10.0.0.3 80
log local0. "client = [IP::client_addr] Re-loadbalancing to [LB::server]"
}
}