How does it work?
Netplan reads network configuration from /etc/netplan/*.yaml
which are written by administrators, installers, cloud image instantiations, or other OS deployments. During early boot, Netplan generates backend specific configuration files in /run
to hand off control of devices to a particular networking daemon.
Netplan currently works with these supported renderers
this source from : https://netplan.io/