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

Re: networking



On 01/14/2011 07:43 PM, Bonno Bloksma wrote:
Hi,

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
allow hotplug eth1
iface eth1 inet dhcp
replace 'allow hotplug' with 'auto'
auto eth0
auto eth1
I have been wondering about this and have not seen any definitive
documentation, or if there is, I have not understood it.
Does "auto" imply "allow-hotplug"? If not, should I have both
   auto eth0 eth1
and
   allow-hotplug eth0 eth1
lines in my interfaces file?

Bonno Bloksma
AFAIK, allow-hotplug makes the interface come up only when a cable is plugged in. auto makes the interface come up at boot time regardless of the cable state.

Mihira.


Reply to: