How to dynamically add a interface that I want to have the daemon listen on?
dhcp1 at thehobsons.co.uk
Mon Aug 27 21:41:52 UTC 2007
Tian Tian wrote:
>How to dynamically add/delete a interface that I
>do/do-not want to have the daemon listen on if it is
>I have a dhcpd currently running as:
>"./dhcpd -cf /var/etc/dhcpd.conf eth0 eth2 eth3"
>then, I want to add another interface eth1 dynamically
>to have the daemon listen on without stop the current
>dhcpd process (don't want to interrupt the eth0, eth2
>and eth3). Or, I want to take away the eth2 from the
>daemon without stop the current dhcpd process.
>Is it possible to do that?
No. You have to restart the server to do that.
But the answer is in some ways similar to the "can we dynamically
reload the config" to which the answer is that it wouldn't really be
any quicker, the server starts up quite quickly (for most configs),
and it really doesn't make any problems if it's down for (say) 10s.
More information about the dhcp-users