Package: ifupdown
Version: 0.7.48.1
Severity: normal

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:

----
root@server:~# ifup eth0.1
Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/config
RTNETLINK answers: File exists
Failed to bring up eth0.1.
----

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

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ifupdown depends on:
ii  adduser      3.113+nmu3
ii  initscripts  2.88dsf-53.3
ii  iproute      1:3.16.0-1
ii  iproute2     3.16.0-1
ii  libc6        2.19-9
ii  lsb-base     4.1+Debian13

Versions of packages ifupdown recommends:
ii  pump [dhcp-client]  0.8.24-7

Versions of packages ifupdown suggests:
ii  net-tools  1.60-26
ii  ppp        2.4.6-2
pn  rdnssd     <none>

-- debconf information:
  ifupdown/convert-interfaces: true


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to