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

Printers Explained - Laser, Inkjet, Thermal, & Dot Matrix

hello everyone in this article we're going to talk about different types of printers now printers allow the ability to print copies of documents or photos onto paper from a computer now there are several different types of printers but the most common types that are used in homes and businesses are inkjet and laser printers and there are also a couple of less common printers such as thermal printers and dot matrix printers which we'll talk about later so let's first talk about inkjet printers now inkjet printers are the most common printers that are used in homes they are affordable and they produce photo quality results and they are enough to suit the needs of a typical home user now an inkjet printer works by the printhead moving back and forth across the paper during printing and during this process the printhead places ink on the paper in very tiny dots in fact these dots are so tiny that they are smaller in diameter than a human hair and as these dots are precisely pla

VLAN Explained

VLAN stands for virtual local area network a VLAN is a local area network where the computers servers and other network devices are logically connected regardless of their physical location so even if these devices are scattered in different places it wouldn't matter because a VLAN can logically group them into separate virtual networks and the purpose of a VLAN is for improved security traffic management and to make a network simpler so as an example let's say you have a three-story office building and in this building you have computers that belong to certain departments that are mixed in with computers that belong to other departments on the same floor so the red computers represents the accounting department the blue computers represent the shipping department and the green computers represent the support department now as you can see all these computers from these different departments are all connected to a switch so they are all on one segment on a local area network or