Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

translation-type

Syntax

translation-type (basic-nat-pt | basic-nat44 | basic-nat66 | nat-44 | deterministic-napt44 | dnat-44 | dynamic-nat44 | napt-44 | napt-66 | napt-pt | 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]

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

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.

deterministic-napt44 option introduced in Junos OS Release 12.1.

Description

Specify the NAT translation types.

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 basic-nat-pt option is always implemented with DNS ALG.
  • deterministic-napt44—Translate as napt-44, and use deterministic port block allocation for port translation.
  • 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.
  • 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).
  • 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.

Published: 2013-08-29

Supported Platforms

Published: 2013-08-29