Score:0

Configuring VLAN QoS Mapping through netplan

io flag

I am trying to setup a VLAN via netplan with a specific QoS mapping so that I can prioritize traffic through that (virtual) interface. However, I cannot seem to find any way to do that given the available options within netplan, which appears to lack several of the features ip/iproute does.

For instance, I configure a VLAN for an Ubuntu 20.04 LTS device like so using ip-link:

sudo ip link add link enp87s0 name enp87s0.5 type vlan id 5 mvrp on egress-qos-map 0:3 1:0 2:1 3:2 4:4 5:5 6:6 7:7

Is there a way to do the equivalent through netplan? I do not see a way to set mvrp nor the QoS mapping. I see how to create a VLAN linked to a particular interface and with its own IP, but netplan's VLAN options seem sparse.

The main reason I wanted to use netplan is that, by my understanding, its configurations will persist across reboots whereas ip-link does not. Please let me know if this understanding is incorrect.

Thanks, I appreciate any help!

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.