engineerinjaipur
6,938 views
6 slides
Nov 14, 2014
Slide 1 of 6
1
2
3
4
5
6
About This Presentation
Understand NAT. Visit www.jaipurengineers.com
Size: 171.59 KB
Language: en
Added: Nov 14, 2014
Slides: 6 pages
Slide Content
What is NAT ? Network Address Translation – To understand NAT you must know that limitation of IP address. Theoretically, you could have 4,294,967,296 unique addresses (2 32 ). The actual number of available addresses is smaller (somewhere between 3.2 and 3.3 billion) because of the way that the addresses are separated into classes, and because some addresses are set aside for multicasting, testing or other special uses. With the explosion of the Internet and the increase in home networks and business networks, the number of available IP addresses is simply not enough. The obvious solution is to redesign the address format to allow for more possible addresses. This is being developed (called IPv6 ), but will take several years to implement because it requires modification of the entire infrastructure of the Internet . Source- http://computer.howstuffworks.com ; Wiki
This is where NAT comes to the rescue . Network Address Translation allows a single device, such as a router, to act as an agent between the Internet (or "public network") and a local (or "private") network. This means that only a single, unique IP address is required to represent an entire group of computers. So the shortage of IP addresses is only one reason to use NAT. Source- http://computer.howstuffworks.com ; Wiki
Example NAT is like the receptionist in a large office. Let's say you have left instructions with the receptionist not to forward any calls to you unless you request it. Later on, you call a potential client and leave a message for that client to call you back. You tell the receptionist that you are expecting a call from this client and to put her through . The client calls the main number to your office, which is the only number the client knows. When the client tells the receptionist that she is looking for you, the receptionist checks a lookup table that matches your name with your extension. The receptionist knows that you requested this call, and therefore forwards the caller to your extension. Source- http://computer.howstuffworks.com ; Wiki
The most common form of network translation involves a large private network using addresses in a private range (10.0.0.0 to 10.255.255.255, 172.16.0.0 to 172.31.255.255, or 192.168.0 0 to 192.168.255.255). The private addressing scheme works well for computers that only have to access resources inside the network, like workstations needing access to file servers and printers. Routers inside the private network can route traffic between private addresses with no trouble. However, to access resources outside the network, like the Internet, these computers have to have a public address in order for responses to their requests to return to them. This is where NAT comes into play. Internet requests that require Network Address Translation (NAT) are quite complex but happen so rapidly that the end user rarely knows it has occurred. A workstation inside a network makes a request to a computer on the Internet. Routers within the network recognize that the request is not for a resource inside the network, so they send the request to the firewall. The firewall sees the request from the computer with the internal IP. It then makes the same request to the Internet using its own public address, and returns the response from the Internet resource to the computer inside the private network. From the perspective of the resource on the Internet, it is sending information to the address of the firewall. From the perspective of the workstation, it appears that communication is directly with the site on the Internet. When NAT is used in this way, all users inside the private network access the Internet have the same public IP address when they use the Internet. That means only one public addresses is needed for hundreds or even thousands of users . Router manage NAT table ( global-to-local and local-to-global IP address mapping) to store public and private IP address, see below- Source- http://computer.howstuffworks.com ; Wiki
Developed by Cisco, Network Address Translation is used by a device (firewall, router or computer that sits between an internal network and the rest of the world. NAT has many forms and can work in several ways: Static NAT – Dynamic NAT - Overloading - Source- http://computer.howstuffworks.com ; Wiki
NAT in IPv6 Network address translation is not commonly used in IPv6 as one of its aims is to restore true host-to-host connectivity, NAT loopback is not commonly needed. Although still possible, the large addressing space of IPv6 obviates the need to conserve addresses and every device can be given a unique globally routable address. NAT loopback, when implemented, works as in IPv4 . Thanks for Watching Visit us at www.jaipurengineers.com Source- http://computer.howstuffworks.com ; Wiki