How to get LXD containers get IP from the LAN with routed network

How to use the routed NIC type in LXD. I show how to setup individual LXD profiles with all the configuration in setting up the static IP address in the container. You can use the profile and directly launch a container with routed NIC.