WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [SPAM] Re: [Xen-users] Re: number of ips

To: Vu Pham <vu@xxxxxxxxxx>
Subject: Re: [SPAM] Re: [Xen-users] Re: number of ips
From: Anand Gupta <xen.mails@xxxxxxxxx>
Date: Mon, 13 Apr 2009 01:50:50 +0530
Cc: Xen Users <Xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 12 Apr 2009 13:22:09 -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 :date:message-id:subject:from:to:cc:content-type; bh=Ob/HW+vrr6LexbqBGP8yp00lXFojXPRMu9hA0RkccRY=; b=wnrFAfjkbS4y2BHPhO0nviXA7dcP/hFZAn0YdHjYsrbTluqOkb0tzzlTdzjNHeR1Rj 57XagNflYthwkaGL+Bm0FFZU+drXKw6wv7G/if8Iwk/QmVbhI9hJCDw+GOww8I3V3KtN XvlkvHyWoCoOqo2MDRlXwy+nslsiAoERyk0x4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=XhMnTww7SdMF/BvCD6E1eI8aZEURQLdHDTblUxIu0Fa4SOX6qdbFmQrNQtU/z5xKPL f3vxUyfoToRVrkSoba8ujxxgZMnWg1liwuYEYONQVhGp5/eV2fict+LksFYzBLNyjDpF Uj3Le2CWp+SvWt1empymOrhjAf1CvO1YcvJW4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49E14976.5010108@xxxxxxxxxx>
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: <acb757c00904090609y3975792dgd89d28e843ee9ee@xxxxxxxxxxxxxx> <op.ur7y4munrtqp7s@chiyo> <op.ur73w6jnrtqp7s@chiyo> <49E0EDD2.8060201@xxxxxxxxxx> <7207d96f0904111408m458c90b4i41a815caf46a904f@xxxxxxxxxxxxxx> <acb757c00904111608m7fb4de26uac0e32e77d767a4a@xxxxxxxxxxxxxx> <49E14976.5010108@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Vu,

On Sun, Apr 12, 2009 at 7:22 AM, Vu Pham <vu@xxxxxxxxxx> wrote:

Anand Gupta wrote:
Hi Fajar,

Is is possible for all practical purposes that we create different bridges for each domU ? An traffic for each of them go through their respective bridges ? If yes, can this be automated in some way ?


What do you mean by "automated" ?

On my test Xen server , I need to generate some virtual networks ( virbrX ) and some domUs on those networks, I use a bash script to generate the network xml files ( you can see the template from /etc/libvirt/qemu/networks/default.xml  and http://libvirt.org/formatnetwork.html for their xml tags ). For domUs, I also use a bash script to generate their /etc/xen/ files and assign their network devices to the corresponding virbrX devices.

I have a small problem that libvirtd always add NAT for my virtual networks even if I have mode="route" in the network xml file. Currently I have to remove those masquerate commands out of my iptables.

Vu

What you do with the bash script is exactly what i meant by saying "automated" ;)

The only thing left to test would be the ebtables patch, which i am gonna do so and post results in this thread. Hope it will help someone else who is looking for the same solution.


--
regards,

Anand Gupta
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users