On Thu, Feb 1, 2024 at 5:39 PM Michele Denber <mden...@gmx.com> wrote:

> 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
>

Hi,

This is from our guide to qemu-system-ppc with tap networking:

Install an OpenVPN tap device and bridge it with your normal ethernet
connection. Then use the following on the Qemu-system-ppc command line:

-device sungem,netdev=network01
-netdev tap,ifname=TapEthernet1,id=network01
(replace “TapEthernet1” with the name of the tap device as shown in the
Windows network connections)
 Which works just fine for qemu-system-ppc guests without configuring
anything else on the tap device. You need both these lines, otherwise the
lance network device indeed has no peer:

-device lance,netdev=mynet0
-netdev tap,ifname=TAP_Ethernet,id=mynet0

and then configure the network in the solaris guest....

Best,
Howard

Reply via email to