#759022 ifupdown: Fails to bring up vlan interfaces

Package:
ifupdown
Source:
ifupdown
Description:
high level tools to configure network interfaces
Submitter:
Michel Meyers
Date:
2014-08-23 21:21:11 UTC
Severity:
normal
#759022#5
Date:
2014-08-23 20:46:27 UTC
From:
To:
Dear Maintainer,

I recently noticed that my system does not bring up its VLAN interfaces
correctly on boot any more (I have to manually ifconfig up them and add
the default route/extra routes).

If I try to manually bring up a VLAN interface after boot, I get this:
----

These are the active routes at that point:
----
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
10.8.0.0        10.8.0.2        255.255.255.0   UG    0      0        0 tun0
10.8.0.2        0.0.0.0         255.255.255.255 UH    0      0        0 tun0
10.32.0.0       10.205.0.1      255.240.0.0     UG    0      0        0 eth1
10.100.100.0    0.0.0.0         255.255.255.0   U     0      0        0 eth2
10.101.101.0    0.0.0.0         255.255.255.0   U     0      0        0 eth3
10.205.0.0      0.0.0.0         255.255.255.248 U     0      0        0 eth1
----

And this is the configuration:
---- # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) # The loopback interface # automatically added when upgrading auto lo iface lo inet loopback # automatically added when upgrading auto eth0 #tried with the above on and commented out auto eth1 auto eth2 auto eth3 iface eth0 inet static address 0.0.0.0 #tried with and without the 2 lines above, no avail #iface eth0 inet static # address 10.78.78.2 # netmask 255.255.255.0 # gateway 10.78.78.1 # up route add -net 10.77.77.0 netmask 255.255.255.0 gw 10.78.78.11 # down route del -net 10.77.77.0 netmask 255.255.255.0 gw 10.78.78.11 # # mtu 1492 # mtu 9000 iface eth1 inet static address 10.205.0.4 netmask 255.255.255.248 up route add -net 10.32.0.0 netmask 255.240.0.0 gw 10.205.0.1 down route del -net 10.32.0.0 netmask 255.240.0.0 gw 10.205.0.1 iface eth2 inet static address 10.100.100.2 netmask 255.255.255.0 mtu 9000 iface eth3 inet static address 10.101.101.2 netmask 255.255.255.0 mtu 9000 auto eth0.1 iface eth0.1 inet static address 10.78.78.2 netmask 255.255.255.0 gateway 10.78.78.1 vlan-raw-device eth0 up route add -net 10.77.77.0 netmask 255.255.255.0 gw 10.78.78.11 down route del -net 10.77.77.0 netmask 255.255.255.0 gw 10.78.78.11 mtu 9000 auto eth0.4 iface eth0.4 inet static address 10.80.80.2 netmask 255.255.255.0 vlan-raw-device eth0 ---- Is there a config error that I am overlooking? - Michel