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] bridge interfaces in dom0

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] bridge interfaces in dom0
From: Jaroslaw Zdrzalek <jz@xxxxxxxxxx>
Date: Fri, 10 Nov 2006 19:32:27 +0100
Delivery-date: Mon, 13 Nov 2006 06:59:34 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <2f8462f30611091411lc892135q6da6e2160d0394f1@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <2f8462f30611091411lc892135q6da6e2160d0394f1@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.5
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

<Prev in Thread] Current Thread [Next in Thread>