I have been using LXD 4.0.6 & Ubuntu 20.04 with no problem.
For some reason, I have to use Ubuntu 18.04 instead and the default version of LXD on it is 3.0.3.
I went through exact the same procedure as before with Ubuntu 20.04. But somehow the container couldn’t get IP. Please help me on how to debug this issue. Thanks.
Below is the macvlan profile.
description: Default LXD profile