macOS-Simple-KVM
macOS-Simple-KVM copied to clipboard
Request: It would be great to extend the networking guide with netplan
Since Ubuntu 18.04 LTS switched to https://netplan.io/ 🙏
Specifically, what is the netplan equivalent of this:
auto br0
iface br0 inet dhcp
bridge_ports DEVICENAME tap0
auto tap0
iface tap0 inet dhcp
pre-up tunctl -u MYUSERNAME -t tap0
this is the br0 stuff:
network:
version: 2
renderer: networkd
ethernets:
enp3s0:
dhcp4: no
bridges:
br0:
dhcp4: yes
interfaces:
- enp3s0
tun/tap seems to be on the roadmap still:
https://trello.com/c/Rk4kHdGg/31-add-support-for-tun-tap-devices
Once support for tun/taps are available, feel free to send a PR this way.
FWIW, here's how my launch script takes care of the tap. I have my bridge created in netplan similar to the above and my host is Pop!_OS 21.04