LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Looking for tutorial to help set up QEMU, networking (https://www.linuxquestions.org/questions/linux-networking-3/looking-for-tutorial-to-help-set-up-qemu-networking-417595/)

tisource 02-20-2006 10:58 AM

Looking for tutorial to help set up QEMU, networking
 
I'm looking for a QEMU tutorial to help me set up networking with QEMU 0.8. I need access to the local subnet, and I know there is a way to do it with OpenVPN (by creating a tap or tun device).

I have done this:
# openvpn --mktun --dev tap1
# qemu -m 256 -boot c -localtime -net nic,ifname=tap1 -hda winxp.img

And I get no network connectivity.

Any help (or a pointer to a good tutorial) would be highly appreciated, as I have fought this for a few weeks (on and off) now.

Thanks

peter_robb 03-03-2006 07:44 AM

Have a look at http://www.h7.dion.ne.jp/~qemu-win/TapWin32-en.html

tisource 03-03-2006 10:35 AM

I did get my networking to work. I had to add a "modprobe tun" option to get networking to work. This is my qemu command:

qemu -m 386 -boot c -localtime -net nic -net tap,ifname=tap1 -hda winxp.img -cdrom /dev/cdrom


All times are GMT -5. The time now is 09:50 PM.