netplan - multiple switchports

Asked by Diarmuid O'Briain

netplan is not allowing multiple switch ports. I want to do the following:

Put the enp3* into one switchport group and enp4* into a second switchport group which I would later in the file map to bridge interfaces. However I receive the error "Error in network definition //etc/netplan/01-netcfg.yaml line 13 column 6: unknown key sw100".

# For more information, see netplan(5).
network:
  version: 2
  renderer: networkd

  ethernets:

    enp0s25:
      dhcp4: false
      dhcp6: false

    switchports:

      sw100:
        match:{name:"enp3*"}
      sw900:
        match:{name:"enp4*"}

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Diarmuid O'Briain (laochmumhain) said :
#2

It doesn't make sense that you close the issue without anyone having been assigned to it. The problem still exists. Pleae review.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.