I bought this computer to serve as both for a router and a server running lxd, but it'll take a while to arrive.
The main issue is still the planning and I see two options for it.
The first option is to run OpenWRT on the system and run lxd inside it. This would probably be the easiest approach if lxd runs inside OpenWRT. I didn't find anyone doing this, so I wanted to know if this is possible. Does anyone know?
The second option is to run Ubuntu Server on the system, OpenWRT as an lxd container and manage the rj45 ports from inside the container. This has its advantages as well, but seems more complicated to manage. How can I let the OpenWRT container manager the port connections and still have the host Ubuntu server have access to the network to provide access to the other containers?
I guess there's also a third option which is to get some recommendation on any alternative I have not thought about. Can someone recommend a better alternative in which I can run lxd and also administer the router through an easy web interface?