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

Re: [Xen-users] One physical NIC and multiple bridges


  • To: Maresa Nirwan <parampat@xxxxxxxxxxx>, xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.