Bridged network inside a container for VMs

So I successfully made and run a VM inside a container using libvirt, the only problem is a network. I want to use a bridged network for VMs but I’m not sure how to do it. I tried to create a bridge inside the container itself but when I linked it to the interface something broke and the container’s IP became unavailable. Do i need to create a bridge on the host and pass it to the container? Or maybe I can use the existing host’s bridge that is used for containers network?

Is this LXC or LXD container?

I got it working, I made a second interface for the container to the same bridge:

Container interface = veth = br202 = up = 00:16:3e:02:02:03

libvirt interface = veth = br202 = up = 00:16:3e:02:02:04

Then I created a bridge in the container for eth1 and used it for VM. Everything works fine so far. I don’t know if this is the right way though.