Skip to main content

NAT Explained - Network Address Translation

nat stands for network address translation and this is a service that is used in routers and its purpose is to translate a set of IP addresses to another set of IP addresses and the reason for having the nat service is to help preserve the limited amount of IP version for public IP addresses that we have available around the world when the IP version 4 address was created engineers didn't realize how big the internet will become because even though there were over 4 billion IP version 4 addresses available the engineers thought that that would be enough but obviously they were wrong so in order to prevent a shortage of public IP version 4 addresses engineers developed private IP addresses and network address translation now there are two different types of IP version 4 addresses there's public and there is private public IP addresses are publicly registered on the Internet you have to have a public IP address if you want to go on the internet and there are approximately 4 billion public IP addresses available so they are limited now private IP addresses are different private IP addresses are not publicly registered so you cannot directly access the internet with a private IP private IP addresses are only used internally such as inside a home or business they are not used out on the public Internet and your router is what assigns your internal devices a private IP so for example most homes and businesses are not going to have just one device that needs internet access chances are that they are going to have multiple devices that need access to the Internet so those devices need a public IP address if they want to access the Internet now you could contact your internet service provider and ask them for these additional public IP addresses for all of your devices but that's going to be more expensive unnecessary and more importantly it would also be a waste of public IP addresses and let's face it if every device in the world had their own public IP address we would have ran out of public IP addresses already so instead we can have our router assigned the devices inside our home or business private IP addresses and when our devices need to access the Internet their private IP address will be translated by NAT in the router to the one public IP address that we have been given so again this is what NAT does it translates a set of IP addresses to another set of IP addresses so not only does it translate private to public but also translates public to private because if a computer out on the internet wants to communicate with a computer on this private network then the public IP address needs to be translated by net to the private IP address for that computer now in the future we won't need NAT or private IP addresses and this is because of the new generation of an IP address called IP version 6 with IP version 6 every single device in the world will have its own public IP address so there is no need for IP address translation and this is because IP version 6 is able to produce over 340 undecillion IP addresses so that's the number 340 with 36 digits after it so with a number that huge we will never run out of IP addresses

Comments

Popular posts from this blog

Port Forwarding Explained

what is port forwarding now maybe you've heard about it but you weren't exactly sure what it was or how it works so basically port forwarding allows computers over the Internet to connect to a specific computer or service within a private network it's basically making your computer accessible over the Internet even though you're behind a router so for example let's say a friend of yours at their home wants to remotely control your computer at your home using a service such as remote desktop connection now remote desktop connection is a service built into Microsoft Windows that enables you to connect to another computer running Microsoft Windows and then once you're connected to the remote computer you can use that computers programs and files just as if you were sitting in front of it so now your friend is ready to connect to your computer so we starts up the remote desktop connection and sends the request to your public IP address with a specific port number no...

32 bit vs 64 bit

computer hardware and software can come in 32 or 64-bit versions the difference between a 32-bit and a 64-bit is the way that it handles memory the bit size refers to the memory that it can address a 32-bit system can reference 2 to the 32nd power bytes of memory which equals to about 4 gigabytes however a 64-bit system can reference 2 to the 64th power bytes of memory which equals to about 16 exabytes which is 4 billion times more memory than a 32-bit now that number is so huge that it's virtually unlimited because we will never need to use that amount of memory so in a computer in order for data or a program to run it needs to be loaded into Ram first so the data is stored on the slower hard drive and from the hard drive it's loaded into the faster Ram and once it's loaded into Ram the CPU can now access the data or run the program now in a 32-bit system since the maximum amount of memory that it can support is 4 gigabytes it may not be enough to hold all the data that th...