Package: ifupdown
Version: 0.7.1
Severity: important
Tags: upstream

Dear Maintainer,

I wrote in my /etc/network/interfaces:

auto eth0.0201
iface eth0.0201 inet static
  address 10.0.1.1
  netmask 255.255.0.0
  vlan_raw_device eth0

and execute ifup eth0.0201
but after this I have this in /proc/net/vlan/config

VLAN Dev name | VLAN ID
Name-Type: VLAN_NAME_TYPE_RAW_PLUS_VID
eth0.0201      | 129  | eth0

This is looks strange for me and after strace ifup I got this call from ifup
execve("/sbin/ip", ["ip", "link", "add", "link", "eth0", "name", "eth0.0201", 
"type", "vlan", "id", "0201"], [/* 1 var */]) = 0

Obviously, /sbin/ip from iproute package got vlan number 0201 as octal number 
and after this
pre-ip/vlan executes vconfig for the same target, but it can't up vlan 
interfaces with the same name eth0.0201 and fails.
I don't know, which bug is it (ifup or ip) but it is inappropriable. Thank you 
for responding.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'stable'), (300, 'oldstable'), (50, 
'unstable'), (10, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.4-trunk-686-pae (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ifupdown depends on:
ii  dpkg         1.16.4.3
ii  initscripts  2.88dsf-29
ii  iproute      20120521-3
ii  libc6        2.13-33
ii  lsb-base     4.1+Debian7

ifupdown recommends no packages.

Versions of packages ifupdown suggests:
ii  isc-dhcp-client [dhcp-client]  4.2.2.dfsg.1-5
ii  net-tools                      1.60-24.1
ii  ppp                            2.4.5-5.1+b1
pn  rdnssd                         <none>

-- no debconf information


-- 
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