0% found this document useful (0 votes)
105 views8 pages

Networking - Lab - Report - 5 Sakib

networking report 5
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
105 views8 pages

Networking - Lab - Report - 5 Sakib

networking report 5
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Green University of Bangladesh

Department of Computer Science


and Engineering(CSE)

Semester: (Spring, Year:2024), B.Sc. in CSE

Lab Report No:5


Course Title :
Networking Lab
Course Code : CSE
312 Section
: 213 D8
Lab Report Name: Configuration of Static and
Dynamic Routing.Name

Lab Date : 20/05/2024


Submit Date : 9/06/2024
Course
Name ID
01 Md Sakib Hasan 201002208

Teacher’s Name : Rabea Khatun(Lecturer Dept.of CSE)


1
0.1 TITLE : Configuration of NAT on the router
(NAT inside source) .

0.2 Introduction:
Network Address Translation (NAT) is a process in which one or more
local IP ad- dress is translated into one or more Global IP address and
vice versa in order to pro- vide Internet access to the local hosts. Also, it
does the translation of port numbers i.e. masks the port number of the
host with another port number, in the packet that will be routed to the
destination. It then makes the corresponding entries of IP address and
port number in the NAT table. NAT generally operates on a router or
firewall.
Types of NAT
Static NAT: In this type we manually map each inside local IP address
with inside global IP address. Since this type uses one to one mapping we
need exactly same num- ber of IP address on both sides.
Dynamic NAT: In this type we create a pool of inside global IP addresses
and let the NAT device to map inside local IP address with the available
outside global IP address from the pool automatically.
PAT: In this type a single inside global IP address is mapped with multiple
inside local IP addresses using the source port address. This is also known
as PAT (Port Address Translation) or NAT over load.

0.3 Methodology:
• Inside local address – An IP address that is assigned to a host on the
Inside (lo- cal) network. The address is probably not an IP address
assigned by the service provider i.e., these are private IP addresses.
This is the inside host seen from the inside network.

• Inside global address – IP address that represents one or more inside


local IP ad- dresses to the outside world. This is the inside host as
seen from the outside net- work.

• Outside local address – This is the actual IP address of the


destination host in the local network after translation.

• Outside global address – This is the outside host as seen from the
outside net- work. It is the IP address of the outside destination
host before translation.
0.4 Problem Analysis:
• Generally, the border router is configured for NAT i.e the router
which has one interface in the local (inside) network and one
interface in the global (outside) network.

• When a packet traverse outside the local (inside) network, then


NAT converts that local (private) IP address to a global (public) IP
address.

2
• When a packet enters the local network, the global (public) IP
address is con- verted to a local (private) IP address.

• If NAT runs out of addresses, i.e., no address is left in the pool


configured then the packets will be dropped and an Internet Control
Message Protocol (ICMP) host unreachable packet to the destination
is sent.

0.5 Implementation:
Routing:

Figure 1: NAT configuration

Figure 2
3
Figure 3

0.6 Output:

Figure 4: Output

0.7 Conclusion:
NAT inside global configuration translates private IP addresses to globally
unique pub- lic IP addresses, enabling devices within a private network to
access external networks like the internet. This process ensures internal
network security and efficient use of public IP addresses.
4

You might also like