Command Reference Guide
228 ● nat static inside 3Com Router 5000 Family and Router 6000 Family
Command Reference
nat static inside
Purpose Use the nat static inside command to create a static net-to-net NAT entry.
When the router translates addresses based on this type of NAT entry, it translates the
network address portion without touching the host address portion.
Use the undo nat static inside command to delete a static net-to-net NAT
entry.
Syntax nat static inside [ vpn-instance vpn-instance-name ] ip
inside-start-address inside-end-address global ip global-ip { mask |
prefix-length }nat static net-to-netinside ip inside-start-address
inside-end-address global global-address mask
undo nat static inside [ vpn-instance vpn-instance-name ] ip
inside-start-address inside-end-address global ip global-ip { mask |
prefix-length }
Parameters vpn-instance
vpn-instance-name
Virtual route forwarding instance of the VPN to which
the internal host belongs. It is a character string in the
length of 1 to 19 characters.
inside-start-address
Start address of an internal-address range.
inside-end-address
End address of the internal-address range.
global-address
Public network segment address.
mask
Subnet mask of the public network segment address.
Default By default, no static net-to-net NAT entry is configured.
Example Configure a static net-to-net NAT entry, allowing the addresses in the range 10.1.1.1
to 10.1.1.100 to be translated into addresses on the segment 211.1.1.0 with their
host addresses unchanged.
[3Com] nat static inside 10.1.1.1 10.1.1.100 global 211.1.1.0
255.255.255.0
View This command can be used in the following views:
■ System view
Description The global-address can be any address. Then it will be calculated by combining with
the mask and the length of the mask.
The static NAT entries configured using the nat static inside command must
not conflict with those configured using the
nat static command.