No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

NE40E V800R010C00 Feature Description - NAT and IPv6 Transition 01

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Hairpin Scenario

Hairpin Scenario

Scenario Description

The hairpin scenario is also called NAT loopback, in which two hosts or servers connected to the same NAT device can access each other using a mapped public IP address.

Scenario Example

  • Gateway address: 192.168.1.1/24
  • Host 1 address: 192.168.1.5/24
  • Host 2 address: 192.168.1.7/24
  • Public IP address assigned by the gateway: 120.10.10.1/24
  • P2P program P1 run on host 1: private port 23456 mapped to public port 11111
  • P2P program P2 run on host 2: private port 23456 mapped to public port 22222

If a NAT device supports the hairpin scenario, program P1 can access program P2 through 120.10.10.1:22222. Program P2 also accesses program P1 through 120.10.10.1:11111.

Precautions

  • The hairpin function automatically takes effect (without configuration) when NAT traffic distribution is configured on an inbound interface.
  • The 3-tuple NAT mode must be configured if the public IP address and port number are dynamically assigned to a host in the hairpin scenario.
  • Dual NAT must be configured if hosts to access each other are connected to different NAT devices in the hairpin scenario.
  • The hairpin scenario does not involve mutual access traffic using private IP addresses and without being processed by NAT.
Download
Updated: 2018-07-04

Document ID: EDOC1100027155

Views: 19649

Downloads: 67

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next