Globally enables Network Address Translation (NAT).
| ip | Specifies Internet Protocol (IP). |
| nat | Specifies enabling NAT. |
| unicast | Enables IPv4 unicast NAT only. This is the default behavior when no keyword is specified. |
| multicast | Enables IPv4 multicast NAT only. |
N/A.
NAT maps IP addresses from one address domain (typically private IP address space) to an another address domain (typically a public Internet IP address space) to provide transparent routing to end hosts. This translation is accomplished transparently by having a NAT device translate the IP address and/or Layer 4 port of the packets.
For multicast NAT, only the source-nat rule type applies. Rules of type napt or destination-napt are not used for multicast traffic. Translation applies to outbound traffic only; the multicast destination group address is never modified.
Multicast NAT cannot be used concurrently with MACsec and is not supported on stacking configurations.
To view IP NAT information, run the command show ip nat.
The following example enables IP NAT:
# enable ip nat
The following commands enable unicast NAT (both forms are equivalent):
enable ip nat enable ip nat unicast
The following command enables multicast NAT independently:
enable ip nat multicast
This command was first available in ExtremeXOS 31.2.
The unicast and multicast keywords were added in Switch Engine 33.6.1.
This command is available on the switches that support the IP NAT feature. For information about which switches support this and other features, see the ExtremeXOS v33.6.1 Licensing Guide document.
The multicast keyword is supported on X695 only.