The public address pool IDs are numerals. Up to 8 address pools can be configured.
By default, no public address pool is configured on the AR150/200.
----End
5.3.3 Associating an ACL with an Address Pool
Network administrators can use ACLs to control which users can access public networks using
NAT.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
interface-type
interface-number
The interface view is displayed.
Step 3
Run:
nat outbound
acl-number
[
address-group
group-index
[
no-pat
] |
interface
loopback
interface-number
]
An ACL is associated with an address pool.
After an ACL is associated with an address pool, the AR150/200 translates source addresses of
data packets matching the ACL to an IP address in the address pool. Different IP address
translation entries can be configured on an interface.
In the command,
no-pat
indicates one-to-one NAT, that is, only the IP address is translated and
the port number is not translated
----End
5.3.4 Configuring Easy IP
Easy IP uses an interface IP address as the source address of data packets matching an ACL.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
interface-type
interface-number
The interface view is displayed.
Step 3
Run:
nat outbound
acl-number
[
address-group
group-index
[
no-pat
] |
interface
loopback
interface-number
]
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - IP Service
5 NAT Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
111