Forum Discussion
Dee_21520
Oct 06, 2011Nimbostratus
Hi.
I used the below as mentioned and with this the first bit stopped working completely (map24 not passing any traffic) and the second one started working (new)
when CLIENT_ACCEPTED {
if {[matchclass [IP::local_addr] equals $::map24]} {
if {[LB::status node 85.13.136.97] eq "up"} {
snat 85.13.136.100
node 85.13.136.97
} else {
snat 195.74.174.10
node 195.74.174.1
}
} elseif {[matchclass [IP::local_addr] equals $::new]} {
if {[LB::status node 100.100.100.100] eq "up"} {
snat 100.100.100.102
node 100.100.100.100
}
} else {
pool default_gateway_pool
}
}
please advise what is wrong.
thanks
dee