Skip to main content

Network Address Translation (NAT)

What is NAT?

NAT stands for “Network Address Translation” it allows a host that does not have a valid registered IP address communicates with other hosts through the internet. NAT uses a valid registered IP address to represent the non-registered IP address. Non-registered IP address used inside a network that is known as “Private Address”. NAT operates on a router, usually connecting two networks together, and translates the non-register private addresses into registered legal public addresses before packets are forward to another network. NAT offers the dual functions of security and address conservation and is typically implemented in remote-access environments. It allows a single device, such as a router, to act as an agent between the public network or internet and private network or local network and a single unique IP address is required to represent an entire group of computers to anything outside their network.

NAT Addresses Types

Inside Addresses - It refers to the addresses which must be translated.

Outside Addresses - It refers to the addresses which are not in control of an organization.

Example for NAT

Inside Local Address

Inside the local network assigned an IP address to the host is known as Inside local address. These IP addresses are the private IP address and these inside hosts can be accessed from the inside network.

Inside Global Address

One or more inside local IP address represents to the outside world is known as inside global address. These inside hosts can able to access from the outside network.

Outside Local Address

After translation, the outside local address is the actual IP address of the destination host in the local network.

Outside Global Address

Before translation, the outside global address is the IP address of the outside destination host, where, the outside host can able access from the outside network.

Range of IP Address

1. Class A – 10.X.X.X (10.0.0.0 TO 10.255.255.255)

2. Class B – 172.16.X.X (172.16.0.0 to 172.31.255.255)

3. Class C - 192.168.X.X (192.168.0.0 to 192.168.255.255)

NAT Types

There are three types of NAT Configuration

  1. Static NAT
  2. Dynamic NAT
  3. Overloading NAT

Static NAT

A single private IP address is map with a single public address that is one to one mapping between the local and global addresses. This technique is generally use for web hosting. In this, users can also able to configure static address translation at a port level, and also use a remainder for other translations. This can be possible only if you were performing Port Address Translation (PAT). For example, if there are 1000 network devices are available which need access to the internet, then the organization needs to buy 1000 public IP addresses that will be very costly to buy.

Dynamic NAT

A private IP address is translate into a public IP address from the pool of IP address or interface IP address that is the users can establish dynamic mapping between the local and global addresses. Such that sets up a pool of possible inside global addresses and defines criteria for the set of inside local IP addresses whose traffic should be translated with NAT. For example, if there is a pool of 2 public IP addresses then only 2 private IP addresses can be translated at a given time. If 3rd private IP address wants to access the Internet then the packet will be dropped because of this the organization has to buy many global IP addresses to make a pool is also very costly to buy.

Overloading NAT with PAT

NAT overload uses PAT (Port Address Translation) this is a translation table entry containing the IP address and source/destination port information, which is called PAT or overloading. In this, many private IP addresses can be translate into a single public IP address and port numbers are use to identify the traffic (i.e. which traffic belongs to which address). It supports lots of inside local IP addresses with only a few inside global or publicly registered IP addresses. Instead of just translating the IP address, it also translates the port number.

Benefits of NAT

  • Conserves legally registered IP addresses
  • Eliminates address renumbering when a network evolves.
  • Provides privacy as the device IP address
  • Sending and receiving the traffic, will be hidden.

Drawbacks of NAT

  • Delays translation results in switching path
  • when NAT is enable certain applications will not function
  • Complicates tunneling protocols such as IPsec.

Application Layer Gateway (ALG)

ALG is an Application Layer Gateway (ALG). NAT performs translation service on any Transmission Control Protocol/User Datagram Protocol (TCP/UDP) traffic that does not carry source and/or destination IP addresses in the application data stream. These protocols include FTP, HTTP, SKINNY, H232, DNS, RAS, SIP, TFTP, telnet, Archie, finger, NTP, NFS, rlogin, rsh, rcp. Specific protocols that embed IP address information within the payload require the support of an Application Level Gateway (ALG).

NAT Software List

  • Internet Connection Sharing (ICS) – NAT & DHCP implementation for Windows desktop operating systems
  • IPFirewall (IPFW) - FreeBSD Native Packet Filter
  • IPFilter includes Solaris (Open) and NetBSD for Unix operating systems
  • Routing and Remote Access Service – Routing implementation for Windows server operating systems
  • WinGate – Third party implementation for Windows operating systems
  • NetFilter with IPTables and NFTables – Linux Packet Filter
  • Native Packet Filter (NPF) – NetBSD
  • Packet Filter (PF) – OpenBSD

Also learn about Integrated Services Digital Network (ISDN)

 

Comments

Popular posts from this blog

Virtual Private Network (VPN)

  What is Virtual Private Network (VPN)? A virtual private network (VPN) is a secure connection between two private networks over a public network (in other words, over the Internet). All the data that flows over the VPN is encrypted. So anyone who steals packets from the VPN will find them unintelligible; only the parties on either end of the VPN are able to decrypt the packets. VPN connections are often called tunnels. Because they provide an isolated pathway from one point to another through the Internet. The only way to gain meaningful access to a VPN tunnel is at either end. Example for VPN Connections VPNs are used for There are two common uses for VPNs: To provide remote workers with secure access to your company network: To do that, you set up a VPN on the router, and then provide your remote workers with the credentials necessary to access the VPN. The remote workers can run a software VPN client on their home computers or laptops to connect to

VERSION CONTROL TOOL (SVN)

VERSION CONTROL TOOL In Project development several team members will be available Each developers will be developing some components in project All the developers may not be available in same office/location Q-1) How to integrate all the developers code ? Q-2) How to track changes happening to source code ? For the above two problems, Version Control Tool is the solution Version Control Tool provides Storage Capacity to store our project source code Version Control Tool provides Monitored Access (Who/When/Why/What) There are several version control tools are available in the market ·         SVN (Subversion) ·         GIT HUB ·         Bit Bucket etc…   SVN SVN stands for Subversion SVN is an Opensource software SVN is a version control software SVN follows Centralized Architecture SVN Architecture ·         SVN Server ·         SVN Client SVN Server will be installed in one remote computer SVN Server setup will be taken care by Adminis

Motherboard

What is Motherboard? Motherboard If the processor is the brain of the computer, the motherboard is the heart of the computer. The motherboard is the main circuit board inside the computer and however, all the components and peripherals are attached to it. Therefore the most of the compute features like scalability and upgradeability depend on the motherboard. Computer Motherboard Components Components of Motherboard Key Assessable Parameters of Motherboard Form factor Chipset CPU Memory Audio Ports and Slots Headers and Connectors BIOS Form factor The root mean square value ratio to the average value ratio of the alternating current is called Form Factor and it is the ratio of the root mean square value to the average value is also known as the absolute value of the waveform. Measurements of Form Factor, Form Factor Formula Where RMS is Root Mean Square Value, AV is Average Value Ir.m.s is the root main square value of current, therefore Iav are