So I tried the following and it worked for me.
- LXD host has a profile for
macvlan
containers (seemacvlan
at The LXD tutorials of Simos). - Created a container with the
macvlan
profile and nesting support, and it successfully got the network settings from DHCP (my LAN router). If you are using static network settings, you need to make sure that the IP address, the route and the DNS are OK. - Inside the nested container, I configured LXD with the default settings for nested containers.
- I created a container inside the nested container, and that container had access to the Internet.
I believe your issue is with your static network settings of the nested container. What you need to do, is write here in detail how you set up statically the network settings of the nested containers.