HPE FlexNetwork MSR Series Comware 7 Layer 3 - Ip Services Configuration Manuals page 193

Table of Contents

Advertisement

[Router-acl-ipv4-basic-2000] quit
# Configure outbound dynamic PAT with Easy IP on interface GigabitEthernet 2/0/2. The IP address
of GigabitEthernet 2/0/2 is used as the public address for the source address translation of the
packets from internal to external.
[Router] interface gigabitethernet 2/0/2
[Router-GigabitEthernet2/0/2] nat outbound 2000
[Router-GigabitEthernet2/0/2] quit
# Configure the Endpoint-Independent Mapping mode for PAT. For packets with the same source
address and port number and permitted by ACL 2000, the source address and port number are
translated to the same public address and port number.
[Router] nat mapping-behavior endpoint-independent acl 2000
# Enable NAT hairpin on interface GigabitEthernet 2/0/1.
[Router] interface gigabitethernet 2/0/1
[Router-GigabitEthernet2/0/1] nat hairpin enable
[Router-GigabitEthernet2/0/1] quit
Verifying the configuration
# Verify that Host A, Host B, and Host C can access each other after they register their IP addresses
and port numbers to the external server. (Details not shown.)
# Display all NAT configuration and statistics.
[Router] display nat all
NAT outbound information:
Totally 1 NAT outbound rules.
Interface: GigabitEthernet2/0/2
ACL: 2000
NO-PAT: N
Config status: Active
NAT logging:
Log enable
Flow-begin
Flow-end
Flow-active
Port-block-assign
Port-block-withdraw : Disabled
Alarm
NAT hairpinning:
Totally 1 interfaces enabled with NAT hairpinning.
Interface: GigabitEthernet2/0/1
Config status: Active
NAT mapping behavior:
Mapping mode : Endpoint-Independent
ACL
Config status: Active
NAT ALG:
DNS
Address group: ---
Reversible: N
: Disabled
: Disabled
: Disabled
: Disabled
: Disabled
: Disabled
: 2000
: Enabled
Port-preserved: N
179

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FlexNetwork MSR Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents