Web lists-archives.com

Re: How does one create virtual ethernet devices with modern tools on Debian 8 (jessie)?




On Fri, Aug 25, 2017 at 10:03:07AM -0500, Tom Browder wrote:
> On Fri, Aug 25, 2017 at 09:26 Sven Hartge <sven@xxxxxxxxxxxxx> wrote:
> > One of "allow-hotplug" or "auto", not both
> 
> Any preference for either line?

Use "auto" if the network interface is a permanent one, and "allow-hotplug"
if it's a transient one (removable, whatever).

Interfaces configured as "auto" will be respected by systemd's
"network-online.target", meaning any service that you configure to
wait for network-online will wait for all "auto" interfaces to be
brought up.  It will not wait for "allow-hotplug" interfaces.