Here is a pastebin of the situation and how I tried to resolve this : https://pastebin.ubuntu.com/p/c6cfKqvBmN/
Unfortunately, the interface stays "unmanaged".
When I check the netplan source (https://github.com/CanonicalLtd/netplan/blob/master/netplan/cli/commands/apply.py#L128), it just stops systemd-networkd service, then start it after generating the file.
Here is a pastebin of the situation and how I tried to resolve this : https:/ /pastebin. ubuntu. com/p/c6cfKqvBm N/
Unfortunately, the interface stays "unmanaged".
When I check the netplan source (https:/ /github. com/CanonicalLt d/netplan/ blob/master/ netplan/ cli/commands/ apply.py# L128), it just stops systemd-networkd service, then start it after generating the file.