This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] Xen : How to configure a Proxy as DomU ?

To: Mirco Santori <mirco.santori@xxxxxxxxx>
Subject: Re: [Xen-users] Xen : How to configure a Proxy as DomU ?
From: Grant McWilliams <grantmasterflash@xxxxxxxxx>
Date: Tue, 22 Sep 2009 07:03:26 -0700
Cc: Simon Hobson <linux@xxxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 22 Sep 2009 07:04:29 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=XRJ1wt7GkuPH1vkjyirrA0MpEmAPt045l0NmQmidI5A=; b=B7TNHDL+6rRGJ8lnE5iBclyElx+sMTsu3re6nZwSze0yQh4f+greqh6/pFB1XLELA7 eDjgfaOirWxbYGV8lqt86BgMkhQqsWXQcFhqtcp0uLoBZI3CFqlE9IHCnjuOD2oePAGc SXAj2q+0hQeYKQrjTG0/uR05IgqSVbNAE+bQM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=qt0Vgovkzx6v6I+xzMVybp9CJsy1ed1TMIiW8xh91NaGF8cAGIzXz+NTkaQMTI7d3v 8EdYIWtsXZg0l00sdGmO5LyKxLNh54MfY4FbyVh4BgaN9wM47nYnwqWZ75uS+MMurKJD Sj3jdmV2aKB75WAJ+EcmcRKWK50hKTBBZy5oM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <bf0c4f970909220600w2976619y13085fc25373a175@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <bf0c4f970909220240s22dd1c98r1b28069a9a011f2a@xxxxxxxxxxxxxx> <p06240807c6de5502f96a@xxxxxxxxxxxxxxxxxxxxxx> <bf0c4f970909220422o28ff80c4qcbfdd2715c5fccad@xxxxxxxxxxxxxx> <p06240808c6de6d9abd40@xxxxxxxxxxxxxxxxxxxxxx> <bf0c4f970909220600w2976619y13085fc25373a175@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Sep 22, 2009 at 6:00 AM, Mirco Santori <mirco.santori@xxxxxxxxx> wrote:
i think to have made a wrong  question.

- I installed Dom0 with debian lenny and xen
- i configured network with the bridge method (xenbr0 - xenbr1)
- installed and configured apache with proxy module
- installed and configured two web servers with apache / php5 / mysql

all servers are connected to the internet and intranet (which allow them to work togheter in a private netork)

i dont need any help by you about proxy - web server and other stuff .. but actually i need help to configure the Dom0 in order to allow the proxy to work fine. I guess .. i missing some configuration on Dom0 with the command "route" .. seems that there is a problem with the proxy which is not able to forward the request by using xenbr0 (which is the eth0 on Dom0)

thank you so much Simon

I'm going to assume a few things here
  1. All VMs can talk to each other
  2. All VMs are connected to the xenbr0 network
  3. The Dom0 can access the real network
If these are true then I need something from you. Can you give me the output of

brctl show

Depending on your version of Xen the network is set up different ways. What we want is for the physical ethernet device to be attached to the xenbr0 if you want the VMs to communicate with the real network as if they were real Servers. You may find that you have two bridges - eth0 (which peth0 is a member) and xenbr0 (which vif1.0 and vif2.0 are members). If this is the case then traffic from the eth0 bridge will not traverse thin air and end up on xenbr0. You might need to add peth0 to xenbr0.

Grant McWilliams
Xen-users mailing list