You are on page 1of 8

Graded Lab Assignment 4 – Computer Networks, Odd Sem, 2022

Your Name: Vidit Chopra SAP ID: 1000014284 Major: B.Tech (CSE)

Instructions
• There are two questions in this assignment.
• This evaluation instrument, if submitted after due date, will not be evaluated,
and a score of zero will be awarded.
• Email/paper/other modes of submissions will not be accepted.
• Upload a pdf version of this document.

Submitting this Assignment

You will submit (upload) this assignment in MS Teams. Name this document as John_Doe.pdf
in case your name is John Doe. Paste your steps and snapshot of output after the question,
save and upload the document.

Grading: 5 points
Graded Lab Assignment 4 – Computer Networks, Odd Sem, 2022

Question 1: Simulate DHCP and DNS protocol having at least four system in a network.

DHCP :

1. Build the network topology in packet tracer using a router, a switch and 4 end devices

2. On the router, configure interface fa0/0 to act as the default gateway for our LAN.
Graded Lab Assignment 4 – Computer Networks, Odd Sem, 2022

3. Configure DHCP server on the Router. In the server we will define a DHCP pool of IP
addresses to be assigned to hosts, a Default gateway for the LAN and a DNS Server.

4. Now go to every PC and on their IP configuration tabs, enable DHCP. Every PC should
be able to obtain an IP address, default gateway and DNS server, as defined in step 2.
Graded Lab Assignment 4 – Computer Networks, Odd Sem, 2022

DNS :

1. Build the network topology in packet tracer suing a switch , a server, and 4 end devices.
2. Configure static IP address on the server (192.168.1.2).
Graded Lab Assignment 4 – Computer Networks, Odd Sem, 2022

3. Now configure DHCP service on the generic server. To do this, click on the server, then click
on Services tab. You will pick DHCP on the menu. Then proceed to define the DHCP network
parameters as follows:

Pool name: LAB

Default Gateway: 192.168.1.1

DNS Server: 192.168.1.2

Start IP Address: 192.168.1.0

Subnet Mask: 255.255.255.0

Maximum Number of users: 256.


Graded Lab Assignment 4 – Computer Networks, Odd Sem, 2022

4. Finally, enable DHCP configuration on each PC. The three PCs should get automatically
configured.
Graded Lab Assignment 4 – Computer Networks, Odd Sem, 2022

Question 2:What is the difference between public and private IP.

IP Address:
An IP address (Internet Protocol address) is a numerical identifier, such as 192.0.2.1,
that is associated with a computer network that communicates using the Internet
Protocol. An IP address is used for two purposes: identifying a host or network interface,
and addressing a specific location.
An IP address has two primary functions: it identifies the host, or more particularly its
network interface; and it indicates the host's position in the network, allowing a path to
be established to that host.
IP addresses can be either Public or Private. Read through this article to find out how a
Public IP address is different from a Private IP address.

Public IP Address :

Your internet service provider assigns a public IP address to your network router so that
it may be accessed directly over the internet (ISP). When you connect to the internet
using your router's public IP, your personal device has a private IP address that is
concealed.
Connecting to the internet using a public IP address is similar to sending mail to a P.O.
box rather than giving out your home address. It's a little safer, but it's a lot more
noticeable.

Private IP Address :
The address that your network router provides to your device is known as a private IP
address. Each device on the same internal network is given a unique private IP address
(also known as a private network address) that allows them to communicate with one
another.
Graded Lab Assignment 4 – Computer Networks, Odd Sem, 2022

Private IP addresses enable devices on the same network to interact without needing
to connect to the internet. Private IPs assist to strengthen security within a specified
network, such as your home or workplace, by making it more difficult for an external
host or user to establish a connection. This is why you can print papers from your home
printer using a wireless connection, but your neighbor can't send their files to your
printer accidentally.

You might also like