[Bug 1183128] [NEW] Adding a vlan brings up all interfaces

Andy Lutomirski 1183128 at bugs.launchpad.net
Wed May 22 21:37:58 UTC 2013


Public bug reported:

I have a relatively straightforward /etc/network/interfaces
configuration, like this (excerpted):

auto p3p2.1
iface p3p2.1 inet static
    vlan-raw-device p3p2
    ... configuration here...

auto p3p2.2
iface p3p2.2 inet static
    vlan-raw-device p3p2
    ... configuration here...

The problem is that ifup p3p2.1 (or ifup p3p2.2) brings up both p3p2.1
and p3p2.2.  In fact, vconfig add p3p2 1 brings up both interfaces.

The problem seems to be that /etc/init/network-interface.conf says
"start on net-device-added".  The intent is (presumably) to start the
interface when p3p2 is added, but not to start p3p2.x when p3p2.y is
added.

This is particularly annoying because ifdown p3p2.2 deletes the
interface, so I can't reliably bring down two vlans and then bring just
one of them back up.

** Affects: ifupdown (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/1183128

Title:
  Adding a vlan brings up all interfaces

Status in “ifupdown” package in Ubuntu:
  New

Bug description:
  I have a relatively straightforward /etc/network/interfaces
  configuration, like this (excerpted):

  auto p3p2.1
  iface p3p2.1 inet static
      vlan-raw-device p3p2
      ... configuration here...

  auto p3p2.2
  iface p3p2.2 inet static
      vlan-raw-device p3p2
      ... configuration here...

  The problem is that ifup p3p2.1 (or ifup p3p2.2) brings up both p3p2.1
  and p3p2.2.  In fact, vconfig add p3p2 1 brings up both interfaces.

  The problem seems to be that /etc/init/network-interface.conf says
  "start on net-device-added".  The intent is (presumably) to start the
  interface when p3p2 is added, but not to start p3p2.x when p3p2.y is
  added.

  This is particularly annoying because ifdown p3p2.2 deletes the
  interface, so I can't reliably bring down two vlans and then bring
  just one of them back up.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1183128/+subscriptions




More information about the foundations-bugs mailing list