Documente Academic
Documente Profesional
Documente Cultură
http://www.krizna.com/centos/install-configure-dhcp-server-centos-6/
Ubuntu
Linuxmint
Jquery
Fedora
Centos
Subscribe
Follow @kriznadotcom
Recent Posts
Step 1 Install dhcp server and client using the below command
Step 2 After installing dhcp server packages along with dependencies .Assign a
static ip (eg: 192.168.1.11) in the same DHCP range for the listening interface ( eg
: eth0 ). Open /etc/sysconfig/network-scripts/ifcfg-eth0 file and make the
changes as per your requirement .
DEVICE="eth0"
HWADDR="00:0C:29:F1:01:4B"
NM_CONTROLLED="yes"
ONBOOT="yes"
BOOTPROTO="none"
IPADDR=192.168.1.11
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
Step 3 Now open /etc/sysconfig/dhcpd file and add the preferred interface name
to DHCPDARGS variable as below
1 of 5You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)
12/3/2014 9:19 AM
http://www.krizna.com/centos/install-configure-dhcp-server-centos-6/
Ubuntu
Linuxmint
Jquery
Fedora
Centos
DHCPDARGS=eth0
Step 4 open /etc/dhcp/dhcpd.conf file and paste the below lines and save it.
Latest On Ubuntu
}
Step 5 Now start the service
[root@localhost ~]# service dhcpd start
and type this below command to start dhcp service automatically while booting.
[root@localhost ~]# chkconfig --levels 235 dhcpd on
Thats it .Clients can get IP from DHCP server and Please ensure you dont have any
other dhcp servers in the same network ( Routers might have DHCP enabled ).
Latest On Centos
Tweet
2 of 5You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)
12/3/2014 9:19 AM
http://www.krizna.com/centos/install-configure-dhcp-server-centos-6/
Ubuntu
Linuxmint
Jquery
Fedora
Centos
centos 7
How to install webmin on
centos 6
Related Posts
How to install phpmyadmin on centos 7
How to install LAMP server on centos 7
How to install VNC server on Centos 7
How to Setup network on centos 7
How to install webmin on centos 6
How to install phpmyadmin on nginx on centos 6
How to install LEMP on centos 6 ( Nginx, PHP, Mysql )
Installing node.js on centos 6 with sample app
How to setup nfs server on centos 6
How to install vnc on centos 6
3 of 5You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)
12/3/2014 9:19 AM
http://www.krizna.com/centos/install-configure-dhcp-server-centos-6/
Ubuntu
Kamendra Chauhan
Linuxmint
Jquery
Fedora
Centos
I have installed and configured dhcp,exactly as told in this post but when I am starting
dhcpd service it's getting failed .....can u please help me ...and I also have disabled the
selinux....but problem is still persisting......
chris
thanks for this article, it works, now i know where to start as i go deeper studies on
dhcp server.
shell
shell
thank you very much for the information here..it really helps a lot..
Daniel Raiche
I'm having an odd problem, it keeps telling me semicolon expected when I start the
dhcpd service, but I'm sitting here looking at the semicolon in the config file. I've
re-created a few times and the same thing happens, won't allow me to start the service.
rosesa
Jose luis
este error
setgroups: Operation not permitted
krizna
Hi luis,
It just because of selinux . please disable selinux and reboot your machine and
try again.
#vim /etc/selinux/config
Avatar
Avatar
After 2 days of trying and
frustration I finally got it to work without
downloading anything. I upgraded my
4 of 5You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)
12/3/2014 9:19 AM
http://www.krizna.com/centos/install-configure-dhcp-server-centos-6/
Ubuntu
Linuxmint
RECENT POSTS
SOCIAL
HOT TOPICS
Follow on Delicious
Samba )
Follow on Diigo
74 comments received
Follow on Pinterest
Follow on Scoop
14.04
Follow on Stumbleupon
and Download )
48 comments received
34 comments received
Jquery
Fedora
Centos
32 comments received
14.04
Postfix - dovecot )
14.04
27 comments received
5 of 5You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)
12/3/2014 9:19 AM