Forum Discussion

karthicksankark's avatar
Icon for Altostratus rankAltostratus
Nov 01, 2023

Multiple SNAT pools under a single VIP

Hi Folks,  I need some help on having two SNAT pools under a single VIP. We have a VIP that contains 4 nodes present at two different locations (2 nodes in A location and other 2 nodes in B location...
  • Niels_van_Sluis's avatar
    Nov 01, 2023

    Try removing the space between else and if.

    when LB_SELECTED {
      if { [IP::addr [LB::server addr] equals] } {
        snatpool snat-1
      } elseif { [IP::addr [LB::server addr] equals] } {
          snatpool snat-2