R0106-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V7)
154
Responder->Initiator: 5 packets 420 bytes
Total sessions found: 1
Load sharing NAT Server configuration example
Network requirements
As shown in Figure 63, three FTP servers are in the intranet to provide FTP services for external users.
Configure NAT so that these external users use the address 202.38.1.1/16 to access the servers and the
three FTP servers implement load sharing.
Figure 63 Network diagram
Configuration procedure
# Specify IP addresses for the interfaces. (Details not shown.)
# Create NAT Server group 0, and add members to the group.
<Router> system-view
[Router] nat server-group 0
[Router-nat-server-group-0] inside ip 10.110.10.1 port 21
[Router-nat-server-group-0] inside ip 10.110.10.2 port 21
[Router-nat-server-group-0] inside ip 10.110.10.3 port 21
[Router-nat-server-group-0] quit
# Associate NAT Server group 0 with GigabitEthernet 2/1/2 so that servers in the server group can
provide FTP services.
[Router] interface gigabitethernet 2/1/2
[Router-GigabitEthernet2/1/2] nat server protocol tcp global 202.38.1.1 ftp inside
server-group 0
[Router-GigabitEthernet2/1/2] quit
Verifying the configuration
# Verify that external hosts can access the internal FTP server group. (Details not shown.)
# Display all NAT configuration and statistics.
[Router] display nat all
NAT server group information:
There are 1 NAT server groups.
Group Number Inside IP Port Weight
FTP server 2
10.110.10.2/16
FTP server 1
10.110.10.1/16
FTP server 3
10.110.10.3/16
Host
Internet
GE2/1/1
10.110.10.10/16
GE2/1/2
202.38.1.1/16
Router