dhclient.conf interface stanza and conflicting listing interfaces with dhclient3

Jelle de Jong jelledejong at powercraft.nl
Mon Jul 12 14:16:03 UTC 2010


Hi David,

On 03-07-10 01:49, David W. Hankins wrote:
> On Sun, Jun 27, 2010 at 12:32:28PM +0200, Jelle de Jong wrote:
>> On 23-06-10 14:05, Jelle de Jong wrote:
>>> If tun1 is up and I execute an dhclient3 eth1 an IP is provided
>>> trough the tun1 network instead of only the eth1 network.
>>
>> Somebody that can help?
> 
> Sorry Jelle.  This is a well known sort of design bug in dhclient.
> dhclient picks up interfaces named in the dhclient.conf it was
> given and uses them.
> 
> The workaround for now is to use a separate dhclient.conf per each
> interface.

:(

Is there a way to tell /etc/network/interfaces to use a specific
dhclient.conf without specifying the complete dhclient command?

something like:

auto vlan5
iface vlan5 inet dhcp
  dhclient-config /etc/dhcp3/dhclient-vlan5.conf
  vlan-raw-device bond0

Thanks in advance,

With kind regards,

Jelle de Jong



More information about the dhcp-users mailing list