Want to configure network on Focal

I’m using Ubuntu Focal (bc46e34) and would like to make a persistent network configuration (static IP, etc.).

I do have network access (via DHCP).

I’ve attempted to use interfaces.d/ but it seems I didn’t experience any changes there.
Then I installed netplan (I like netplan), but still doesn’t seem to change anything.
(it’s like both interfaces.d and netplan are being ignored).

What’s the preferred way to configure network / preferred way to install netplan on the Focal image ?

Alright, found the solution.
1: Set up network ports using ls-addni dpmac.X, where the X is the port number (3…10).
2: use nmcli to configure the network’s static IP addresses, gateway and DNS addresses.