How does the script in /etc/network/if-pre-up.d have anything to do with
this bug? I thought that was placed there for ifupdown. This bug is
about configuring VLANs with Network Manager, so that script shouldn't
be relevant here.

I just tried it again today on a freshly installed Xenial desktop. The
steps I took were:

(0) Install the "vlan" package.
(1) Configure the VLAN interface in the Network Manager UI (with the expected 
name). (see screenshot)
(2) Go to the "IPv4 Settings" tab and configure the VLAN appropriately.

This all seems to work for me now. That said, the user experience isn't
as nice as it could be. (Either the "vlan" package should be installed
by default, or I should be prompted to install it.) And I have to type
way too much redundant information in the UI. But it seems to be working
properly for me now.

** Attachment added: "Screenshot from 2016-06-14 12-22-30.png"
   
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1519120/+attachment/4683807/+files/Screenshot%20from%202016-06-14%2012-22-30.png

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1519120

Title:
  Xenial: VLAN interfaces don't work until after a reboot

Status in network-manager package in Ubuntu:
  Confirmed
Status in vlan package in Ubuntu:
  Invalid

Bug description:
  I tried to use the network manager UI to define a VLAN interface, and
  nothing happened. There are a few bugs here:

  (1) When creating a VLAN interface through the UI, the "vlan interface
  name" must be filled in. This should just default to <interface-
  name>.<vid>, rather than being a required field. (I typed in "vlan100"
  to get the "Save" button to activate.)

  (2) After creating my VLAN interface, nothing happened. No new
  interface appeared. I then realized that I had not installed the
  "vlan" package, and assumed that NetworkManager therefore could not
  complete configuration of the interface.

  (3) After installing the 'vlan' package (and then telling
  NetworkManager to disconnect and reconnect my Ethernet interface from
  the UI, just for good measure), still no VLAN interfaces were present
  on my system.

  I also tried editing the VLAN interface in the UI, and specifying
  "enp4s0f1.100", but still no VLAN interface came online.

  # apt-cache policy network-manager
  network-manager:
    Installed: 1.0.4-0ubuntu6
    Candidate: 1.0.4-0ubuntu6
    Version table:
   *** 1.0.4-0ubuntu6 0
          500 http://172.16.42.88/ubuntu/ xenial/main amd64 Packages
          100 /var/lib/dpkg/status

  # apt-cache policy vlan
  vlan:
    Installed: 1.9-3.2ubuntu1
    Candidate: 1.9-3.2ubuntu1
    Version table:
   *** 1.9-3.2ubuntu1 0
          500 http://172.16.42.88/ubuntu/ xenial/main amd64 Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1519120/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to