[Bug 1779341] [NEW] Regression: netplan.io does not support managing OpenVPN bridges

Johan Ehnberg johan at ehnberg.net
Fri Jun 29 14:33:14 UTC 2018


Public bug reported:

While systemd supports bringing up independent openvpn services, there
is currently no way of declaring these in netplan like it was in
/etc/network/interfaces.

Critically, it is no longer feasible to have such a device in a bridge
that is declared in netplan.

Related bugs:
https://bugs.launchpad.net/ubuntu/+source/nplan/+bug/1718227
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1779340

As a workaround, it is possible to install networkd-dispatcher and add a
script in /usr/lib/networkd-dispatcher/routable.d/ with something like
the following:

#!/bin/sh
set -e
if [ "$IFACE" = tap0 ]; then
  brctl addif br1 tap0
  ip link set tap0 promisc on
  ifmetric tap0 5
fi

** Affects: netplan.io (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1779341

Title:
  Regression: netplan.io does not support managing OpenVPN bridges

Status in netplan.io package in Ubuntu:
  New

Bug description:
  While systemd supports bringing up independent openvpn services, there
  is currently no way of declaring these in netplan like it was in
  /etc/network/interfaces.

  Critically, it is no longer feasible to have such a device in a bridge
  that is declared in netplan.

  Related bugs:
  https://bugs.launchpad.net/ubuntu/+source/nplan/+bug/1718227
  https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1779340

  As a workaround, it is possible to install networkd-dispatcher and add
  a script in /usr/lib/networkd-dispatcher/routable.d/ with something
  like the following:

  #!/bin/sh
  set -e
  if [ "$IFACE" = tap0 ]; then
    brctl addif br1 tap0
    ip link set tap0 promisc on
    ifmetric tap0 5
  fi

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1779341/+subscriptions



More information about the foundations-bugs mailing list