[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#779890: udhcpd: Support for multiple interfaces/udhcpd processes



06.03.2015 02:57, Elliott Mitchell wrote:
> Package: udhcpd
> Version: 1:1.20.0-7
> Severity: wishlist
> 
> The documentation seems to suggest udhcpd can only handle binding to one
> interface and using one IP address range per udhcpd process.  Due to
> this, it would be handy if Debian's init scripts had support for
> starting/stopping multiple udhcpd processes (this would mean require
> multiple .conf and .pid files).

I suggest using some more advanced dhcp servers for this, for
example there's an excellent piece of software named dnsmasq
which is small and has other useful functionality.  Udhcpd
scripts can be extended to support multiple interfaces, but
I think at this time, it is better to use, say, systemd
service files for that, which should be trivial to write
and drop to the right location (and no, I don't know off
my head how to do that ;).

> When reading the man page I was wondering, could multiple configuration
> files be specified on udhcpd's command-line and would this have the
> effect of starting multiple udhcpd processes?  (I rather doubt it, but
> the man page could be read that way)

One invocation handles one interface, I think.  But you can try :)

Thanks,

/mjt


Reply to: