[an error occurred while processing this directive][an error occurred while processing this directive]

Example: Assigning Addresses from a Dynamic Pool for Static Use

The following configuration statically assigns a subset of addresses that are configured as part of a dynamic pool (dynamic-pool) to two separate static pools (static-pool and static-pool2).

[edit services nat]pool dynamic-pool {address 20.20.10.0/24;}pool static-pool {address-range low 20.20.10.10 high 10.20.10.12;}pool static-pool2 {address 20.20.10.15/32;}rule src-nat {match-direction input;term t1 {from {source-address 30.30.30.0/24;}then {translation-type source dynamic;source-pool dynamic-pool;}}term t2 {from {source-address 10.10.10.2;}then {translation-type source static;source-pool static-pool;}}term t3 {from {source-address 10.10.10.10;}then {translation-type source static;source-pool static-pool2;}}}

Published: 2010-04-28

[an error occurred while processing this directive]