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

119
Ste
p
Command
Remarks
2. Configure a net-to-net mapping
for outbound static NAT.
nat static outbound net-to-net
local-start-address
local-end-address [ vpn-instance
local -name ] global
global-network { mask-length |
mask } [ vpn-instance
global-name ] [ acl acl-number
[ reversible ] ]
By default, no mappings exist.
If you specify the acl keyword, Nat
processes only packets matching
the permit statement in the ACL.
3. Return to system view.
quit N/A
4. Enter interface view.
interface interface-type
interface-number
N/A
5. Enable static NAT on the
interface.
nat static enable By default, static NAT is disabled.
Configuring inbound one-to-one static NAT
Configure inbound one-to-one static NAT for address translation between a private IP address and a
public IP address.
When the source IP address of a packet from the public network to the private network matches the
global-ip, the source IP address is translated to the local-ip.
When the destination IP address of a packet from the private network matches the local-ip, the
destination IP address is translated to the global-ip.
To configure inbound one-to-one static NAT:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure a one-to-one
mapping for inbound static
NAT.
nat static inbound global-ip
[ vpn-instance global-name ]
local-ip [ vpn-instance local-name ]
[ acl acl-number [ reversible ] ]
By default, no mappings exist.
If you specify the acl keyword, Nat
processes only packets matching
the permit statement in the ACL.
3. Return to system view.
quit N/A
4. Enter interface view.
interface interface-type
interface-number
N/A
5. Enable static NAT on the
interface.
nat static enable By default, static NAT is disabled.
Configuring inbound net-to-net static NAT
Configure inbound net-to-net static NAT for translation between a private network and a public network.
When the source IP address of a packet from the public network matches the external address pool,
the source IP address is translated into a private address in the internal address pool.
When the destination IP address of a packet from the private network matches the internal address
pool, the destination IP address is translated into a public address in the external address pool.
To configure inbound net-to-net static NAT: