Adding a vlan brings up all interfaces

Bug #1183128 reported by Andy Lutomirski
This bug report is a duplicate of:  Bug #1295371: ifup activates wrong interfaces. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ifupdown (Ubuntu)
New
Undecided
Unassigned

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.

Revision history for this message
Bryan Quigley (bryanquigley) wrote :

Sorry, we missed this report when creating a new bug.. It has been fixed in trusty.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.