Lab Report - 7 - Edited

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Lab Report

Topic: Configuration of Dynamic NAT


Course Title: Computer Networks.
Course Code: CSE 3204
Submitted To
Dr. Fernaz Narin Nur
Department of CSE (Associate Professor)
Notre Dame University Bangladesh
Submitted By
George Biswas
ID NO: 212120001
Batch: CSE –16th
Trimester: Fall (2023)
jjbbjj
Submission on 17th September 2023
pg. 1
Title: Network Address Translation is used for the translation of private IP addresses
into public IP addresses while accessing the internet. NAT generally operates on a
router or firewall
Objective: In this type of NAT, multiple private IP addresses are mapped to a pool
of public IP addresses. It is used when we know the number of fixed users who want to
access the Internet at a given point in time.
Example: If we have 4 public IP address in a pool then at a time, only 4 users private
IP address gets translated into public address.
The private IP who have a request for the translation first will get translated first (like
First Come First Serve). If all the IP addresses in the pool are busy and a request for
translation is received, then the packets will be dropped.
Tools:
1.Software:
 Cisco Packet Tracer (8.2.1)
2. Tools:
 Two Routers
 Three PC
 Wire
 One switch
 One server
pg. 2
Implementation:
Step-1: Create Topology

Step-2: Configure IP Address to Router 1 and Router 2 and :


Device Interface IP Address Subnet Mask
Router0 Serail2/0 200.0.0.1 255.255.255.248
Fastethernet0/0 192.168.1.1 255.255.255.0
Router1 Serial2/0 200.0.0.2 255.255.255.248
Fastethernet0/0 10.0.0.1 255.0.0.0

pg. 3
Step-3: Assign IP Address to all the PCs also assign gateway address to all PCs
and server :
Device IP Address Subnet Mask Default Gateway
PC0 192.168.1.2 255.255.255.0 192.168.1.1
PC1 192.168.1.3 255.255.255.0 192.168.1.1
PC2 192.168.1.4 255.255.255.0 192.168.1.1
Server 10.0.0.254 255.0.0.0 10.0.0.1

Step-4: Configure Command :


Router-0 Configure Command:
Router0>en
Router0#conf t
Router0(Config)#int se2/0
Router0(config-if)# ip address200.0.0.1 255.255.255.248
Router0(config-if)# Clock rate 64000
Router0(config-if)# no sh
Router0(config-if)#exit
Router0(Config)#ip route 0.0.0.0 0.0.0.0 s2/0
Router0(Config)#int fa 0/0
Router0(config-if)# ip nat inside
Router0(config-if)# int se2/0
Router0(config-if)#ip nat outside
Router0(config-if)# exit
Router0(config-if)# ip nat pool pulicip 200.0.0.3 200.0.0.5 netmask
255.255.255.248
Router0(config-if)# access-list 1 permit 192.168.1.0 0.0.0.255
Router0(config-if)# ip nat inside source list 1 pool publicip
Router-1 Configure Command:
Router1>en
Router1#conf t
Router1(Config)#int fa0/0
pg. 4
Router1(config-if)# ip address10.0.0.1 255.0.0.0
Router1(config-if)# no sh
Router1(config-if)#exit
Router1(Config)#int se2/0
Router1(config-if)# ip address200.0.0.2 255.255.255.248
Router1(config-if)# no sh
Router1(config-if)#exit
Result & Analysis :
Benefits Dynamic Network Address Translation
 It allows you to rescue the private IP address.
 It has got good security features that enhance the security of private networks
by separating the internal network from the external network.
 It helps to conserve the IP address space. You can connect a large number of
hosts using a small IP address to the global internet

Trobleshooting:
Open your Network Topology: Once you've opened your Network Topology on
Cisco Packet Tracer, access your network and identify the components of your
network, for example; Servers, Routers, End Devices, etc.

Test connectivity: After configuring the addresses, you will have to test
connectivity by opening a command prompt window on the end devices and try
pinging the address which the network operates on. If it gives you a reply, it means
your network was configured correctly
How to Remove IP Address: You
can also use the ip config /release all command on
Windows or the no IP address command on Ruckus devices to delete your IP
address from an interface.
Conclusion:
At last we can say that Because Dynamic NAT Lowers the cost, Conserving
Address, Connection Flexibility, Consistency in the Network, provides Network
Security, and Private Addressing it can be used sufficiently.

pg. 5

You might also like