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 Dynamic Address-Only Source Translation in an IPv4 Network

    The following example configures the translation type as dynamic-nat44.

    [edit services]
    user@host# show 
    service-set s1 {
        nat-rules rule-dynamic-nat44;
        interface-service {
            service-interface ms-0/1/0;
        }
    }
     nat {
        pool source-dynamic-pool {
            address 10.1.1.0/24;
        }
        rule rule-dynamic-nat44 {
            match-direction input;
            term t1 {
                from {
                    source-address {
                        3.1.1.0/24;
                    }
                }
                then {
                    translated {
                        destination-pool source-dynamic-pool;
                        translation-type {
                            dynamic-nat44;
                        }
                    }
                }
            }
        }
    }
     adaptive-services-pics {
        traceoptions {
            flag all;
        }
      }
    

    Published: 2012-07-02