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

    Example: Configuring Dynamic Source Address and Port Translation for an IPv6 Network

    The following example configures dynamic source (address and port) translation or NAPT for an IPv6 network.

    [edit services]
    user@host# show
        service-set IPV6-NAPT-ServiceSet {
            nat-rules IPV6-NAPT-Rule;
            interface-service {
                service-interface ms-0/1/0;
            }
        }
        nat {
            pool IPV6-NAPT-Pool {
                address 2002::1/96;
                port automatic;
            }
            rule IPV6-NAPT-Rule {
                match-direction input;
                term term1 {
                    then {
                        translated {
                            source-pool IPV6-NAPT-Pool;
                            translation-type {
                                napt-66;
                            }
                        }
                    }
                }
            }
        }
        adaptive-services-pics {
            traceoptions {
                flag all;
            }
        }
    }

    Published: 2012-06-27