2 dhcpd Instances on Same Platform? Take 2

John Wobus jw354 at cornell.edu
Thu Feb 22 14:04:23 UTC 2007


On Feb 22, 2007, at 3:05 AM, Simon Hobson wrote:

> Martin McCormick wrote:
>
>> I do wonder, however, if one could be able to run 2 instances of
>> dhcpd from the same platform, using two separate configurations, of
>> course.
>>
>> 	One dhcpd would have not a single dynamic range defined
>> for it and would only contain static bootp hosts.  The second
>> instance of dhcpd would only have dynamic pools which would mean
>> that one would only need to stop and restart it when the network
>> configuration changed.
>
> Yes, but you would need two physical interfaces, you would also need
> to have a mechanism in place to prevent the statically defined
> clients getting addresses in the dynamic pool. Assuming you have two
> ethernet ports, you could do :
>
> dhcpd -lf leasefile0 -cf configfile0 eth0
> dhcpd -lf leasefile1 -cf configfile1 eth1


If all requests come through helpers, would it be doable with a single
interface?  We run only one instance per server, but it is on a 
secondary
address.

John Wobus



More information about the dhcp-users mailing list