Network Address Translation (NAT) connects two networks and map the private addresses into public addresses. Public addresses are assigned by The Internet Corporation for Assigned Names and Numbers (ICANN) and consist of class-based network IDs or blocks of CIDR-based addresses. Whereas private addresses are internal IP address that applicable only inside the network. Only one address (public address) can be configured in a NAT to represent the entire network (private addresses) to the outside world. Moreover, it can be used as a tool for network migration and merging, server load sharing, virtual server creation, and so on purposes.
Types of NAT include:
- Static NAT – A local address is mapped to a global address, and there will be a one-to-one relationship. It is useful when hosts require a consistent address that must be accessed from the Internet..
- Dynamic NAT –allows unregistered private IP address to be translated into registered public IP address from a pool of public IP addresses