how do I configure dummy interface with netplan?
I could manually configure them with systemd:
Configure the dummy interface to setup at boot:
edit /etc/systemd/network/dummy0.netdev
add
[NetDev]
Name=dummy0
Kind=dummy
edit /etc/systemd/network/dummy0.network
add
[Match]
Name=dummy0
[Network]
Address=169.254.1.1/32
how do I get the same result with netplan?
Best Answer
There is a bug: https://bugs.launchpad.net/netplan/+bug/1773997
After it is fixed you should be able to create
/etc/netplan/02-dummy.yaml
with content:And execute