Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-20-2006, 11:58 AM   #1
Registered: Feb 2002
Posts: 322

Rep: Reputation: 30
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.

Old 03-03-2006, 08:44 AM   #2
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Have a look at
Old 03-03-2006, 11:35 AM   #3
Registered: Feb 2002
Posts: 322

Original Poster
Rep: Reputation: 30
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Qemu networking Again?! depam Linux - Software 6 02-28-2006 10:24 AM
qemu Networking, snapshot, disc swapping depam Linux - Software 0 02-18-2006 05:57 AM
QEMU networking bridge not working tisource Linux - Software 1 02-01-2006 02:29 PM
qemu--getting Samba networking going dgermann Linux - Networking 2 01-08-2006 03:47 PM
Qemu Emulation of Win32/MacOSX Support/Tutorial on Linux initialdrifteg6 Linux - Software 12 02-15-2005 01:32 PM

All times are GMT -5. The time now is 02:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration