User manual

A- Commonly Used Commands
A-23
A.4.4 interfaces
Syntax:
nat interfaces
Description:
The
nat interfaces
command displays the IP router ports on which NAT is currently
enabled. For each of these, a status and IP address is listed. The IP address is
discovered automatically from the IP stack.
The status shows the user whether NAT is currently operational on that interface
(enabled), or whether NAT is still waiting to find out the interfaces IP address (not
ready).
Example:
> nat interfaces
Name Status IP address
ethernet enabled 194.129.40.2
ppp not ready -
A.4.5 ip nat
Syntax:
ip nat add|delete <i/f name>
Description:
This command adds or removes NAT functionality from the named interface. The
interface name is the name as listed by the
ip device
command. NAT should always
be enabled only on the interface connecting to the public network, not the interface
connecting to the private network.
Example:
> ip nat add ethernet
See also:
event (A.4.2)