Forum Discussion

bertrand_9354's avatar
bertrand_9354
Icon for Nimbostratus rankNimbostratus
Feb 29, 2012

dynamic SNAT on port exhaustion

Hi,

 

 

I have an issue on my architecture. All surf stream is source natted by one IP.

 

We would like to implement a SNATPool to avoid this issue

 

I know that SNAT Pool is working in mode least connection. I would like to know if we can, for example, on SNATPool with 2 members fullfil one IP address and when the inet port exhaustion occurs, swith the SNAT on the other one.

 

 

 

Thanks for your help.

 

 

 

Bertrand.

 

  • Hi Bertrand,

     

     

    I don't think you can specify a load balancing algorithm for selecting a SNAT IP from a SNAT pool. You can however, use a hashing of the client IP to ensure the same client IP gets the same SNAT IP each time:

     

     

    https://devcentral.f5.com/wiki/iRules.snat_pool_persistence.ashx

     

     

    Aaron