Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Example: Configuring NAT Rules Without Defining a Pool

    The following configuration performs network address translation using the source prefix 20.20.10.0/24 without defining a pool.

    [edit services nat]rule src-nat {match-direction input;term t1 {then {translation-type source dynamic;source-prefix 20.20.10.0/24;}}}

    The following configuration performs network address translation using the destination prefix 20.20.10.0/32 without defining a pool.

    [edit services nat]rule src-nat {match-direction input;term t1 {from {destination-address 10.10.10.10/32;then {translation-type destination static;destination-prefix 20.20.10.0/24;}}}}

    Published: 2012-07-02