Forum Discussion

Anzine321's avatar
Anzine321
Icon for Altocumulus rankAltocumulus
Feb 25, 2025

smtp did not load balance with irule

Hi

anyone has experience with snmp irule ip client

here is my irule

when CLIENT_ACCEPTED {
    if { [class match [IP::client_addr] equals dg_a] }{
        pool pool_a
    } elseif {[class match [IP::client_addr] equals dg_b]}{
        pool pool_b
    } else {
        pool pool_c
    }    
}

 

i have 2 member on each pool member but only one member in and out on statistic, no load balance and doesnt have persistence on f5

 

pool member service is smtp and i tried my lab used http based and loadbalance ( pool member loadbalance round robin )

is that related smtp service not load balance

  • Do you have a health monitor applied to the pool and if so, are both pool members passing their health check?

     

    If possible please provide the configuration of the virtual server and pool.

    tmsh list ltm virtual
    tmsh list ltm pool

     

    • Anzine321's avatar
      Anzine321
      Icon for Altocumulus rankAltocumulus

      both of pool member state up and for monitor used tcp half open

      for virtual server used standar and snat pool member, 

    • Anzine321's avatar
      Anzine321
      Icon for Altocumulus rankAltocumulus

      is that related to route domain ?

      vs : source : 10.0.0.0%40/8

      snat : 10.0.0.10%40

      on pool with traffic exist statistic is with route domain 40 and for pool members no statistics with route domain 30

  • Does your f5 sit behind nat router? 

    Ensure that the source ip of the requests stays untranslated when received by the f5 vserver.

    • Anzine321's avatar
      Anzine321
      Icon for Altocumulus rankAltocumulus

      the problem resolved, i change route domain on pool as same as snat and virtual server route domain value