dhcp server liuxLinux serverNETWORK ADMINISTRATIONS

Configuring DHCP Server in Centos 7 Step By Step – Sinhala Tutorial

This android tutorial discusses the steps to how to install DHCP server in CentOS 7

What is DHCP Server ?

DHCP (Dynamic Host Configuration Protocol) is a network protocol that enables a server to automatically assign an IP address and provide other related network configuration parameters to a client on a network, from a pre-defined IP pool.

This means that each time a client (connected to the network) boots up, it gets a “dynamic” IP address, as opposed to “static” IP address that never changes. The IP address assigned by a DHCP server to DHCP client is on a “lease”, the lease time can vary depending on how long a client is likely to require the connection or DHCP configuration.

In this tutorial, we will cover how to install and configure a DHCP server in CentOS/RHEL and Fedora distributions.

Testing Environment Setup

We are going to use following testing environment for this setup.

DHCP Server – CentOS 7
DHCP Clients – Centos 7 and Windows 10

How Does DHCP Work?

Before we move any further, let’s briefly explain how DHCP works:

When a client computer (configured to use DHCP) and connected to a network is powered on, it forwards a DHCPDISCOVER message to the DHCP server.
And after the DHCP server receives the DHCPDISCOVER request message, it replies with a DHCPOFFER message.
Then the client receives the DHCPOFFER message, and it sends a DHCPREQUEST message to the server indicating, it is prepared to get the network configuration offered in the DHCPOFFER message.
Last but not least, the DHCP server receives the DHCPREQUEST message from the client, and sends the DHCPACK message showing that the client is now permitted to use the IP address assigned to it.
#CentosDHCP #DHCPInstall #CentOS

source : www.techmint.com

Commands :
yum install dhcp
vim /etc/sysconfig/dhcpd
mv /etc/dhcp/dhcpd.conf /etc/dhcp/dhcpd.conf.backup
vim /etc/dhcp/dhcpd.conf
systemctl enable dhcpd
systemctl restart dhcpd
firewall-cmd –permanent –zone=public –add-service=dhcp
firewall-cmd –reload
vim /etc/sysconfig/network-scripts/ifcfg-enp0s3
service network restart
service dhcp restart
CentOS 7 Download Page link :

https://centos.org/download/

My Other Videos :
Linux Basic Commands | History of Linux – ලිනක්ස් සිංහලෙන් ඉගන ගනිමු

How to enable developer option in android |enable developer option in huawei phone

How to Deactivate Facebook Account | How toDeactivate Facebook Account on Mobile | 2021

How to delete your gmail account | remove your gmail account.

How to Download and Install Ngrok in Kali Linux – Tutorial Kali Linux 2021

How to Install JDK 8 (Java 8) In Linux – Tutorial Kali Linux 2021

jdk8 install Worked for me 100%

How to Install Chocolatey Windows 10 – Command එකකින් Software ලේසියෙන්ම Install කරමු

how to build a HACKING lab (to become a hacker) – හැකින් Lab එකක් හදමු

Accessing the Dark Web Using the Tor Browser – අන්තර්ජාලයේ අදුරු පැත්ත

Installing CentOS 7 – manual partitioning 2021

Join with us :

FaceBook : https://www.facebook.com/learnhackinginsinhala
Whatsapp : https://chat.whatsapp.com/IIvwAA4bf71CmoK8T19dsi
Blogger : https://awesometolearns.blogspot.com

Please Dont Forget to :

Subscribe ,
Like ,
Comment ,
share my videos.

source

by Awesome to Learn

linux dhcp server

Alice AUSTIN

Alice AUSTIN is studying Cisco Systems Engineering. He has passion with both hardware and software and writes articles and reviews for many IT websites.

5 thoughts on “Configuring DHCP Server in Centos 7 Step By Step – Sinhala Tutorial

Comments are closed.