NAT64 is a mechanism for translating IPv6 packets to IPv4 packets, and vice versa. NAT64 allows IPv6-only clients to contact IPv4 servers using unicast UDP or TCP. NAT64 only allows an IPv6-only client to initiate communications to an IPv4-only server. To perform IPv6-to-IPv4 translation, binding and session information is saved. NAT64 is stateful.

The following diagram shows details of NAT64 translation.

Details of how NAT64 translates an IPv6 address to an IPv4 address.

Note:
  • NAT64 is only supported for external IPv6 traffic coming in through the NSX Edge uplink to the IPv4 server in the overlay.
  • NAT64 supports TCP and UDP. Packets of all other protocol types are discarded. NAT64 does not support ICMP, fragmentation, or IPV6 packets that have extension headers.
  • When a NAT64 rule and an NSX load balancer are configured on the same Edge node, using the NAT64 rule to direct IPv6 packets to the IPv4 load balancer is not supported.

Procedure

  1. With admin privileges, log in to NSX Manager.
  2. Select Networking > NAT.
  3. Select NAT64 as the view.
  4. Click Add NAT 64 Rule.
  5. Enter a Name.
  6. Enter a Source.
    Specify an IPv6 address, or an IPv6 address range in CIDR format. For example, 2001:DB7:1::1 or 2001:DB7:1::/64.

    If this text box is left blank, the NAT rule applies to all sources outside of the local subnet.

  7. Enter a Destination.
    Specify an IPv6 address, or an IPv6 address range in CIDR format with subnet size 96. For example, 64:ff9b::0B01:0101 or 2001:DB8::/96.
  8. Enter a value for Translated IP.
    Specify an IPv4 address, an IPv4 address range, or a comma-separated list of IPv4 addresses. For example, 10.1.1.1, 10.1.1.1-10.1.1.2, or 10.1.1.1,10.1.1.2.
  9. Toggle Enable to enable the rule.
  10. (Optional) In the Service column, click Set to select services.
  11. (Optional) Enter a value for Translated Port.
  12. (Optional) For Apply To, click Set and select objects that this rule applies to.
    The only option available is Interfaces.
  13. (Optional) Toggle the logging button to enable logging.
  14. (Optional) Specify a priority value.
    A lower value means a higher priority. The default is 0.
  15. The Firewall setting is set to Bypass and cannot be changed.
  16. Click Save.