Install and configure DHCP server on centos 6 Setup DHCP server on Centos 6 : Dynamic Host Configuration Protocol (DHCP) is used to assign IP addresses and other stuff like gateway and DNS details automatically to the clients. we need a DHCP server configured for offering ipaddress to the clients when it is required . Installing DHCP server on Centos 6: After installing Centos 6 (Centos 6 installation step by step screenshots ) and configuring network (How to setup network in centos 6) Update yum repositories and packages by typing the below command [root@localho st ~]# yum update Step 1 »Install dhcp server and client using the below command [root@localho st ~]# yum install dhcp Step 2 »After installing dhcp server packages along with dependencies .Assign a static ip (eg: “192.168.1.11”) in the same DHCP r ange for the listening i nterface ( eg : “eth0″ ). Open /etc/sysconfig/network-scripts/ifcfg-eth0file and make the changes as per your requirement . Step 3 »Now open /etc/sysconfig/dhcpdfile and add the preferred interface name to DHCPDARGS variable as below Sign up for our newsletter for updates Youremailaddress Subscribe Follow @kriznadotcom Recent Posts Setup File server on ubuntu 14.04 ( Samba ) Setup DHCP server on ubuntu 14.04 How to install VNC server on ubuntu 14.04 How to install phpmyadmin on centos 7 How to install LAMP server on centos 7 D EV I CE = " eth0" HWADDR= " 00: 0C: 29: F1: 01 : 4B " NM CO NTRO LLED= "yes" ONBOOT= "yes" BOOTPROTO = "none" I PAD D R= 19 2. 16 8. 1. 11 NETMASK = 255. 255. 255. 0 GATEW AY= 192. 168. 1. 1 Centos Fedora Jquery Linuxmint Ubuntu Install and configure DHCP server on centos 6 http://www .krizna.com/centos/install -configure-dhcp-se rver-centos-6 / 1 of 5 12/3/2014 9:19 AM You created this PDF from an application that is not licensed to print to novaPDF printer ( http://www.novapdf.com )
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
7/23/2019 Install and Configure DHCP Server on Centos 6