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.
Содержание OfficeConnect 3C100XF
Страница 1: ...http www 3com com OfficeConnect Gateway CLI User s Guide Release 1 0 Part No 10042302 Rev AA ...
Страница 14: ...xiv ...
Страница 18: ...iv ABOUT THIS GUIDE ...
Страница 30: ...1 12 CHAPTER 1 USING THE COMMAND LINE INTERFACE CLI ...
Страница 50: ...3 14 CHAPTER 3 ADMINISTRATIVE CLI COMMANDS ...
Страница 58: ...4 8 CHAPTER 4 CONFIGURING AND MANAGING USERS ...
Страница 70: ...6 8 CHAPTER 6 BRIDGING COMMANDS ...
Страница 78: ...8 4 CHAPTER 8 INTERFACE COMMANDS ...
Страница 82: ...9 4 CHAPTER 9 ARP COMMANDS ...
Страница 88: ...11 4 CHAPTER 11 DHCP COMMANDS ...
Страница 124: ...12 36 CHAPTER 12 IP ROUTING COMMANDS ...
Страница 134: ...13 10 CHAPTER 13 DNS COMMANDS ...
Страница 142: ...15 6 CHAPTER 15 MULTICASTING AND IGMP COMMANDS ...
Страница 160: ...17 8 CHAPTER 17 PPP COMMANDS ...
Страница 182: ...21 6 CHAPTER 21 ADDRESS TRANSLATION COMMANDS ...
Страница 186: ...22 4 CHAPTER 22 IPSEC COMMANDS ...
Страница 188: ...23 2 CHAPTER 23 SECURITY ASSOCIATION SA COMMANDS ...
Страница 192: ...24 4 CHAPTER 24 TCP COMMANDS ...
Страница 204: ...25 12 CHAPTER 25 SNMP COMMANDS ...
Страница 210: ...26 6 CHAPTER 26 IP FILTERS COMMANDS ...
Страница 238: ...29 6 CHAPTER 29 TRACEROUTE COMMANDS ...
Страница 255: ...xv RFC 1483 16 3 RFC 1483 MER 16 4 ...
Страница 256: ...xvi ...
Страница 260: ......