I use the /etc/network/interfaces
file on Debian to configure my network interfaces with DHCP. The relevant section looks like this:
allow-hotplug eth0
iface eth0 inet dhcp
allow-hotplug eth1
iface eth1 inet dhcp
The manpage of interfaces(5) tells me:
The dhcp Method
This method may be used to obtain an address via DHCP with any of the tools: dhclient, pump, udhcpc, dhcpcd. (They have been listed in their order of precedence.)
My question: is there a way to specify which dhcp client is used for each interface in the interfaces file?
Say I have both dhclient
and dhcpcd
installed, and I want to use dhcpcd
for both interfaces, or I want dhcpcd
for one interface and dhclient
for another?