R2511-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V5)
125
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type interface-number N/A
3. Configure NAPT by associating
an ACL with an IP address pool
on the outbound interface for
translating both IP address and
port number.
nat outbound [ acl-number ]
[ address-group group-number
[ vpn-instance vpn-instance-name ] ]
[ track vrrp virtual-router-id ]
N/A
4. Return to system view.
quit N/A
5. Configure the NAT mapping
behavior mode.
nat mapping-behavior
endpoint-independent [ acl acl-number ]
Optional.
Address and
Port-Dependent Mapping
by default.
Configuring an internal server
To configure an internal server, you need to map an external IP address and port number to the internal
server. This is done through executing the nat server command on an interface.
Internal server configurations include external network information (external IP address global-address
and external port number global-port), internal network information (internal IP address local-address
and internal port number local-port), and internal server protocol type. According to different
internal/external network information configurations, internal servers can be classified into common
internal servers and load sharing internal servers.
Both internal servers and their external IP addresses can support MPLS L3VPN. If an internal server
belongs to an MPLS L3VPN, you also need to specify the vpn-instance-name argument. Without this
argument specified, the internal server does not belong to any VPN.
Configuring a common internal server
After mapping the internal IP address/port number (local-address and local-port) of a common internal
server to an external IP address/port number (global-address and global-port), hosts in external
networks can access the server located in the internal network.
The device supports using the interface address as the external address of an internal server, which is the
Easy IP feature. If you want to specify an interface, the interface must be a loopback interface and must
already exist.
If you configure an internal server using Easy IP but do not configure an IP address for the interface, the
internal server configuration does not take effect.
To configure a common internal server:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type interface-number N/A










