Comparing LXD vs. LXC

now, i am curious. with a few containers, or more. can i build a multi-node multi-LAN -like network and do some complex routing, like maybe with OSPF?