how to create two dhcp scope in redhat 5

Posted on 2009-05-01
Last Modified: 2012-05-06
I am using microsoft dhcp and wanted to switch to linux dhcp.
And i wanted to use two range of ip

can anybody help me?
Question by:chandar_bhandari
    LVL 2

    Expert Comment

    First start with the manual page for dhcpd.

    edit the /etc/dhcpd.conf with your favorite editor. It should have examples it in already.

    You will need two scopes similar to this:

        subnet netmask {
          default-lease-time 600 max-lease-time 7200;
          option subnet-mask;
          option broadcast-address;
          option routers;
          option domain-name-servers,;
          option domain-name "";

    Author Comment

    hi jbristle:

    but how to configure two different network in dhcp.
    should we need two NIC and two dhcpd.conf file.
    LVL 2

    Accepted Solution

    In the simplest configuration you just need a single dhcp server, and a single config.
    You add two subnet ranges to the dhcpd.conf.

    Depending on what type of switches or routers you have, there are many ways to forward the dhcp requests from two seperate vlan's.

    If you do not have switches or routers that can forward dhcp requests, you will need to run two different dhcpd daemons with two different config files, both having different scopes, one on each network interface.


    Author Closing Comment


    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    A Cisco router can be configured as a DHCP Server. There are advantages and disadvantages in making your Cisco router work as DHCP Server. Almost all the features for windows DHCP can be configured on Cisco-based DHCP server. Some of the features me…
    Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now