|
From: | Howard Spoelstra |
Subject: | Re: add vEthernet to QEMU |
Date: | Fri, 2 Feb 2024 00:39:47 +0100 |
On 2/1/2024 1:13 PM, Howard Spoelstra wrote:
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
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:
-netdev tap,ifname=TapEthernet1,id=network01
(replace “TapEthernet1” with the name of the tap device as shown in the Windows network connections)
-device lance,netdev=mynet0
-netdev tap,ifname=TAP_Ethernet,id=mynet0
and then configure the network in the solaris guest....
Thanks for the reply. I had actually tried that before but that doesn't work either.
C:\Program Files\qemu>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 -device lance,netdev=mynet0 -netdev tap,id=mynet0,ifname=tap0,script=no,downscript=no
qemu-system-sparc: -device lance,netdev=mynet0: Parameter 'driver' expects a pluggable device type
- Michele
[Prev in Thread] | Current Thread | [Next in Thread] |