Network Address Translation Configuration
514
G8332 Command Reference for ENOS 8.4
Network Address Translation (NAT) is a mechanism through which IP addresses
are mapped from one realm to another in order to provide transparent routing to
hosts. For more information about NAT, please refer to Lenovo RackSwitch G8332
Application Guide for Lenovo Enterprise Network Operating System 8.4.
Table 268.
NAT Configuration Options
Command Syntax and Usage
[no] ip nat enable
Enables or disables NAT feature.
The default setting is disabled.
Command mode: Global configuration
[no] ip nat inside destination static <outside local IP address>
<outside global IP address> [oneway]
Configures one‐to‐one translations of the outside local address to the outside
global address. The oneway option restricts the NAT process to only
translating local IP addresses to global IP addresses.
Command mode: Global configuration
[no] ip nat inside destination static {tcp|udp}
<outside local IP address> <local TCP/UDP port number>
<outside global IP address> <global TCP/UDP port number> [oneway]
Configures one‐to‐one translations of the outside local address and local
TCP/UDP port number to the outside global address and global TCP/UDP
port number. The oneway option restricts the NAT process to only
translating local IP addresses to global IP addresses.
Command mode: Global configuration
[no] ip nat inside source pool <pool name> pool
<translation pool name> [overload] [oneway]
Configures a mapping of multiple inside local IP addresses to multiple inside
global IP addresses. The overload option maps multiple local IP addresses to
a single global IP address. The oneway option restricts the NAT process to
only translating local IP addresses to global IP addresses.
Command mode: Global configuration
[no] ip nat inside source static <inside local IP address>
<inside global IP address> [oneway]
Configures one‐to‐one translations of the inside local address to the inside
global address. The oneway option restricts the NAT process to only
translating local IP addresses to global IP addresses.
Command mode: Global configuration