Technical Documentation

Example: Configuring an Oversubscribed Pool with Fallback to NAPT

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. When the addresses in the source pool (src-pool) are exhausted, network address translation is provided by the NAPT overload pool (pat-pool).

[edit services nat]pool src-pool {address-range low 192.16.2.1 high 192.16.2.10;}pool pat-pool {address-range low 192.2.11 high 192.16.2.12;port automatic;}rule myrule {match-direction input;term myterm {from {source-address 10.150.1.0/24;}then {translated {source-pool src-pool;overload-pool pat-pool;translation-type source dynamic;}}}}

Published: 2010-04-28