R3204P16-HP Load Balancing Module Network Management Command Reference-6PW101
92
nat static net-to-net
Syntax
nat static net-to-net local-network global-network { netmask-length | netmask }
undo nat static net-to-net local-network global-network { netmask-length | netmask }
View
System view
Default level
2: System level
Parameters
local-start-address local-end-address: Private network address range, which contains at most 255 IP
addresses.
local-network: Private network address.
global-network: Public network address.
mask-length: Length of the network mask.
mask: Network mask.
Description
Use the nat static net-to-net command to configure a net-to-net static NAT mapping.
Use the undo nat static net-to-net command to remove a net-to-net static NAT mapping.
Related commands: display nat static.
Examples
# Configure a bidirectional static NAT mapping between private network address 192.168.1.0/24 and
public network address 2.2.2.0/24.
<Sysname> system-view
[Sysname] nat static net-to-net 192.168.1.0 2.2.2.0 24