R0106-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V7)

125
Ste
p
Command
Remarks
11. (Optional.) Configure the
mapping behavior for PAT.
nat mapping-behavior
endpoint-independent [ acl
acl-number ]
The default mapping behavior is Address
and Port-Dependent Mapping.
Configuring dynamic NAT444
Dynamic NAT444 is applicable when the private IP addresses are not fixed.
To configure dynamic NAT444:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a NAT address
group, and enter its view.
nat address-group
group-number
By default, no NAT address group exists.
3. Add a public IP address
member to the NAT
address group.
address start-address
end-address
By default, no public IP address member
exists in the NAT address group.
You can add multiple members to an
address group, but they cannot overlap.
4. Configure the port range
for the public IP addresses.
port-range start-port-number
end-port-number
By default, the port range is 1 to 65535.
The configuration takes effect only on
PAT translation mode.
5. Configure port block
parameters.
port-block block-size block-size
[ extended-block-number
extended-block-number ]
By default, no port block parameter
exists.
The configuration takes effect only on
PAT translation mode.
6. Enter interface view.
interface interface-type
interface-number
N/A
7. Configure PAT for
outbound dynamic NAT.
nat outbound [ acl-number ]
[ address-group group-number ]
[ vpn-instance
vpn-instance-name ]
[ port-preserved ]
By default, outbound dynamic NAT is not
configured.
The port-preserved keyword does not
take effect on dynamic NAT444.
8. (Optional.) Configure the
mapping behavior for PAT.
nat mapping-behavior
endpoint-independent [ acl
acl-number ]
The default mapping behavior is Address
and Port-Dependent Mapping.
Configuring NAT with DNS mapping
NAT with DNS mapping must operate together with NAT Server and NAT with ALG.
To configure NAT with DNS mapping:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A