R2511-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V5)

124
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create an address group and
enter its view.
nat address-group
group-number
N/A
3. Add a member to the address
group.
address start-address
end-address
The IP address pools of address group
members must not overlap with each
other or with other address pools.
4. Configure the port range for the
address group.
port-range port-range-start
port-range-end
Optional.
By default, the port range is 1 to
65535.
Configuring Easy IP
Easy IP allows the device to use the IP address of one of its interfaces as the source address of NATed
packets.
To configure Easy IP:
Ste
p
Command
1. Enter system view.
system-view
2. Enter interface view.
interface interface-type interface-number
3. Enable Easy IP by associating an ACL with
the port range.
nat outbound [ acl-number ] [ port-range port-range-start
port-range-end ] [ track vrrp virtual-router-id ]
Configuring No-PAT
With a specific ACL associated with an address pool or interface address, No-PAT translates the source
address of a packet permitted by the ACL into an IP address of the address pool or the interface address,
without using the port information.
To configure No-PAT:
Ste
p
Command
1. Enter system view.
system-view
2. Enter interface view.
interface interface-type interface-number
3. Configure No-PAT by associating an ACL
with an IP address pool on the outbound
interface for translating only IP addresses.
nat outbound [ acl-number ] address-group group-number
[ vpn-instance vpn-instance-name ] no-pat [ reversible ]
[ track vrrp virtual-router-id ]
Configuring NAPT
With a specific ACL associated with an address pool or interface address, NAPT translates the source
address of a packet permitted by the ACL into an IP address of the address pool or the interface address,
with using the port information.
To configure NAPT: