HPE FlexNetwork HSR6800 Configuration Manual page 176

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

Advertisement

[Router-GigabitEthernet2/1/2] quit
# Configure two DNS mapping entries by mapping the domain name www.server.com of the Web
server to 202.38.1.2, and ftp.server.com of the FTP server to 202.38.1.2.
[Router] nat dns-map domain www.server.com protocol tcp ip 202.38.1.2 port http
[Router] nat dns-map domain ftp.server.com protocol tcp ip 202.38.1.2 port ftp
[Router] quit
Verifying the configuration
# Verify that both internal and external hosts can access the internal servers by using domain names.
(Details not shown.)
# Display all NAT configuration and statistics.
[Router] display nat all
NAT outbound information:
Totally 1 NAT outbound rules.
Interface: GigabitEthernet2/1/2
ACL: ---
Address group ID: ---
Port-preserved: N
Config status: Active
NAT internal server information:
Totally 2 internal servers.
Interface: GigabitEthernet2/1/2
Protocol: 6(TCP)
Global IP/port: 202.38.1.2/21
Local IP/port : 10.110.10.2/21
Config status : Active
Interface: GigabitEthernet2/1/2
Protocol: 6(TCP)
Global IP/port: 202.38.1.2/80
Local IP/port : 10.110.10.1/80
Config status : Active
NAT DNS mapping information:
Totally 2 NAT DNS mappings.
Domain name: ftp.server.com
Global IP
Global port: 21
Protocol
Config status: Active
Domain name: www.server.com
Global IP
Global port: 80
Protocol
Config status: Active
NAT logging:
NO-PAT: N
: 202.38.1.2
: TCP(6)
: 202.38.1.2
: TCP(6)
Reversible: N
163

Advertisement

Table of Contents
loading

Table of Contents