[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SPAM] Re: [Xen-users] Re: number of ips
- To: Vu Pham <vu@xxxxxxxxxx>
- 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
- 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=
- List-id: Xen user discussion <xen-users.lists.xensource.com>
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
|