For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

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

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 10.0.0.0/24] } {
        snatpool snat-1
      } elseif { [IP::addr [LB::server addr] equals 20.0.0.0/24] } {
          snatpool snat-2
      }
    }