0% found this document useful (0 votes)
5 views2 pages

DHCP Lab

The document outlines a step-by-step guide for installing and configuring a DHCP server on a Linux system. It includes instructions for setting server parameters, testing the server functionality, and performing optional and advanced tasks such as assigning fixed IP addresses and configuring multiple subnets. Additionally, it covers DHCP security features and monitoring DHCP activity.

Uploaded by

shoaibsherzad46
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)
5 views2 pages

DHCP Lab

The document outlines a step-by-step guide for installing and configuring a DHCP server on a Linux system. It includes instructions for setting server parameters, testing the server functionality, and performing optional and advanced tasks such as assigning fixed IP addresses and configuring multiple subnets. Additionally, it covers DHCP security features and monitoring DHCP activity.

Uploaded by

shoaibsherzad46
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

DHCP Lab

Part 1: Install DHCP Server

1.​ Install a DHCP server package on your Linux server.


2.​ Verify that the DHCP server is installed.

Part 2: Configure DHCP Server

3.​ Open the DHCP server configuration file.


4.​ Set basic server settings (lease time, authoritative mode).
5.​ Define your network subnet, including:
○​ IP address range for clients
○​ Gateway IP
○​ Subnet mask
○​ DNS servers
○​ Broadcast address

Part 3: Set the Server Interface

6.​ Specify which network interface the DHCP server should use.
7.​ Restart the DHCP server so changes take effect.
8.​ Verify that the DHCP server is running correctly.

Part 4: Test DHCP Server

9.​ On a client machine, request an IP address from the DHCP server.


10.​Verify that the client receives an IP address and other network settings.
11.​On the server, check the list of active DHCP leases.

Part 5: Optional / Intermediate Tasks

12.​Assign a fixed IP address to a client using its MAC address.


13.​Test DHCP lease expiration by setting short lease times and observing IP renewal.

Part 6: Advanced Tasks

14.​Configure multiple subnets on the same DHCP server, each with a different IP range.
15.​Set up DHCP options such as:
●​ Default gateway per subnet
●​ DNS servers per subnet
●​ NTP server for clients
16.​Implement DHCP failover (if using two servers) for high availability.
17.​Log and monitor DHCP activity to analyze which clients request IP addresses and
when.
18.​Test DHCP security features:
●​ Allow only certain MAC addresses
●​ Prevent rogue DHCP servers in the network

You might also like