Skip to content

QEMU Windows 11 guest cannot access internet #289

@simonflick

Description

@simonflick

Happy new year 🙂

I have migrated a VM to a fresh CachyOS installation but it could not access the internet.

Setting firewall_backend = "iptables" in /etc/libvirt/network.conf fixed it. Maybe this could be added to QEMU and VMM Setup or made a default config.

My VM network configuration differs from the default:

<interface type="network">
  <mac address="#######"/>
  <source network="default" portid="#######" bridge="virbr0"/>
  <target dev="vnet2"/>
  <model type="virtio"/>
  <link state="up"/>
  <alias name="net0"/>
  <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
</interface>

I think I did this because it is supposed to improve performance. Maybe this tweak is only needed for such a network interface. But I'm no expert on QEMU.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions