Macvlan can't get IP with Ubuntu 18.04 & LXD 3.0.3

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.

config: {}
description: Default LXD profile
name: eth0
nictype: macvlan
parent: enp5s0
type: nic
path: /
pool: default
type: disk
name: default

  • /1.0/containers/repo-bck-20210904115300