As you do SNAT in any case (value of c_nat will be 0 or 1), you can put it all in one switch statement, without the -glob.
when CLIENT_ACCEPTED {
switch [IP::remote_addr] {
"10.X.X.5" { snatpool SNATX member X.X.X.1 }
"10.X.X.6" { snatpool SNATX member X.X.X.2 }
"10.X.X.7" { snatpool SNATX member X.X.X.3 }
"10.X.X.8" { snatpool SNATX member X.X.X.4 }
"10.X.X.9" { snatpool SNATX member X.X.X.5 }
"10.X.X.25" { snatpool SNATY member X.X.Y.1 }
"10.X.X.26" { snatpool SNATY member X.X.Y.2 }
default { snatpool SNAT }
}
if this is your only pool, leave the statement here. Otherwise put it in the switch action
pool poo_2
}
Regards
Kurt Knochner