Load Sharing Nat Server Configuration Example - HPE FlexNetwork HSR6800 Configuration Manual

Comware 7 layer 3, ip services
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

Load sharing NAT Server configuration example

Network requirements
As shown in
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 66 Network diagram
10.110.10.1/16
FTP server 1
FTP server 2
10.110.10.2/16
Configuration procedure
# Specify IP addresses for the interfaces on the router. (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:
Totally 1 NAT server groups.
Group Number
0
NAT internal server information:
Figure
66, three FTP servers are in the intranet to provide FTP services for external
GE2/1/1
10.110.10.10/16
FTP server 3
10.110.10.3/16
Inside IP
10.110.10.1
10.110.10.2
10.110.10.3
GE2/1/2
202.38.1.1/16
Router
Port
Weight
21
100
21
100
21
100
160
Internet
Host

Advertisement

Table of Contents
loading

Table of Contents