Nat and Napt

Source: Internet
Author: User

Often hear the concept of internal IP and external IP, then what is the meaning of these two concepts.

As we all know, with the proliferation of Internet users, IPv4 's address is becoming more and more inadequate, so how to solve this problem, in order to alleviate the pressure of IPv4 address, people put forward NAT and NAPT solutions, to some extent, to alleviate the IPV4 address is not enough to bring the pressure.

NAT: "Network address translation".

1> concept

Generally speaking, the internal IP address is used in institutions and enterprises, and is generally 192.168.1.1~192.168.1.254. Then, when users want to communicate with the outside world, they need to use the external IP address provided by the ISP, which is the only address that is identified by a specialized organization.

NAT is a protocol that converts an internal IP address into an external IP address. When internal nodes to communicate with the external network, at the gateway, the internal IP address to replace the external IP address, so that the normal use of the Internet, NAT can enable multiple computers to share the Internet connection, this function is a good solution to the problem of public IP address shortage.

2> classification

Static NAP technology: The private IP address and external IP address of the internal network correspond to one by one, and a private IP address is converted to a public IP address only. With static transformations, you can implement an external network's access to certain devices in the internal network, such as servers.

Dynamic NAP technology: When the private IP address of the internal network is converted to an external IP address, the external IP address is randomly assigned to the internal private IP address.

NAPT: "Network address port conversion".

Mapping an internal IP address to a different port on an IP address of an external network is the conversion of the internal address + internal Port number to the external address + external port number, which enables many users to access the Internet at the same time.

Nat and NATP are generally implemented at the gateway, which is transparent to the user.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.