預設路由10.0.0.254
設定2個SNAT
設定2個Pool, 留意優先次序
when CLIENT_ACCEPTED { if { [IP::addr [LB::server addr] equals "8.8.8.8"] } { pool Pool_10 snatpool SNAT_10 } elseif { [IP::addr [LB::server addr] equals "8.8.4.4"] } { pool Pool_20 snatpool SNAT_20 } else { snat automap } }
除了8.8.8.8和8.8.4.4, 其他的走預設路由