qemu-discuss
[Top][All Lists]
Advanced

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

Re: add vEthernet to QEMU


From: Michele Denber
Subject: Re: add vEthernet to QEMU
Date: Thu, 1 Feb 2024 11:37:53 -0500
User-agent: Mozilla Thunderbird

On 1/31/2024 8:29 AM, Sanjeev Kumar wrote:
Hi,
I am starting QEMU with option 

-netdev tap,id=mynet0,ifname=TAP_Ethernet,script=no,downscript=no

TAP_Ethernet is a TAP Windows Adapter v9 created using openVPN.

by this way, i am able to send data from windows to QEMU through TAP adapter.

I have the same setup but that option doesn't work for me:

qemu-system-sparc -machine SS-5 -m 64 -drive file=sunos-hdd.img,bus=0,unit=3,media=disk -device scsi-cd,channel=0,scsi-id=6,id=cdrom,drive=cdrom,physical_block_size=512 -drive if=none,file=Solaris1.1.2SPARC.iso,media=cdrom,id=cdrom -vga cg3  -netdev tap,id=mynet0,ifname=tap0,script=no,downscript=no
qemu-system-sparc: warning: netdev mynet0 has no peer
qemu-system-sparc: warning: nic lance.0 has no peer

The VM starts but ping to any host on the LAN fails.  How do you have your tap device configured?

            - Michele


reply via email to

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