3Com OfficeConnect 3C100XF Cli User's Manual - page 147
Address Translation
16-5
There are two types of PAT policies:
Dynamic PAT
: Dynamically maps many private addresses to one public
address.
Static PAT
: Statically maps a specific type of server to a specific station
behind the OfficeConnect Gateway.
The following examples show the CLI commands used to create Dynamic PAT and
Static PAT policies.
Syntax
The following notes pertain to the commands and information shown in these
examples:
Private addresses refer to addresses on the LAN
Public addresses refer to addresses on the WAN
atmaal:1/PVC-67-0-35)
Static PAT
To configure Static PAT from the CLI for a PPPoE User, perform the following steps:
1
Enter the following CLI commands.
OCG-Adsl>>add profile
network_service pppoeC_ATM_RFC1483
OCG-Adsl>>set profile
send_password
OCG-Adsl>>)set profile
bridging_disable
2
Enter one of the following CLI commands next:
Enter the following CLI command to make the OfficeConnect Gateway
automatically negotiate (dynamic addressing) with the Service Provider for an IP
address:
OCG-Adsl>>set profile
protocol ip
address_selection negotiate
If you know the specific local and remote IP addresses, enter the following CLI
command where
x.x.x.x
is the local IP address and
y.y.y.y
is the remote IP
address.
OCG-Adsl>>set profile
protocol ip
local_ip_address
remote_ip_address
OCG-Adsl>>set profile
protocol ip default_route_option
enable routing both routing_protocols ripv2
OCG-Adsl>> add atmaal5 pvc
vpi
vci
OCG-Adsl>> add datalink ppp interface