Package: ifupdown
Version: 0.7.5
Severity: normal

Dear Maintainer,

I am using Debian as the host OS in a KVM virtualization environment. In 
testing Wheezy, I've discovered the following issue where an ethernet 
alias is not brought up, and then a bridge alias is created rather than 
a new bridge.  Also, the bridge alias is set up for a vlan rather than 
just the intended ethernet alias.

To illustrate, I have set up squeeze and wheezy the same way and included
output. Both machines installed with base+ssh server in tasksel with
thees packages installed afterward:

vlan bridge-utils qemu-kvm qemu-utils libvirt-bin 

----
## interfaces file. except for IP, exact same on both machines.
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet manual

auto eth0.4094
iface eth0.4094 inet manual
        vlan_raw_device eth0

auto br0
iface br0 inet static
        address 10.205.16.8   # 8 == wheezy, 9 == squeeze
        netmask 255.255.248.0
        gateway 10.205.16.1
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0
        bridge_maxwait 0

auto br0.4094
iface br0.4094 inet manual
        bridge_ports eth0.4094
        bridge_stp off
        bridge_fd 0
        bridge_maxwait 0

----
Squeeze: expected outcome; vms added to br0 and br0.4094 work as expected.

root@squeeze:~# ifconfig 
br0       Link encap:Ethernet  HWaddr 00:1a:4b:33:f8:b0  
          inet addr:10.205.16.9  Bcast:10.205.23.255  Mask:255.255.248.0
          inet6 addr: fe80::21a:4bff:fe33:f8b0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:194 errors:0 dropped:0 overruns:0 frame:0
          TX packets:81 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:16684 (16.2 KiB)  TX bytes:9842 (9.6 KiB)

br0.4094  Link encap:Ethernet  HWaddr 00:1a:4b:33:f8:b0  
          inet6 addr: fe80::21a:4bff:fe33:f8b0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:29 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1450 (1.4 KiB)  TX bytes:468 (468.0 B)

eth0      Link encap:Ethernet  HWaddr 00:1a:4b:33:f8:b0  
          inet6 addr: fe80::21a:4bff:fe33:f8b0/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:1524 errors:0 dropped:0 overruns:0 frame:0
          TX packets:93 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:203495 (198.7 KiB)  TX bytes:11402 (11.1 KiB)
          Interrupt:16 Memory:f6000000-f6012800 

eth0.4094 Link encap:Ethernet  HWaddr 00:1a:4b:33:f8:b0  
          inet6 addr: fe80::21a:4bff:fe33:f8b0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:29 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1450 (1.4 KiB)  TX bytes:936 (936.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:14 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1078 (1.0 KiB)  TX bytes:1078 (1.0 KiB)

root@squeeze:~# brctl show
bridge name     bridge id               STP enabled     interfaces
br0             8000.001a4b33f8b0       no              eth0
br0.4094                8000.001a4b33f8b0       no              eth0.4094
root@squeeze:~# cat /proc/net/vlan/config 
VLAN Dev name    | VLAN ID
Name-Type: VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD
eth0.4094      | 4094  | eth0
root@squeeze:~# 

----
Wheezy: unexpected outcome; eth0.4094 isn't up, and also br0.4094
is not actually a bridge (see brctl output) 

root@wheezy:~# ifconfig 
br0       Link encap:Ethernet  HWaddr 00:1c:c4:5d:53:d6  
          inet addr:10.205.16.8  Bcast:10.205.23.255  Mask:255.255.248.0
          inet6 addr: fe80::21c:c4ff:fe5d:53d6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:375 errors:0 dropped:0 overruns:0 frame:0
          TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:25089 (24.5 KiB)  TX bytes:8678 (8.4 KiB)

br0.4094  Link encap:Ethernet  HWaddr 00:1c:c4:5d:53:d6  
          inet6 addr: fe80::21c:c4ff:fe5d:53d6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:578 (578.0 B)

eth0      Link encap:Ethernet  HWaddr 00:1c:c4:5d:53:d6  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:954 errors:0 dropped:0 overruns:0 frame:0
          TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:119226 (116.4 KiB)  TX bytes:8102 (7.9 KiB)
          Interrupt:16 Memory:f6000000-f6012800 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:518 (518.0 B)  TX bytes:518 (518.0 B)

root@wheezy:~# brctl show
bridge name     bridge id               STP enabled     interfaces
br0             8000.001cc45d53d6       no              eth0
root@wheezy:~# cat /proc/net/vlan/config 
VLAN Dev name    | VLAN ID
Name-Type: VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD
eth0.4094      | 4094  | eth0
br0.4094       | 4094  | br0
root@wheezy:~# 

Thanks,
Michael


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 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  dpkg         1.16.9
ii  initscripts  2.88dsf-34
ii  iproute      20120521-3
ii  libc6        2.13-37
ii  lsb-base     4.1+Debian8

ifupdown recommends no packages.

Versions of packages ifupdown suggests:
ii  isc-dhcp-client [dhcp-client]  4.2.2.dfsg.1-5+deb70u2
ii  net-tools                      1.60-24.2
pn  ppp                            <none>
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