Which Method Is Used By A Pat-Enabled Router To Send Incoming Packets To The Correct Inside Hosts?
Which Method Is Used By A Pat-Enabled Router To Send Incoming Packets To The Correct Inside Hosts?
Share
Which Method Is Used By A Pat-Enabled Router To Send Incoming Packets To The Correct Inside Hosts?
TCP or UDP port numbers are used by a Pat-enabled router to send incoming packets to the correct inside hosts. Today, let us study what is the pat enabled router, TCP, and UDP port numbers.
The term PAT stands for port address translation that can be commonly referred to as the Pat. The Pat is the third type of Nat. It can also be called the Nat overload. We can able to nat many inside local Ip’s into the one single global.
In simple words, we can say that we can able to nat the entire subnet of all the private IP addresses and we combine all them through a single public IP address.
We need to identify the inside nat and the outside nat interface, and the router should also know where the outer network, internal network, and the internetwork.
We have some of the primary differences among them let us know them in detail. Here, we can able to use one public IP for all the Nat translations that are present. For this, we need to take the entire subnet or several subnets and then we need to put them all behind a single public IP address.
Here, the pat can able to accomplish this by simply using the inside IP and by the inside port number. When we create the session, we get to know the IP address along with the port number.
Here the pat will take the information and it will map the unique port number that is present on the inside global IP.
Let us take an example to understand this concept in detail. For suppose, if we have the IP address called 192.168.1.2, now it will create the session. Now, this will be going to show some of the traffic from the port with the number 10005. Hereby using the pact the IP address like 201.2.2.1, it going to take the internal IP along with the internal port number. After this, it’s going to map them with port 12.
Now, all these can be called random ports. as from the above example, the port number will be able to identify the inside port numbers along with the inside IP address.
For suppose, for the same time if any other IP like 192.168.1.3 will also initiate the session into the device somewhere that is present on the internet. Now, it will start the source traffic from port number 30 1002, now this IP will be going to be mapped to the same public IP address like 201.2.21. In a similar way, we can able to map around more than 60000 IP addresses in the inside IP to the single public IP address.
Similar to the dynamic the configuration can be started with any command that we want, as we said earlier we already know that the single IP can able to handle the 60000 translations. Here we do not need to use a single public IP if we have many public IPs.