Find the answer to your Linux question:
Results 1 to 4 of 4
I current volunteer at a local business which is attempting to restore a national historic landmark. I've ran into my limitations of my dhcpd server knowledge in the configuration which ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2012
    Posts
    3

    Can you do seperate DHCP Ranges based on interface?


    I current volunteer at a local business which is attempting to restore a national historic landmark. I've ran into my limitations of my dhcpd server knowledge in the configuration which would like to be attempted. I have a centralized server which is acting as a router/firewall/proxy/DNS/DHCP server. What I would like to do is create the network as 10.10.0.0/16 on a bonded interface that has 3 interfaces but have the DHCP assignment ranges be different based on the incoming interface. Eth1 would be range 10.10.11.1 - 10.10.11.255 and all other interfaces would be range 10.10.250.1 - 10.10.254.255. I have all other configurations needed (Iptables, Interfaces, Proxy, DNS) except the DHCP configuration file. I've also attached high level pictures of the current network and the wanted network.
    The current configuration unfortunately is not big enough as there are times there are 200+ people on the grounds which are attempting to obtain an IP address. The new design should allow future growth.
    Is the new configuration possible with DHCP and if so can anyone help? If it is not possible, what options do I have or should I research?
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Just Joined!
    Join Date
    Aug 2012
    Posts
    15
    Some distrubution use keyword like DHCPDARGS=eth0, some use INTERFACES="eth1".

  3. #3
    Just Joined!
    Join Date
    Sep 2012
    Posts
    3
    Quote Originally Posted by nini09 View Post
    Some distribution use keyword like DHCPDARGS=eth0, some use INTERFACES="eth1".
    The dhcp server does currently work on all internal interfaces (Eth1, Eth2, Eth3), I'm looking for a way to separate the DHCP range based on what interface the DHCP request is coming in on.

  4. #4
    Just Joined!
    Join Date
    Aug 2012
    Posts
    15
    I think you want to bind DHCP range with particuliar interface. For example, eth1 range is 10.10.11.1 - 10.10.11.255. You should define a DHCP range and use keyword DHCPDARGS or INTERFACES to bind the range with eth1 interface.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •