HOW TO INSTALL DHCP SERVER ON RHEL 6

Today my topic is “How to install DHCP Server in RHEL 6”.


Note: Whenever we designed DHCP Server first we set static IP on that server system

Step1-  Now we install dhcp packages
























Note: Whenever we designed DHCP Server first we set static IP on that server system.


Step2- Now go to dhcp configuration file
Here is available only sample file path not to configuration file.
[root@localhost ~]# vim /etc/dhcp/dhcpd.conf 










Step3- Now we will go to copy sample file and then configure dhcpd.conf file
[root@localhost ~]# 
[root@localhost ~]# cp -r /usr/share/doc/dhcp-4.1.1/dhcpd.conf.sample /etc/dhcp/dhcpd.conf
cp: overwrite `/etc/dhcp/dhcpd.conf’? y
[root@localhost ~]# vim /etc/dhcp/dhcpd.conf


Step4- Now start the dhcp server services

[root@localhost ~]# service dhcpd restart
Shutting down dhcpd: [ OK ]
Starting dhcpd: [ OK ]
[root@localhost ~]# chkconfig dhcpd on

Step5- When DHCP Server release IP Address of DHCP Client’s then server maintain dhcpd.leases file of IP details and system mac.

[root@localhost ~]# cat /var/lib/dhcpd/dhcpd.leases
[root@localhost ~]#
NOW CONNECT CLIENT WITH DHCP SERVER 


Tags: HOW TO INSTALL DHCP SERVER ON RHEL 6,how to configure dhcp server in redhat linux 6 step by step
dhcp server configuration in linux step by step
dhcpd.conf sample
centos 7 dhcp server
centos dhcp server gui
dhcp server configuration in linux step by step ppt
rhel 7 dhcp client
centos 6 dhcp server

Leave a Reply

Your email address will not be published. Required fields are marked *