translation-type
Syntax
translation-type (basic-nat-pt | basic-nat44 | basic-nat66 | nat-44 | deterministic-napt44 | deterministic-napt64 | dnat-44 | dynamic-nat44 | napt-44 | napt-66 | napt-pt | nptv6 | stateful-nat464 | stateful-nat64 | twice-basic-nat-44 | twice-dynamic-nat-44 | twice-napt-44)
Hierarchy Level
[edit services nat rule rule-name term term-name then translated]
Description
Specify the NAT translation types. To identify the interface cards and Junos OS releases that support each translations type, see Carrier-Grade NAT Feature Comparison for Junos Address Aware by Type of Interface Card.
Options
basic-nat44 | Translate the source address statically (IPv4 to IPv4). |
basic-nat66 | Translate the source address statically (IPv6 to IPv6). |
basic-nat-pt | Translate
the addresses of IPv6 hosts as they originate sessions to the IPv4
hosts in the external domain. The |
deterministic-napt44 | Translate as deterministic NAPT44. |
deterministic-napt64 | Translate as deterministic NAPT64. |
dnat-44 | Translate the destination address statically (IPv4 to IPv4). |
dynamic-nat44 | Translate only the source address by dynamically choosing the NAT address from the source address pool. |
napt-44 | Translate the transport identifier of the IPv4 private network to a single IPv4 external address. |
napt-66 | Translate the transport identifier of the IPv6 private network to a single IPv6 external address. |
napt-pt | Bind addresses in an IPv6 network with addresses in an IPv4 network and vice versa to provide transparent routing for the datagrams traversing between the address realms. |
nptv6 | Translate the source address prefix in a stateless manner (IPv6 to IPv6). |
stateful-nat464 | Implement 464XLAT Provider-Side Translater (PLAT) address translation for source IP addresses and IPv6 prefix removal translation for destination IPv4 addresses. |
stateful-nat64 | Implement dynamic address and port translation for source IP addresses (IPv6-to-IPv4) and prefix removal translation for the destination IP addresses (IPv6-to-IPv4). |
twice-basic-nat-44 | Translate the source and destination addresses statically (IPv4 to IPv4). Note:
Starting with Junos OS Release 15.1R1, the twice NAT functionality
( |
twice-dynamic-nat-44 | Translate the source address by dynamically choosing the NAT address from the source address pool. Translate the destination address statically. |
twice-dynamic-napt-44 | Translate the transport identifier of the IPv4 private network to a single IPv4 external address. Translate the destination address statically. |
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.
The following options introduced in Junos OS Release 11.2, replacing all previous options.
basic-nat44
basic-nat66
basic-nat-pt
dnat-44
dynamic-nat44
napt-44
napt-66
napt-pt
stateful-nat64
deterministic-napt44
option introduced in Junos OS
Release 12.1.
deterministic-napt64
option introduced in Junos OS Release
17.4R1.
nptv6
option introduced in Junos OS Release 15.1
stateful-nat464
option introduced in Junos OS Release 17.1R1.
twice-basic-nat-44
option introduced in Junos OS
Release 11.4.
twice-dynamic-nat-44
option introduced in Junos OS
Release 11.4.
twice-napt-44
option introduced in Junos OS Release
11.4.