How to Install a DHCP Server in CentOS, RHEL and Fedora

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

6 Responses

  1. Sarith says:

    Hi, it is great thank you so much. I would like to ask one question.

    In syntax fixed ip address could we have script to add the syntax auto into dhcp configuration file.

    For example: one client has mac address: AA:BB:CC:DD:EE and got ip address from dhcp server Does have any script to add syntax automatic to dhcp configuration for fixed this ip address for client that has such mac address after client got IP address.

    • Aaron Kili says:


      Sure, this is possible with a script. But you have to put in a little work to come up with such a script. We can’t tell if there is one out there, but we believe it is possible to write one.

  2. Iulian Murgulet says:

    hello Aaron,

    Thanks for your kindly words. If you want to touch any of this topics, send me a mail, and I could show some triks. I would like to wrote such kind of tutorials, but my time is very limited and the most important, my English is very bad.

    You know, nobody is perfect (my case only) ;)

  3. Iulian Murgulet says:

    Hello to all

    This tutorial it is good for a basic dhcp server. Maybe few ideas for your next post about dhcp:

    dhcp is very complicated and has a lot of options, some of unusually dhcpd usage but very useful:

    • can add on the clients static routes
    • can setup/redirect clients so they can use a proxy server
    • can have some kind of cluster (active-active)
    • can add for each client the proper dns records (revers and forward)
    • can push to clients many useful info (like netbios server, wins, ntp or even custom info)

    And because dhcp use udp, you need a decent network.

    And not last, in some situations, dhcp-relay could be very useful.

Leave a Reply to Iulian Murgulet Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.