Configuring Inbound One-To-One Static Nat; Configuring Inbound Net-To-Net Static Nat - HPE FlexNetwork HSR6800 Configuration Manual

Comware 7 layer 3, ip services
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

Configuring inbound one-to-one static NAT

For address translation from a public IP address to a private IP address, configure inbound
one-to-one static NAT.
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 into the local-ip.
When the destination IP address of a packet from the private network to the public network
matches the local-ip, the destination IP address is translated into the global-ip.
To configure inbound one-to-one static NAT:
Step
1.
Enter system view.
2.
Configure a one-to-one
mapping for inbound static
NAT.
3.
Return to system view.
4.
Enter interface view.
5.
Enable static NAT on the
interface.

Configuring inbound net-to-net static NAT

For address translation from a public network to a private network, configure inbound net-to-net
static NAT.
When the source IP address of a packet from the public network matches the public address
range, the source IP address is translated into a private address in the private address range.
When the destination IP address of a packet from the private network matches the private
address range, the destination IP address is translated into a public address in the public
address range.
To configure inbound net-to-net static NAT:
Step
1.
Enter system view.
2.
Configure a net-to-net
mapping for inbound static
NAT.
3.
Return to system view.
Command
system-view
nat static inbound global-ip
[ vpn-instance
global-vpn-instance-name ]
local-ip [ vpn-instance
local-vpn-instance-name ] [ acl
{ ipv4-acl-number | name
ipv4-acl-name } [ reversible ] ]
[ disable ]
quit
interface interface-type
interface-number
nat static enable
Command
system-view
nat static inbound net-to-net
global-start-address
global-end-address
[ vpn-instance
global-vpn-instance-name ] local
local-network { mask-length |
mask } [ vpn-instance
local-vpn-instance-name ] [ acl
{ ipv4-acl-number | name
ipv4-acl-name } [ reversible ] ]
[ disable ]
quit
123
Remarks
N/A
By default, no mappings exist.
If you specify the acl keyword,
NAT processes only packets
permitted by the ACL.
N/A
N/A
By default, static NAT is disabled.
Remarks
N/A
By default, no mappings exist.
If you specify the acl keyword,
NAT processes only packets
permitted by the ACL.
N/A

Advertisement

Table of Contents
loading

Table of Contents