Hi all, I have a topology like below: Client x, y, z -------- SRX --------- InternetThe SRX device operates source NAT (PAT) pool from Client to access the Internet with IP pool is 126.96.36.199/24 for example. So the client x. y, z also use the same IP NAT 188.8.131.52 with different port or use different IP NAT: 111,111,111,1 ; 184.108.40.206 ; 220.127.116.11 respectively? Thank all 🙂
The behavior thats generally seen is that they will take different ip addresses.
However the same Ip can be re-used as there is no hard and fast rule.
Same source can use a differnet ip for a differnet session.
Hi Guru Prasad, Thank for your clarification 🙂 Regards, Hoang Nguyen Huy
If you want the address pool assignments to be consistent per host take a look at the "address-persistent" and "persistent-nat" options.
Hi Spuluka, Thanks for your addition. For more understanding, can you tell when to deploy "persistent-nat"? I have seen the benefit of "address-persistent". However, the scenarios to use "persistent-nat" make me confusion. Regards, Hoang Nguyen Huy
You use persistent NAT when the communications between the client and server application will end and then start again in a short period of time. This makes sure the previous session addresses are still used even with the sessions being gone for the configured period of time.
If the server application keeps track of the client addresses for some period of time after the transaction then this setting will mirror that behavior on the SRX.
Hi Spuluka I thank you for broadening my horizon 🙂 I have totally understood.Regards, Hoang Nguyen Huy