Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Qemu Guest (Win10) networking not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1608
Location: Adelaide/Australia

PostPosted: Sat Mar 01, 2025 12:41 pm    Post subject: Qemu Guest (Win10) networking not working Reply with quote

Windows 10 Guest cannot see LAN nor internet.
It used to work, not long ago, not sure where things went wrong.
Any assistance would be appreciated.

My home LAN is quite simple, no vlans, subnets, etc.

Host is Gentoo
Code:
# uname -a
Linux Lyalls-PC 6.12.16-gentoo #1 SMP PREEMPT_DYNAMIC Sat Mar  1 21:36:02 ACDT 2025 x86_64 Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz GenuineIntel GNU/Linux


Code:
app-emulation/qemu
     Installed versions:  9.1.2^t(04:17:01 21/02/25)(aio alsa bzip2 curl fdt filecaps fuse gnutls gtk io-uring jemalloc jpeg keyutils multipath ncurses nls opengl oss pam pin-upstream-blobs pipewire plugins png pulseaudio python sasl sdl sdl-image seccomp slirp spice ssh udev usb usbredir vde vhost-net virgl virtfs vnc vte xattr zstd -accessibility -bpf -capstone -debug -doc -glusterfs -infiniband -iscsi -jack -lzo -nfs -numa -rbd -selinux -smartcard -snappy -static-user -systemtap -test -xdp -xen PYTHON_TARGETS="python3_12 -python3_11 -python3_13" QEMU_SOFTMMU_TARGETS="x86_64 -aarch64 -alpha -arm -avr -cris -hppa -i386 -loongarch64 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -or1k -ppc -ppc64 -riscv32 -riscv64 -rx -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -xtensa -xtensaeb" QEMU_USER_TARGETS="x86_64 -aarch64 -aarch64_be -alpha -arm -armeb -cris -hexagon -hppa -i386 -loongarch64 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -or1k -ppc -ppc64 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc64 -sparc32plus -xtensa -xtensaeb")

Using
Code:
app-emulation/virt-manager
Installed versions:  4.1.0-r1^t(04:29:43 02/12/24)(gui policykit -sasl -test PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11")

Windows 10 guest has SPICE Guest Tools 0.141 installed as well as virtio-win-guest-tools 0.1.240
Host
Code:
# 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 brd 127.255.255.255 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host proto kernel_lo
       valid_lft forever preferred_lft forever
2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 1a:3c:7b:8d:77:da brd ff:ff:ff:ff:ff:ff
3: enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 70:4d:7b:67:83:60 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.158/24 brd 192.168.0.255 scope global noprefixroute enp0s31f6
       valid_lft forever preferred_lft forever
    inet6 2403:580d:c215:0:3c5c:cd88:bfa:17a7/64 scope global dynamic mngtmpaddr noprefixroute
       valid_lft 300sec preferred_lft 300sec
    inet6 fe80::16:cb73:9a0b:20c8/64 scope link
       valid_lft forever preferred_lft forever
4: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/ipip 0.0.0.0 brd 0.0.0.0
5: ip_vti0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/ipip 0.0.0.0 brd 0.0.0.0
6: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/sit 0.0.0.0 brd 0.0.0.0
7: virbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc htb state UP group default qlen 1000
    link/ether 52:54:00:a8:44:e7 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
18: vnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master virbr0 state UNKNOWN group default qlen 1000
    link/ether fe:54:00:dc:28:51 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc54:ff:fedc:2851/64 scope link proto kernel_ll
       valid_lft forever preferred_lft forever

Guest NIC setup
Code:
<interface type="network">
  <mac address="52:54:00:dc:28:51"/>
  <source network="default" portid="b3663b2f-c3aa-4c1a-9d53-218b97a0c3a8" bridge="virbr0"/>
  <target dev="vnet1"/>
  <model type="e1000e"/>
  <alias name="net0"/>
  <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
</interface>

Guest
Code:
C:\Users\Support>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : Lyalls-Win10-VM
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Ethernet 3:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel(R) 82574L Gigabit Network Connection
   Physical Address. . . . . . . . . : 52-54-00-DC-28-51
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::a893:c121:8d87:d976%13(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.122.51(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Saturday, 1 March 2025 10:58:06 PM
   Lease Expires . . . . . . . . . . : Sunday, 2 March 2025 12:03:05 AM
   Default Gateway . . . . . . . . . : 192.168.122.1
   DHCP Server . . . . . . . . . . . : 192.168.122.1
   DHCPv6 IAID . . . . . . . . . . . : 374494208
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-2C-ED-FB-4A-08-00-27-1F-C4-AA
   DNS Servers . . . . . . . . . . . : 192.168.122.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

_________________
...Lyall
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum