Address Translation
16-7
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 NAT
To configure Static NAT 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:
If using dynamic IP addressing (the most common situation), enter the
following CLI command to make the OfficeConnect Gateway automatically
negotiate 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
x.x.x.x
is the local IP address and
y.y.y.y
is the remote IP
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 nat
OCG-Adsl>> add nat static
<policy name>
interface <
interface name
---atmaal:1/pvc34>
private_address
<ip address range>
public_address
<ip address range>
Both the public and private ranges must have the same number of IP Addresses.
Dynamic NAT
To configure Dynamic NAT from the CLI for a PPPoE User, perform the following
steps:
1
Enter the following CLI commands:
OCG-Adsl>> add nat dynamic
<policy name>
interface <
interface name >
private_address
<ip address range>
public_address
<ip address range>
The private range may be larger than the public range of IP Addresses.
Summary of Contents for OfficeConnect 3C100XF
Page 1: ...http www 3com com OfficeConnect Gateway CLI User s Guide Release 1 0 Part No 10042302 Rev AA ...
Page 14: ...xiv ...
Page 18: ...iv ABOUT THIS GUIDE ...
Page 30: ...1 12 CHAPTER 1 USING THE COMMAND LINE INTERFACE CLI ...
Page 50: ...3 14 CHAPTER 3 ADMINISTRATIVE CLI COMMANDS ...
Page 58: ...4 8 CHAPTER 4 CONFIGURING AND MANAGING USERS ...
Page 70: ...6 8 CHAPTER 6 BRIDGING COMMANDS ...
Page 78: ...8 4 CHAPTER 8 INTERFACE COMMANDS ...
Page 82: ...9 4 CHAPTER 9 ARP COMMANDS ...
Page 88: ...11 4 CHAPTER 11 DHCP COMMANDS ...
Page 124: ...12 36 CHAPTER 12 IP ROUTING COMMANDS ...
Page 134: ...13 10 CHAPTER 13 DNS COMMANDS ...
Page 142: ...15 6 CHAPTER 15 MULTICASTING AND IGMP COMMANDS ...
Page 160: ...17 8 CHAPTER 17 PPP COMMANDS ...
Page 182: ...21 6 CHAPTER 21 ADDRESS TRANSLATION COMMANDS ...
Page 186: ...22 4 CHAPTER 22 IPSEC COMMANDS ...
Page 188: ...23 2 CHAPTER 23 SECURITY ASSOCIATION SA COMMANDS ...
Page 192: ...24 4 CHAPTER 24 TCP COMMANDS ...
Page 204: ...25 12 CHAPTER 25 SNMP COMMANDS ...
Page 210: ...26 6 CHAPTER 26 IP FILTERS COMMANDS ...
Page 238: ...29 6 CHAPTER 29 TRACEROUTE COMMANDS ...
Page 255: ...xv RFC 1483 16 3 RFC 1483 MER 16 4 ...
Page 256: ...xvi ...
Page 260: ......