You are on page 1of 8

EXPERIMENT-3

Exp No3:DHCP server configuration in Packet Tracer

We learn some basics about Switches and Servers after that you can be
able to understand this configuration with ease.
In this lab, we use switches, DHCP server, DNS server and PC.

Here I will tell you about some basic concepts of these components
in detail.

1. Switch:- Switch is a networking device that is used for connecting a


large number of systems or PCs with each other on the same network. In
other words, we can say that a Network Switch is a Computer Networking

1
device that is used for connects devices together with each other on the
same network. Switch Provides a platform to us through which we can
easily send and receive data between two systems.

How Does a Switch Work?

The switch doesn’t exchange information randomly but follow the


specific instructions — the MAC addresses of every device. The IP
packet arrives at the correct destination with the aid of the frame
using MAC addresses of destination and source.

It is the switch that uses the responsibility to complete process as


follows.

2
 Learning — The switch learns the MAC address of the device on
the switch port on which it receives the frame.

 Forwarding — The switch forwards message in either unicast or


broadcast way. That depends on whether the destination MAC
is known for sure or unknown.

 Filtering — The frame will be forwarded through that switch


port only for which the switch has already learned the MAC
address in its MAC table.

2. Servers in scope
Servers are dedicated computers for a specific purpose, and
unlike the Desktop computer these computers are made for
durability, longevity and for working longer periods of time as
compared to a desktop PC.

Functions of a Server:
A server is made to provide services and functionality to other
computers. The other computers which are using the server are
called “clients” and this model of sharing is called “client-
server” model.

3
Server computers use the same parts as of the desktop PC but these parts
are designed for durability and non-stop working conditions.

4
Difference between server and PC :

DHCP Server:- The DHCP (Dynamic Host Configuration Protocol) is a


network protocol used to assign IP automatically to the systems with the
help of a machine called DHCP server.

5
A DHCP Server allows computers to request an IP address and
networking parameters automatically. If you do not have a DHCP Server
to configure IP addresses automatically to the PCs then you need to assign
a static or manual IP address on the Computers. So in simple words, we
can say that DHCP Server is only used for assigning the IP addresses to the
Systems automatically.

Procedure:
1. Build the network topology.

6
2. Configure static IP addresses on the PCs and the server.

Server DHCP (on)

From desktop IP address: 192.168.0.1 Subnet mask: 255.255.255.0

From services -> DHCP -> Default gateway: 192.168.0.1 DNS Server:
10.0.0.1 start 192.168.0.0 then save .

PC0, PC1, PC 2, laptop 0 and Laptop 1 just click on desktop and


chose DHCP

7
3. Test domain name – IP resolution. Ping the hosts from one another

For example, ping PC1 from PC0. Ping should be successful.

You might also like