In NetworkManager there exists the "connection.multi-connect" setting,
to allow a connection profile to be applied to multiple interfaces.
Netplan can currently control it through its
"networkmanager.passthrough" setting, e.g.:


network:
  version: 2
  renderer: NetworkManager
  ethernets:
    all-en:
      match:
        name: "en*"
      dhcp4: true
      networkmanager:
        passthrough:
          connection.multi-connect: 3

according to man nm-settings(5):
"
       connection.multi-connect
           Specifies whether the profile can be active multiple times at a 
particular moment. The value is of type
           NMConnectionMultiConnect.

           Format: choice (NMConnectionMultiConnect)

           Valid values: default (0), single (1), manual-multiple (2), multiple 
(3)
"

Maybe Netplan should default to "multiple (3)" to match the same
behavior as on systemd-networkd.

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

Title:
  netplan plugin: generated NM config when using globbing will be used
  for only one connection

To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/2012902/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to