qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TAP Network help with QEMU 6.0.0 Win64


From: Brendan Simon (eTRIX)
Subject: TAP Network help with QEMU 6.0.0 Win64
Date: Thu, 13 May 2021 11:13:50 +1000
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1

I've just installed the Win64 build of QEMU 6.0.0.  I converted a virtualbox Debian image and can get it to run in QEMU :)  but I can't get the tap networking going :(

I have installed OpenVPN client and added Virtual Network adapters.  I can see them being connected/not connected when qemu starts, but I can't get any comms (ping/ssh) between Windows Host <-> Linux Guest.

    -netdev tap,id=mynet0,ifname=Ethernet_QEMU_Tap_1 -device e1000,netdev=mynet0,mac=52:54:98:76:54:01
    -netdev tap,id=mynet1,ifname=Ethernet_QEMU_Tap_2 -device e1000,netdev=mynet1,mac=52:54:98:76:54:02

I have my WiFi adapter setup for Internet Sharing and I selected Ethernet_QEMU_Tap_1 device to share it.
I can't get a DHCP address for that interface (`ens3` - which I verified with ifconfig and the mac address).

In Linux I can see the Ethernet_QEMU_Tap_2 device.  It is configured with NetworkManager and the device shows up as `ens4` (I can tell by the mac address that shows up in ifconfig).
It has an IP address and the routes look ok.
However I can not ping the virtual network adapter in windows land (192.168.123.2).
ifconfig status show Tx and Rx packets increasing and no errors reported.  Packets are getting lost somewhere.

How do I get this working?  Is it a Windows firewall thing or some other config?

I'm trying to replicate my VirtualBox setup.  First ethernet being NAT to get Internet access.  Second ethernet being Host-Only with static IP so I can ssh to it from the Windows host.

Thanks, Brendan.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]