Skip to contentSkip to conversation

Networking between QEMU 0.8 on WinXP (Host) and NetBSD (Guest)

Qemu-devel Andrew Leach 2 participants 2 messages Jan 22, 2006 – Jan 23, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

I'm new to QEMU but have been sufficiently impressed (well done to all involved) to try and get my networking working!

I've installed the OpenVPN Tap driver (and called it QEMU) and have bridged the Tap device with my existing Wifi adapter. This appears to be fine.

However, when I start QEMU it complains about the invalid option '-net tap'. Here's the start command in the batch file:

START qemu-system-x86_64.exe -L . -m 128 -boot c -cdrom netbsd-amd64pkg-3.0.iso -hda netbsd.img -soundhw sb16 -localtime -net nic -net tap,QEMU

What am I doing wrong? Is there any simple how to documentation available for version 0.8? Can anyone offer me some assistance?

Thanks, Hovis

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 11 lines · Andrew Leach

Hi,

I'm new to QEMU but have been sufficiently impressed (well done to all involved) to try and get my networking working!

I've installed the OpenVPN Tap driver (and called it QEMU) and have bridged the Tap device with my existing Wifi adapter. This appears to be fine.

However, when I start QEMU it complains about the invalid option '-net tap'. Here's the start command in the batch file:

Quoted 8 lines

START qemu-system-x86_64.exe -L . -m 128 -boot c -cdrom netbsd-amd64pkg-3.0.iso -hda netbsd.img -soundhw sb16 -localtime -net nic -net tap,QEMU

What am I doing wrong? Is there any simple how to documentation available for version 0.8? Can anyone offer me some assistance?

Thanks, Hovis

Hovis,
There is no *official* -net tap option, but there is a patch for it. However, if you are choosing to go the OpenVPN route, there is no need to use the -net tap option at all. What you need to do is install your guest OS, then install the OpenVPN client onto your guest and connect it to your host. Once that is completed, your network will work properly. You made the correct choice to use bridging in order to get your networking set up.

- -Joseph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFD1N/0mXZROF+EADURAj1TAJ9P2O1jnuw/PYwNNc6jRZ9wuVqzGwCggTL+ S15HFlJftrfyjH5UKXqC65I=
=qbNF
-----END PGP SIGNATURE-----