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 high;}pool pat-pool {address-range low 192.2.11 high;port automatic;}rule myrule {match-direction input;term myterm {from {source-address;}then {translated {source-pool src-pool;overload-pool pat-pool;translation-type source dynamic;}}}}

Published: 2010-04-28