EasyManua.ls Logo

HPE FlexNetwork MSR Series - Page 180

HPE FlexNetwork MSR Series
554 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
166
Figure 67 Network diagram
Configuration procedure
# Specify IP addresses for the interfaces on the router. (Details not shown.)
# Enter interface view of GigabitEthernet 2/0/2.
<Router> system-view
[Router] interface gigabitethernet 2/0/2
# Configure NAT Server to allow external users to access the FTP server by using the address
202.38.1.1 and port 21.
[Router-GigabitEthernet2/0/2] nat server protocol tcp global 202.38.1.1 21 inside
10.110.10.3 ftp
# Configure NAT Server to allow external users to access the Web server 1 by using the address
202.38.1.1 and port 80.
[Router-GigabitEthernet2/0/2] nat server protocol tcp global 202.38.1.1 80 inside
10.110.10.1 http
# Configure NAT Server to allow external users to access the Web server 2 by using the address
202.38.1.1 and port 8080.
[Router-GigabitEthernet2/0/2] nat server protocol tcp global 202.38.1.1 8080 inside
10.110.10.2 http
# Configure NAT Server to allow external users to access the SMTP server by using the address
202.38.1.1 and port number defined by SMTP.
[Router-GigabitEthernet2/0/2] nat server protocol tcp global 202.38.1.1 smtp inside
10.110.10.4 smtp
[Router-GigabitEthernet2/0/2] quit
Verifying the configuration
# Verify that the host on the external network can access the internal servers by using the public
addresses. (Details not shown.)
# Display all NAT configuration and statistics.
[Router] display nat all
NAT internal server information:
Totally 4 internal servers.
Interface: GigabitEthernet2/0/2
Protocol: 6(TCP)
Global IP/port: 202.38.1.1/21
Local IP/port : 10.110.10.3/21
Config status : Active

Table of Contents

Other manuals for HPE FlexNetwork MSR Series

Related product manuals