Hello,

On Tue, 30 Sep 2014 17:20:17 +0200
os...@cetex.se wrote:

> Upon booting a machine with the following setup on a relatively
> slimmed down netboot machine the loopback interface isn't brought up
> properly:
> 
> cat /etc/network/interfaces
> auto lo
> iface lo inet loopback
> iface lo inet6 loopback
> 
> auto eth0
> iface eth0 inet6 auto
> dhcp 1
> #iface eth0 inet ipv4ll
> 
> auto eth1
> iface eth1 inet6 auto
> dhcp 1
> #iface eth1 inet ipv4ll

With this config my ifupdown says the following:

ip link set up dev lo 2>/dev/null
run-parts --exit-on-error /etc/network/if-pre-up.d
run-parts --exit-on-error /etc/network/if-up.d
run-parts --exit-on-error /etc/network/if-pre-up.d
run-parts --exit-on-error /etc/network/if-up.d
run-parts --exit-on-error /etc/network/if-pre-up.d
run-parts --exit-on-error /etc/network/if-up.d

> All seems fine, everything is working from here on.

> My expectation is that ifup should configure the interface and set 
> state to up, and ifdown should set state to down, even though it's a 
> loopback that may or may not be magically autoconfigured somewhere
> else.

It does this. You don't even need to add loopback interface to the
config for this.

> It also seems like ifup is actively not configuring loopback twice,
> but running all scripts for it..

> loopback should be up properly on both ipv4 and ipv6.

> I've subscribed and i'll gladly help if anything is missing to get
> this resolved.

-- 
Cheers,
  Andrew

Attachment: signature.asc
Description: PGP signature

Reply via email to