How to configure DHCP Server in Centos 7?

Pubblicato il: 19 maggio 2020
sul canale di: ProPing
5,708
60

In this lab I will demonstrate how to configure DHCP server in Centos 7 and how the clients get the IP from the server. Basically clients get TCP/IP information including IP address, subnet mask, default gateway and DNS server address from the server.



Here Server is Centos 7 and client machines are Centos7 and Windows 10.


In presentation you will get to know about:
What is DHCP?
What is static and automatic IP address?
What is BootP?
What is DHCP lease time?
What is DORA process?


Important points:


1. Command to install DHCP server is

[root@avnish ~}# yum install dhcp -y


2. In Centos7 server the DHCP configuration is stored at /etc/dhcp/dhcp.conf


3. You can edit it through visual editors ex. vi, vim, gedit.


4. To start DHCP service command is:

[root@avnish ~}# service dhcpd start

5. If you want to check the lease database to see what clients got IP
[root@avnish ~}# cat / var /lib dhcpd dhcpd.leases


In questa pagina del sito puoi guardare il video online How to configure DHCP Server in Centos 7? della durata di ore minuti seconda in buona qualità , che l'utente ha caricato ProPing 19 maggio 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 5,708 volte e gli è piaciuto 60 spettatori. Buona visione!