Forum Discussion

refra's avatar
refra
Icon for Nimbostratus rankNimbostratus
Nov 13, 2019

SNAT Pool Subent entry

Hi, I trired to add 192.168.1.0/25, but it seems it's not applicable to add a subnet to SNAT pool memebers.

 

is there a way to add a subent in the SANT pool!

 

  • i would definitely look to scripting. one way to do this in bash would be

     

    for i in {2..127}; do tmsh modify ltm snatpool <snatpool_name> members add {10.1.1.$i } ; done

  • No they have to be added individually. That said, a /25 would be a rather large SNAT pool, do you need that many addresses?

  • refra's avatar
    refra
    Icon for Nimbostratus rankNimbostratus

    yes, the design for ISP, and this is just phase one!

    we have AFM module, it could help?

  • i would definitely look to scripting. one way to do this in bash would be

     

    for i in {2..127}; do tmsh modify ltm snatpool <snatpool_name> members add {10.1.1.$i } ; done