Introduction to Network Layer NAT and PAT

EloquentRocket avatar
EloquentRocket
·
·
Download

Start Quiz

Study Flashcards

10 Questions

What is the purpose of NAT?

To solve the problem of IP depletion by translating private addresses to global addresses

What type of mapping does Static NAT allow?

One-to-One mapping

Which type of NAT provides a degree of security by hiding the inside IP addresses from the outside world?

Static NAT

In Dynamic NAT, how are unregistered private IP addresses mapped to registered public IP addresses?

Many-to-One mapping

What is the benefit of Dynamic NAT over Static NAT in terms of address configuration?

Dynamic NAT does not require manual configuration for mapping private to public addresses

What happens if all inside global IP addresses are exhausted in a network?

New requests from new hosts will be discarded

What is the purpose of a timeout value in Dynamic NAT?

To release unused IP addresses

What is the main function of PAT (Port Address Translation)?

Mapping multiple private IPs to a single public IP

What is the range of port numbers used in PAT?

(0 - 65535)

How does PAT enable multiple users to connect to the Internet with only one real global IP address?

By assigning different port numbers to each connection

Study Notes

Network Address Translation (NAT)

  • NAT translates private addresses to global addresses to solve the problem of IP depletion.
  • Private IP addresses are:
  • Class A: 10.0.0.0 – 10.255.255.255
  • Class B: 172.16.0.0 – 172.31.255.255
  • Class C: 192.168.0.0 – 192.168.255.255

NAT Addresses

  • Inside local addresses are assigned to inside devices and are not advertised to the outside (Private IP address of the host).
  • Inside global addresses are the addresses by which inside devices are known to the outside (Public IP address of the host).

NAT Concept

  • Inside Local (Private Address) is mapped to Inside Global (Registered Address).

Types of NAT

  • Static NAT: One-to-one mapping between local and global addresses, requiring one registered public IP address for every host on the network.
  • Dynamic NAT: Mapping unregistered private IP addresses to registered public IP addresses from a pool of available registered IP addresses.
  • PAT (Port Address Translation): Mapping multiple unregistered private IP addresses to a single registered public IP address, using different port numbers.

PAT (Port Address Translation)

  • Uses 16-bit port numbers (0 – 65535) to map multiple private IP addresses to a single public IP address.
  • Well-known ports: 0 – 1023
  • User-defined ports: 1024 – 65535
  • Allows hundreds or thousands of users to connect to the Internet using only one real global IP address.

This quiz covers the basics of Network Address Translation (NAT) in the network layer. It includes definitions, purposes, private IP addresses, and NAT addresses such as inside local addresses. Prepared by Dr. Mohammed A. Moharrum.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free
Use Quizgecko on...
Browser
Browser