F3215-HP Load Balancing Module Network Management Command Reference-6PW101
109
• Different address pools must not overlap.
• The address pools of group members must not overlap with each other or with other address pools.
• The number of addresses in all address pools and address groups cannot exceed a specific value.
The value varies with device models.
• An address pool or address group is not needed in the case of Easy IP where the interface's public
IP address is used as the translated IP address.
Examples
# Configure an address pool numbered 1 that contains addresses 202.110.10.10 to 202.110.10.15.
<Sysname> system-view
[Sysname] nat address-group 1 202.110.10.10 202.110.10.15
# Create address group 2 and add a group member that contains IP addresses 10.1.1.1 through 10.1.1.15
to it.
<Sysname> system-view
[Sysname] nat address-group 2
[Sysname-nat-address-group-2] address 10.1.1.1 10.1.1.15
Related commands
• address
• display nat address-group
nat dns-map
Use nat dns-map to map the domain name to the public network information about an internal server.
Use undo nat dns-map to remove a DNS mapping.
Syntax
nat dns-map domain domain-name protocol pro-type ip global-ip port global-port
undo nat dns-map domain domain-name
Views
System view
Default command level
2: System level
Parameters
domain domain-name: Specifies the domain name of an internal server. A domain name is a string
containing no more than 255 case-insensitive characters. It consists of several labels separated by dots
(.). Each label has no more than 63 characters that must begin and end with letters or digits. Dashes (-)
can also be included.
protocol pro-type: Specifies the protocol type used by the internal server, tcp or udp.
ip global-ip: Specifies the public IP address used by the internal server to provide services to the external
network.
port global-port: Specifies the port number used by the internal server to provide services to the external
network. The global-port argument is in the range of 1 to 65535.