[Bug 1657837] Re: systemd-networkd can't add a VLAN interface to bridge

Dan Streetman 1657837 at bugs.launchpad.net
Wed Jun 30 20:05:15 UTC 2021


please reopen if this is still an issue

** Changed in: systemd (Ubuntu)
       Status: Confirmed => Won't Fix

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

Title:
  systemd-networkd can't add a VLAN interface to bridge

Status in systemd package in Ubuntu:
  Won't Fix

Bug description:
  This is apparently fixed in systemd 231:

     https://lists.freedesktop.org/archives/systemd-
  devel/2016-August/037385.html

  When systemd tries to put a VLAN interface into a bridge on Xenial, it
  fails:

  # journalctl --boot -u systemd-networkd
  Jan 15 09:16:46 hydrogen systemd[1]: Started Network Service.
  Jan 15 09:16:46 hydrogen systemd-networkd[1903]: br-mgmt: netdev exists, using existing without changing its parameters
  Jan 15 09:16:46 hydrogen systemd-networkd[1903]: br-mgmt: Could not append VLANs: Operation not permitted
  Jan 15 09:16:46 hydrogen systemd-networkd[1903]: br-mgmt: Failed to assign VLANs to bridge port: Operation not permitted
  Jan 15 09:16:46 hydrogen systemd-networkd[1903]: br-mgmt: Could not set bridge vlan: Operation not permitted
  Jan 15 09:16:59 hydrogen systemd-networkd[1903]: enp3s0: Configured
  Jan 15 09:16:59 hydrogen systemd-networkd[1903]: enp2s0: Configured

  Here are the systemd-networkd configs I used:

  root at hydrogen:/etc/systemd/network# cat enp3s0.network 
  [Match]
  Name=enp3s0
   
  [Network]
  VLAN=vlan10
  root at hydrogen:/etc/systemd/network# cat vlan10.netdev 
  [NetDev]
  Name=vlan10
  Kind=vlan
   
  [VLAN]
  Id=10
  root at hydrogen:/etc/systemd/network# cat vlan10.network 
  [Match]
  Name=vlan10
   
  [Network]
  Bridge=br-mgmt
  root at hydrogen:/etc/systemd/network# cat br-mgmt.netdev 
  [NetDev]
  Name=br-mgmt
  Kind=bridge
  root at hydrogen:/etc/systemd/network# cat br-mgmt.network 
  [Match]
  Name=br-mgmt
   
  [Network]
  Address=172.29.236.21/22

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



More information about the foundations-bugs mailing list