2039

end-ip: End address of an internal IP address range. The end address must not be smaller than the start address.

Global: Specifies an external network address.

global-net-address: External network address.

Mask: External network mask.

mask-length: Length of the external network mask, in the range of 1 to 32.

Description Use the nat static command to configure static NAT between an internal IP address and an external IP address.

Use the undo nat static command to remove the configuration.

There are two ways to configure static NAT between an internal IP address and an external IP address:

One-to-one NAT: An internal IP address is translated into an external IP address.

Net-to-net NAT: The IP addresses of an internal network segment are mapped with the IP addresses of an external network segment.

Note that when configuring net-to-net NAT, you must ensure that internal IP addresses fall in one network segment when ANDed with the external network mask.

Example # Configure static NAT between 192.168.1.1 and 2.2.2.2.

<Sysname> system-view

[Sysname] nat static 192.168.1.1 2.2.2.2

#Configure static NAT between the internal segment ranging 192.168.1.1 to 192.168.1.100 and the external segment 172.16.0/24.

<Sysname> system-view

[Sysname] nat static net-to-net 192.168.1.1 192.168.1.100 global 172

.16.0.0 255.255.255.0

reset nat session

Syntax reset nat session

View User view

Parameter None

Description Use the reset nat session command to clear the address translation table and release the memory for storing the table.

Example # Clear the address translation table.

Page 2039
Image 2039
3Com MSR 50, MSR 30 manual Reset nat session, Syntax reset nat session, 2039