Configuring Nat With Dns Mapping; Configuring Nat Hairpin - HPE FlexNetwork HSR6800 Configuration Manual

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

Advertisement

Step
3.
Add a public IP address
range to the NAT
address group.
4.
Configure the port range
for the public IP
addresses.
5.
Configure port block
parameters.
6.
Return to system view.
7.
Enter interface view.
8.
Configure DS-Lite
NAT444.
9.
Return to system view.
10. (Optional.) Configure a
PAT mapping mode.

Configuring NAT with DNS mapping

NAT with DNS mapping must operate together with NAT Server and NAT with ALG.
To configure NAT with DNS mapping:
Step
1.
Enter system view.
2.
Configure a DNS
mapping for NAT.

Configuring NAT hairpin

Configure NAT hairpin on the interface connected to the internal network. NAT hairpin supports P2P
mode and C/S mode.
To configure the P2P mode, you must configure outbound PAT on the interface connected to the
external network and enable the EIM mapping mode. Internal hosts first register their public
addresses to an external server. Then, the hosts communicate with each other by using the
registered IP addresses.
Command
address start-address
end-address
port-range start-port-number
end-port-number
port-block block-size
block-size
[ extended-block-number
extended-block-number ]
quit
interface interface-type
interface-number
nat outbound ds-lite-b4
{ ipv6-acl-number | name
ipv6-acl-name } address-group
{ group-id | name group-name }
[ disable ]
quit
nat mapping-behavior
endpoint-independent [ acl
{ ipv4-acl-number | name
ipv4-acl-name } ]
Command
system-view
nat dns-map domain domain-name
protocol pro-type { interface
interface-type interface-number | ip
global-ip } port global-port
132
Remarks
By default, no public IP address ranges
exist.
You can add multiple public IP address
ranges to an address group, but they
cannot overlap.
By default, the port range is 1 to 65535.
The configuration takes effect only on
PAT translation mode.
By default, no port block parameters
exist.
The configuration takes effect only on
PAT translation mode.
N/A
N/A
By default, DS-Lite NAT444 is not
configured.
N/A
The default mapping mode is Address
and Port-Dependent Mapping.
Remarks
N/A
By default, no DNS mapping for NAT
exists.
You can configure multiple DNS
mappings for NAT.

Advertisement

Table of Contents
loading

Table of Contents