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: [Xen-users] One physical NIC and multiple bridges

To: Maresa Nirwan <parampat@xxxxxxxxxxx>, xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] One physical NIC and multiple bridges
From: Tom Lobato <tomlobato@xxxxxxxxx>
Date: Sat, 15 Nov 2008 20:07:10 -0200
Cc:
Delivery-date: Sat, 15 Nov 2008 14:08:23 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=AuTTFhLF6IyI0G847YymMo3xWhPii/XTO5KuLnpFTgE=; b=dJmXkv7m6WLAOk1eYitVel4Kpjoj1vTYDL0SZi2eDzWJHamvLnGtLwJEDyXajUm0fX w2v+MYKPLfjZ/VLaJhgGo1JVa4DSsKXsLx33ZTax7MALakboeBEBuSXpY1MyBhsNL/OF fkIblj9Jcw/IZnghx+Hp37OZ8FcnjqyLWvZnA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=GjHRv8mLbJE58Ah2i0qqC0AkeG0MY/b64jb/DDaoc2p/9A0I6z3weCGMtjpZRXtTiW Id2x1NutRHrTSJRGM0GxHaq6frA97gbsLu2SSgWEVyIKXoTg180qLpB794Zp3BfFUfIh oAS/+EtWsQRndq+amJ/8Bi/jQgNCwX+GarRPY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BAY107-W8B33B2440A47F4D4A7576C5110@xxxxxxx>
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: <491ED174.1010704@xxxxxxxxx> <f64d94760811150628q7dd5b0ancc5bfbd3870942a7@xxxxxxxxxxxxxx> <BAY107-W8B33B2440A47F4D4A7576C5110@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.17 (X11/20080925)
Maresa Nirwan escreveu:
I followed this guide http://wiki.xensource.com/xenwiki/XenNetworkingExamples.

One of the caveats that was making it not working for me is that in Xen 3.2, the default bridge name is the name of the physical network card. E.g if you physical network card is eth0, then your bridge name is eth0. (see http://wiki.xensource.com/xenwiki/XenNetworking#head-708d4c55f42b5e2b866c06e1ae69530e8c748799) and compare 3.1 and 3.2 networking, especially bridge name.

Once I realized that the bridge name is my physical NIC name instead of xenbr0 or xenbr1, I was able to get them to work perfectly fine. The VMs that only has Dummy0 bridge (the one with local IP) is then NAT so that they can still access internet (for updates, installing packages, etc).

There's only 1 more caveat that I'm yet to solve: that is, I'm loosing source IP on the VMs. E.g. on my HTTP VM, when I access from remote, on Apache's access log, it is logged as connection from my Dom0 IP address instead of the real source IP address. It happen for all connections, not just HTTP.

Hope this helps.

MSN

Great!
you and Gordon helped me a lot.
Since I had to use multiple dummy interfaces, I found how to make it in 2.6 kernel (using option numdummies=3 for dummy module).
So, now Im running the exact scenario that I wanted:
4 domUs, 4 bridges (3 of that attached to dummy interfaces on dum0).


Thank you all very much!


Tom Lobato

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