Lab 4 CCN
Lab 4 CCN
Lab 4 CCN
1. Objective:
Learn how to apply DHCP on server and PCs will be assigned IP addresses through
DHCP.
2. Recourses Required:
Computer
Packet Tracer (version 5 or higher)
3. Introduction
With DHCP, this entire process is automated and managed centrally. The DHCP
server maintains a pool of IP addresses and leases an address to any DHCP-enabled
client when it starts up on the network. Because the IP addresses are dynamic (leased)
rather than static (permanently assigned), addresses no longer in use are automatically
returned to the pool for reallocation. The network administrator establishes DHCP
servers that maintain TCP/IP configuration information and provide address
configuration to DHCP-enabled clients in the form of a lease offer.
The opposite is true too, that while we as humans can understand the words in the
URL much easier than the IP address numbers, other computers and network devices
understand the IP address.
4. Procedure
Task 1: DHCP server
1. Set-up the system in packet tracer with server, switch, hub and end devices
2. Open the server and go to the Desktop tab, click IP Configuration and enter the IP
address. 192.168.1.1
3. Now go to the DHCP service of server and
Enter IP for default Gateway: 192.168.1.1
Start IP address: 192.168.1.0
Maximum number of Users: 120
Click Save.
4. Now, click on any PC that is attached to the server, go to IP configuration and
select DHCP. You will see that DHCP will successfully assign IP address to the
PC. This will reduce manual effort of assigning IP addresses to each end system.
5. We can also open the website of the server through any PC by going to the Web
Browser option and entering the IP address of the server
6. And we can ping the server by going to the PC’s command prompt and entering
server’s IP address.
1. Set-up the system in packet tracer with server, switch, router and end devices
Q.4 In command prompt of your home LAN, type Ipconfig and see the IP addresses of
default gate way, DNS and DHCP? What are they?
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
Q.5 Ping from PC0 to laptop1in task1 and analyse the behaviour of hub in a network. How is
it different from switch??
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________