Linux.com

Author Message
Joined: Jun 30, 2008
Posts: 148
Other Topics
Posted Aug 25, 2008 at 2:54:54 AM
Subject: QEMU networking question
Hello. My networking skills are a bit limited (more of a beginning CGI programmer)... I use Mandy 2008 spring at home. I installed QEMU and the QEMU Launcher on it, which I then used to create a virtual machine running Ubuntu Server 7.10. The purpose of this virtual machine is to be a testing environment for scripts and HTML before I upload them to my website. (Side note: I wanted to use VirtualBox, but I couldn't get Ubuntu Server to boot inside Virtualbox -- something about a missing kernel module I think.) From inside the VM, I can access the outside world (the internet) fine. However, I would like to be able to access the VM from outside of the VM. That is, to be able to do things like SSH into it from my Mandy desktop, and to access the web pages it is serving out. I accomplished the latter by QEMU Launcher port forwarding feature, but it is a bit akward a setup. Which of these options in the QEMU Launcher is the one I am looking for?: - Use the user mode network stack - Open a TUN/TAP interface - Use an already open TUN/TAP interface - Open a listening TCP socket - Use an already open TCP socket - Connect to a listening TCP socket - Created shared VLAN via UDP multicast socket - Use an already open UDP multicast socket My main goal is to access the VM networking daemons (ssh, http, etc) from the host OS. The VM doesn't have to be accessable from anywhere else on my network (though that wouldn't hurt anything). Thanks in advance.

PerlCoder (http://indicium.us)

Back to top Profile Email Website
Shashank Sharma
Joined Jan 01, 1970
Posts: 1657
Location:New Delhi, India

Other Topics
Posted: Sep 05, 2008 3:53:23 PM
Subject: QEMU networking question
I guess you should just use NAT http://opensolaris.org/os/project/qemu/Qemu_Networking/

Coauthor of Beginning Fedora: From Novice to Professional published by Apress.

Please follow the Forum Guidelines

Back to top Profile Email Website Yahoo!
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya