Specifications
Chapter 4. Configuring Special Features 95
Classic NAT
With classic NAT, one PC IP address is translated to one NAT IP address. This NAT technique is primarily used
to make certain hosts on a private LAN globally visible and give them the ability to remap these IP addresses as
well.
Client Configuration
Classic NAT requires that you first enable NAT Masquerading (as described in the previous section); thus,
for the Classic and Masquerading forms of NAT, the clients are configured in the same way. Refer to the
Client Configuration, page 91 section.
Host Remapping
¥ Interface-Specific Commands
You can enable and disable host remapping for specific remote interfaces and for specific Ethernet
interfaces. To enable or disable host remapping on a per-remote basis, use these commands:
remote addHostMapping <first private addr> <second private addr> <first public addr>
<remoteName>
remote delHostMapping <first private addr> <second private addr> <first public addr>
<remoteName>
Use the command remote addHostMapping whenever a host on the local LAN is known by different IP
addresses to different remotes.
To enable or disable host remapping on a per-Ethernet-interface basis, use these commands:
eth ip addHostMapping <first private addr> <second private addr> <first public addr> <interface>
eth ip delHostMapping <first private addr> <second private addr> <first public addr> <interface>
¥ System Commands
Use these commands to enable or disable host remapping systemwide:
system addHostMapping <first private addr> <second private addr> <first public addr>
system delHostMapping <first private addr> <second private addr> <first public addr>
Use the command system addHostMapping whenever a host on the local LAN is known by the same IP
address on all remotes.
¥ IP Address Range
The range of local LAN IP addresses to be remapped is defined by <first private addr> to <second
private addr> inclusive. These addresses are mapped one-to-one to the public addresses.
The range of public IP addresses is defined by <first public addr> only. The rest of the range is computed
automatically (from <first public addr> to <first public addr> + number of addresses remapped - 1)
inclusive.