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

Re: [Xen-users] bridge interfaces in dom0


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Jaroslaw Zdrzalek <jz@xxxxxxxxxx>
  • Date: Fri, 10 Nov 2006 19:32:27 +0100
  • Delivery-date: Mon, 13 Nov 2006 06:59:34 -0800
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Am Donnerstag 09 November 2006 23:11 schrieb Steve Feehan:
> Hi. I have another question, hopefully easier than my last:
> 
> Do all physical interfaces in dom0 need to have an IP addresse in
> order to be used
> as a bridge by guest domains?
In dom0 you have physical interfaces, the naming is pethX,
and you have virtual ones, which are these named ethX.
Neighter the physical ones nor the bridges shoud have ip
configured. If you really nead ip traffic going from dom0 to
your domUs configure ip on ethX in Dom0 und DomU.
It is sufficient.
> 
> I thought that the interface would have to merely be "up" but not
> necessarily have an
> IP address configured since bridging is done at layer 2. But alas, if
> I don't configure
> an IP address on dom0 the bridge seems to not be usable from a guest domain.
It shoult not happen. Did you have read the howto for multiple bridges:
at the bottom, starting with:
"With Xen 3.0 the best method for additional bridges is t..."
http://wiki.xensource.com/xenwiki/XenNetworking

You also can use something like:
/etc/xen/scripts/network-bridge netdev=lan0 bridge=xenbr0 start vifnum=0
/etc/xen/scripts/network-bridge netdev=lan1 bridge=xenbr1 start vifnum=1

> 
> My motivation for this is that dom0 has 4 interfaces which could be on
> 4 networks. I
> didn't want to assign IP addresses for dom0 on ALL of these networks.
You need 4 bridges, no need to configure any ip in dom0
> 
> So am I missing something? Thanks.
> 

cheers
Jaroslaw

_______________________________________________
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®.