I have a local network where all the devices receive their ip from the router. IP range is 192.168.0.XXX.

On one of those machines i want to run “home assistant operating system” inside a VM using libvirt(using cockpit webgui).

I was able to install the VM, but when I run it, it never receives a IP address. Setting one manual works, but then the VM doesn’t show up in my local network.

On the host machine I created a bridge (virbr0) and I made the nic(enp8s0) from the host member. I also made VM member of virbr0

Any ideas what i’m doing wrong?

Note that the VM also needs to become member of the local network (ip range 192.168.0.XXX) and needs to see all other members of the local network.

  • stown@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    11 months ago

    No, then the VMs would get their own subnet. You want the NIC bridged so that the router actually sees the VMs.

    • jmd_akbar
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      Gotcha. I learned something new. Thanks :)