What are the different types of NAT in computer networks?

Computer NetworkInternetMCA

Network Address Translation (NAT) is used to convert a private IP address into a public IP address and also a public IP address into private IP address. We use NAT due to the shortage of IP addresses.

IP Version 4 is a 32- bit address and it has almost 4.3 billion IP addresses, but the population of the world is much higher and it is approximately 7.8 billion as of the latest reports of June 2020.

Most of them use multiple gadgets and devices like smartphones, laptops, tablets, and many more for accessing the internet for various needs. All these devices need an IP address.

So, 4.3 billion of IP addresses is not sufficient for more than 7.8 billion of people using , that is the reason why we are using NAT. NAT is used to convert a private IP address onto public and public IP address into private.

Types of NAT

The types of Network Address Translation (NAT) are explained below −

Static NAT

It is otherwise called balanced NAT. In this sort of NAT, just the IP addresses and the header checksum are changed among the general organization addresses.

These are actualized for interconnection of two particular IP networks having contrary tending to.

STATIC NAT is ONE to ONE NAT. This means in the local area network side and outside network side we need an equal number of IP addresses to translate. Due to that reason this is a bit expensive because we need more Public IP addresses.

Keep in mind Public IP addresses are always expensive. In this example 192.168.4.1 always translates to 225.20.120.11.

The diagram given below is for the Static NAT −

Dynamic NAT

In this kind of NAT, planning of IP from an unregistered private organization is finished with the single IP address of the enrolled network from the class of enlisted IP addresses.

Dynamic NAT means we have a Pool of IP addresses in the outside list. So which IP addresses are Free in the outside list which will associate to LAN side IP first.

This example 192.168.4.1 from Local will check which Public IP address is from the pool.

If First IP free then it translates to First IP. If the first IP is already associated with any other local side IP, it will check the next available IP.

Suppose there is no IP available from the Public IP pool for translating Private IP addresses. Then, that traffic will drop by Router or Firewall.

The diagram given below depicts Dynamic NAT −

Overloading NAT

It is additionally a sort of Dynamic NAT which is likewise alluded to as one-to-numerous NAT.

In this sort of NAT, the bundles going in the organization from the private organization to a public organization implies the Internet will have a modification in the source address of the information parcel.

Moreover, when the parcels are returned from the public organization to the private organization they will have an adjustment in the objective IP addresses.

Overlapping NAT

Sometimes in a systems administration framework, the enlisted IPs utilized by the inward organization are likewise being used by another organization and are enrolled IP's of that organization.

Consequently, for this situation, the switch keeps a query table with itself so it can catch such cases and can trade them with the extraordinary, enrolled IP addresses.

raja
Published on 15-Sep-2021 08:02:47
Advertisements