3Com OfficeConnect 3C100XF Cli User's Manual - page 148
16-6
C
HAPTER
16: C
ONFIGURING
Y
OUR
WAN P
ROTOCOL
S
ETTINGS
Dynamic PAT
To configure Dynamic PAT from the CLI for a PPPoE User, perform the following
steps:
1
Enter the following CLI commands:
OCG-Adsl>> add pat
interface
interface name>
private_address
public_address
public_port
Be sure to specify a large number of ports that are high in the port number range.
For example, 40000-50000.
Deleting a PAT Policy
To delete a PAT policy, perform the following step from the CLI:
OCG-Adsl>>delete nat policy
interface
The private range may be larger than the public range of IP Addresses.
Modifying the Interface
Option
To modify the interface option, perform the following step from the CLI:
OCG-Adsl>>set nat interface
option
/PAT/SUPERNAT> Enabling/Disabling Intelligent PAT To enable/disable Intelligent PAT, perform the following step from the CLI: OCG-Adsl>>set nat interface intelligent_pat Setting the Default Workstation for Intelligent PAT To set the default workstation for Intelligent PAT, perform the following step from the CLI: OCG-Adsl>>set nat interface workstation workstation ip address> Configuring Network Address Translation Network Address Translation (NAT) can be configured from the Command Line Interface (CLI) of the OfficeConnect Gateway. Before NAT options can be enabled and configured from the CLI, a User/Profile must be created. There are two types of NAT policies: Dynamic NAT : Dynamically maps a public address from a pool of addresses to the private address of your workstation on your LAN. Static NAT : Statically maps a public address to the private address of your workstation on your LAN. The following examples show the CLI commands used to create Dynamic NAT and Static NAT policies. Syntax The following notes pertain to the commands and information shown in these examples: