[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] FW: How to setup qemu as a server with different subd

From: Tony Su
Subject: Re: [Qemu-discuss] FW: How to setup qemu as a server with different subdomain on a host server?
Date: Tue, 9 Apr 2013 20:00:33 -0700

Your requirement to connect to any available network interface is why I've implemented User Mode Networking instead of binding to a pre-configured br device(I haven't found a way to satisfy the requirement using a pre-configured br).

Main caveat which I've submitted through my disto's bugzilla which may be passed upstream is that if the Host loses its network connection during or before the Guest boots, the Guest will auto re-configure looking for a traditional Virtual Network using a br device and User Mode Networking is permanently lost.

User Mode Networking is implemented either by vm manager without a configured network or specifying "-net user" in the command line.

Since User Mode Networking configures the Guest as behind the Host NAT, if you want to configure client access to the Guest you also need to configure forwarding and possibly name resolution.

IMO if you're setting up a Guest as a permanent Server, you should consider making the network connection permanent as well or put something in front that can manage varying network connections instead of configuring as I've suggested.


On Apr 9, 2013 7:19 PM, "Allen Choong" <address@hidden> wrote:
I am trying to solve a problem, with a Linux server work as host, while qemu guest will have another server intended for subdomain.
I tried to make the host to access the guest server. And I read that this can be done through bridge. But I am concerning that the bridge only works with the wired interface, because I wish to make the guest server accessed by any connection to the host server.

To simplify, I wish to setup my host server which contains the guest server as a subdomain, and the server can be accessed by other computers.

I have tried to use qemu with "redir" options, but it doesn't work with "-net user". I tried with redirection because I think I can use Apache to create the subdomain with different port.

Is there any solution?

(Besides that, I have a very poor knowledge about the networking especially bridge, tap, tun, and vlan.)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]