Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Example: Configuring an Oversubscribed Pool with No Fallback

The following configuration shows dynamic address translation from a large prefix to a small pool, translating a /24 subnet to a pool of 10 addresses. Sessions from the first 10 host sessions are assigned an address from the pool on a first-come, first-served basis, and any additional requests are rejected. Each host with an assigned NAT can participate in multiple sessions.

[edit services nat]pool my-pool {address-range low 10.10.10.1 high 10.10.10.10;}rule src-nat {match-direction input;term t1 {from {source-address 192.168.1.0/24;}then {translated {translation-type dynamic-nat44;source-pool my-pool;}}}}

Published: 2012-11-28

Supported Platforms

Published: 2012-11-28