You are not logged in.
My virtual machines aren't getting assigned an ip address on the host or client side. I've tried reverting back to a previous version of qemu/virt-manager and I've also waited for the next version to see if that would fix my issues, but so far no luck.
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 10:7b:44:92:cf:dd brd ff:ff:ff:ff:ff:ff
altname enx107b4492cfdd
inet 192.168.0.2/24 brd 192.168.0.255 scope global dynamic noprefixroute enp4s0
valid_lft 74934sec preferred_lft 74934sec
inet6 fe80::a261:9fcf:acc4:2bf5/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: wlp9s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether f2:7b:b6:f6:74:2a brd ff:ff:ff:ff:ff:ff permaddr 98:de:d0:48:8f:64
altname wlx98ded0488f64
4: wlp5s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether be:b6:18:6a:d4:31 brd ff:ff:ff:ff:ff:ff permaddr f8:28:19:b5:cb:5d
altname wlxf82819b5cb5d
5: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc htb state DOWN group default qlen 1000
link/ether 52:54:00:a2:51:56 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
brctl show
bridge name bridge id STP enabled interfaces
virbr0 8000.525400a25156 yes
virsh net-list
Name State Autostart Persistent
--------------------------------------------
default active yes yes
virsh net-info --network default
Name: default
UUID: 65c8e418-01c0-450f-a5f8-a8ecb07c9021
Active: yes
Persistent: yes
Autostart: yes
Bridge: virbr0
Last edited by jbreese321 (2025-01-04 22:12:12)
Offline
Please review the wiki article and see if you have missed anything: https://wiki.archlinux.org/title/QEMU#Networking
Offline
Which version of qemu do you use? With the 9.1.* for me all was fine but with 9.2.* I have the same issues. Especially it seems IPV6 does work but not ipv4 via dhcp.
Offline
your virbr0 bridge isn't attached to any interfaces:
brctl show
bridge name bridge id STP enabled interfaces
virbr0 8000.525400a25156 yes
eg:
brctl show
bridge name bridge id STP enabled interfaces
vmbr0 8000.ecf4bbdd73fc no eno3
Offline
xtra/libvirt 1:10.10.0-2 [installed]
extra/qemu-audio-alsa 9.2.0-1 [installed]
extra/qemu-audio-dbus 9.2.0-1 [installed]
extra/qemu-audio-jack 9.2.0-1 [installed]
extra/qemu-audio-oss 9.2.0-1 [installed]
extra/qemu-audio-pa 9.2.0-1 [installed]
extra/qemu-audio-pipewire 9.2.0-1 [installed]
extra/qemu-audio-sdl 9.2.0-1 [installed]
extra/qemu-audio-spice 9.2.0-1 [installed]
extra/qemu-base 9.2.0-1 [installed]
extra/qemu-block-curl 9.2.0-1 [installed]
extra/qemu-block-dmg 9.2.0-1 [installed]
extra/qemu-block-gluster 9.2.0-1 [installed]
extra/qemu-block-iscsi 9.2.0-1 [installed]
extra/qemu-block-nfs 9.2.0-1 [installed]
extra/qemu-block-ssh 9.2.0-1 [installed]
extra/qemu-chardev-baum 9.2.0-1 [installed]
extra/qemu-chardev-spice 9.2.0-1 [installed]
extra/qemu-common 9.2.0-1 [installed]
extra/qemu-desktop 9.2.0-1 [installed]
extra/qemu-docs 9.2.0-1 [installed]
extra/qemu-emulators-full 9.2.0-1 [installed]
extra/qemu-full 9.2.0-1 [installed]
extra/qemu-guest-agent 9.2.0-1 [installed]
extra/qemu-hw-display-qxl 9.2.0-1 [installed]
extra/qemu-hw-display-virtio-gpu 9.2.0-1 [installed]
extra/qemu-hw-display-virtio-gpu-gl 9.2.0-1 [installed]
extra/qemu-hw-display-virtio-gpu-pci 9.2.0-1 [installed]
extra/qemu-hw-display-virtio-gpu-pci-gl 9.2.0-1 [installed]
extra/qemu-hw-display-virtio-vga 9.2.0-1 [installed]
extra/qemu-hw-display-virtio-vga-gl 9.2.0-1 [installed]
extra/qemu-hw-s390x-virtio-gpu-ccw 9.2.0-1 [installed]
extra/qemu-hw-usb-host 9.2.0-1 [installed]
extra/qemu-hw-usb-redirect 9.2.0-1 [installed]
extra/qemu-hw-usb-smartcard 9.2.0-1 [installed]
extra/qemu-img 9.2.0-1 [installed]
extra/qemu-pr-helper 9.2.0-1 [installed]
extra/qemu-system-aarch64 9.2.0-1 [installed]
extra/qemu-system-alpha 9.2.0-1 [installed]
extra/qemu-system-alpha-firmware 9.2.0-1 [installed]
extra/qemu-system-arm 9.2.0-1 [installed]
extra/qemu-system-arm-firmware 9.2.0-1 [installed]
extra/qemu-system-avr 9.2.0-1 [installed]
extra/qemu-system-hppa 9.2.0-1 [installed]
extra/qemu-system-hppa-firmware 9.2.0-1 [installed]
extra/qemu-system-loongarch64 9.2.0-1 [installed]
extra/qemu-system-m68k 9.2.0-1 [installed]
extra/qemu-system-microblaze 9.2.0-1 [installed]
extra/qemu-system-microblaze-firmware 9.2.0-1 [installed]
extra/qemu-system-mips 9.2.0-1 [installed]
extra/qemu-system-or1k 9.2.0-1 [installed]
extra/qemu-system-ppc 9.2.0-1 [installed]
extra/qemu-system-ppc-firmware 9.2.0-1 [installed]
extra/qemu-system-riscv 9.2.0-1 [installed]
extra/qemu-system-riscv-firmware 9.2.0-1 [installed]
extra/qemu-system-rx 9.2.0-1 [installed]
extra/qemu-system-s390x 9.2.0-1 [installed]
extra/qemu-system-s390x-firmware 9.2.0-1 [installed]
extra/qemu-system-sh4 9.2.0-1 [installed]
extra/qemu-system-sparc 9.2.0-1 [installed]
extra/qemu-system-sparc-firmware 9.2.0-1 [installed]
extra/qemu-system-tricore 9.2.0-1 [installed]
extra/qemu-system-x86 9.2.0-1 [installed]
extra/qemu-system-x86-firmware 9.2.0-1 [installed]
extra/qemu-system-xtensa 9.2.0-1 [installed]
extra/qemu-tests 9.2.0-1 [installed]
extra/qemu-tools 9.2.0-1 [installed]
extra/qemu-ui-curses 9.2.0-1 [installed]
extra/qemu-ui-dbus 9.2.0-1 [installed]
extra/qemu-ui-egl-headless 9.2.0-1 [installed]
extra/qemu-ui-gtk 9.2.0-1 [installed]
extra/qemu-ui-opengl 9.2.0-1 [installed]
extra/qemu-ui-sdl 9.2.0-1 [installed]
extra/qemu-ui-spice-app 9.2.0-1 [installed]
extra/qemu-ui-spice-core 9.2.0-1 [installed]
extra/qemu-user 9.2.0-1 [installed]
extra/qemu-vhost-user-gpu 9.2.0-1 [installed]
extra/qemu-vmsr-helper 9.2.0-1 [installed]
extra/vde2 2.3.3-6 [installed]
Last edited by jbreese321 (2025-01-18 03:48:16)
Offline
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 10:7b:44:92:cf:dd brd ff:ff:ff:ff:ff:ff
altname enx107b4492cfdd
inet 192.168.0.2/24 brd 192.168.0.255 scope global dynamic noprefixroute enp4s0
valid_lft 53705sec preferred_lft 53705sec
inet6 fe80::a261:9fcf:acc4:2bf5/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: wlp9s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether d2:9e:a6:3d:8c:53 brd ff:ff:ff:ff:ff:ff permaddr 98:de:d0:48:8f:64
altname wlx98ded0488f64
4: wlp5s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 4e:a1:2a:4d:d6:28 brd ff:ff:ff:ff:ff:ff permaddr f8:28:19:b5:cb:5d
altname wlxf82819b5cb5d
5: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc htb state DOWN group default qlen 1000
link/ether 52:54:00:a2:51:56 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
Offline
When I start a virtual machine via virt-manager, an interface name vnet0 gets started.
brctl addif vnet0 virbr0
can't add virbr0 to bridge vnet0: Operation not supported
Offline