#StackBounty: #networking #netplan Netplan – How to describe veth peer links?

Bounty: 50

I want to peer connect between two bridges in my netplan configuration.

Under iproute2 the commands would be:

ip link add dev vethb1 type veth peer name vethb2       
brctl addif br1 vethb1
brctl addif br2 vethb2

I’m porting from OpenVSwitch, so it’s possible I’m thinking about this the wrong way.

Unfortunately, the netplan documentation doesn’t seem to cover all device types, particularly veth. Although it does mention veth in terms of matching, so there’s some part of netplan that must know what it means.

I’ve tried doing a vlan with no id but it expects an id.

Creating an ethernet doesn’t seem to accept a type or peer attribute.

What does a veth peer link look like in a netplan config?

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.