Fwd: preventing dhclient from running under certain conditions

2014-11-02 Thread Oleg Goldshmidt
​I noticed that I had responded only to shimi and not to the list​ ​...​ On Thu, Oct 30, 2014 at 12:10 AM, shimi linux...@shimi.net wrote: ​ What about allow-hotplug? http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_basic_syntax_of_etc_network_interfaces ​ I tested

preventing dhclient from running under certain conditions

2014-10-29 Thread Oleg Goldshmidt
Hi, Suppose we have a Debian Wheezy machine with a bunch of network ​ ​ interfaces, some of them VLANs. Some of the interfaces are ​ ​ DHCP-based. For various reasons there is a requirement that ​ ​ DHCPDISCOVER should not be sent out when certain conditions are not ​ ​ fulfilled[*]. The

Re: preventing dhclient from running under certain conditions

2014-10-29 Thread shimi
On Wed, Oct 29, 2014 at 2:06 PM, Oleg Goldshmidt p...@goldshmidt.org wrote: [*] Without discussing the actual requirements, consider a trivial example. Suppose you have several DHCP VLANs configured on eth1, and suppose that for various operational reasons the eth1 link may occasionally be