Ckeck Irule select snat pool

Hello

In this moment I had have a BIG-IP LTM with a Virtual Server, it’s working send email by client. The virtual server by SMTP ip:25 with a pool and a snatpool that have ten ip for send traffic.

I created a Irule because I used a IP specfic for send traffic by one client. The code Irule is

when LB_SELECTED { log local0. “in HTTP_REQUEST” if {[IP::addr “[IP::client_addr]” equals “64.86.224.75”]} { snatpool Snat_pool_alkosto } }

but I had have a problem with this Irule, I doesn’t understand what’s happend.

Hi Jaime,

please just try this way:

when CLIENT_ACCEPTED {
     log local0. "in HTTP_REQUEST"
    if { [IP::client_addr] equals "64.86.224.75" } { 
        snatpool Snat_pool_alkosto
    }
}

Thanks, Stephan