3Com OfficeConnect 3C100XF Cli User's Manual page 147

3com officeconnect 3c100xf: users guide
Hide thumbs Also See for OfficeConnect 3C100XF:
Table of Contents

Advertisement

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

<interface name> refers to the WAN interface (Example:

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 <pppoe> network_service pppoeC_ATM_RFC1483
OCG-Adsl>>set profile <pppoe> send_password <root>
OCG-Adsl>>)set profile <pppoe> 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 <pppoe> protocol ip
address_selection negotiate
If you know the specific local and remote IP addresses, enter the following CLI

command where
address.
OCG-Adsl>>set profile <pppoe> protocol ip
local_ip_address <x.x.x.x> remote_ip_address <y.y.y.y>
OCG-Adsl>>set profile <pppoe> protocol ip default_route_option
enable routing both routing_protocols ripv2
OCG-Adsl>> add atmaal5 pvc <pvc34> vpi <0> vci <34>
OCG-Adsl>> add datalink ppp interface <atmaal:1/pvc34> profile
<pppoe>
OCG-Adsl>> set profile <pppoe> nat_option pat
OCG-Adsl>> add pat static <icp or udp><policy name> interface
<interface name ---atmaal:1/pvc34> private_address <ip address>
public_address <ip address> public_port <port number> (For example,
use public_port 80 if you have a web server on your private LAN.)
is the local IP address and
x.x.x.x
Address Translation
16-5
is the remote IP
y.y.y.y

Advertisement

Table of Contents
loading

Table of Contents