Forum Discussion
hooleylist
Jan 20, 2009Cirrostratus
The logic looks fine. You could use IP::addr to perform the IP address comparison:
when LB_SELECTED {
if {[matchclass [IP::client_addr] equals "$::Hosts"}{
if {[IP::addr [LB::server addr] equals 128.94.240.254]}{
snat none
} else {
snat automap
}
} else {
snat automap
}
}
Aaron