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] Some examples to do xen bridges

To: "trilok nuwal" <tc.nuwal@xxxxxxxxx>
Subject: Re: [Xen-users] Some examples to do xen bridges
From: "Alan Pearson" <alandpearson@xxxxxxxxx>
Date: Wed, 28 Mar 2007 14:14:53 +0100 (BST)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 28 Mar 2007 06:13:54 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:Received:Received:Message-ID:In-Reply-To:References:Date:Subject:From:To:Cc:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:Importance; b=Mrbj5GkQlM2f8rC52hxGiFgMsVY3uhTvjTM4cucc9eUuSrhpGpaBCJByrdrWFoIKSaQRoudWf43cOd4vxImJlLZGUBU8GdISVaagqcXJAF2SPCql27sUeS+n356I9kjfG1ueBkePqnzObgzmr+tC+9lVmOLDUDGQ4YEPRgWS4pE= ;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <f58fc26d0703280559u6a02bb03i6379016897922fa9@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: <460A4F7B.3010303@xxxxxxxxx> <f58fc26d0703280559u6a02bb03i6379016897922fa9@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.6
I do this on my Xen servers, and when setting up the information was very
unclear. It's actually very simple.

Edit xend-config.sxp and change the line :

(network-script network-bridge)

To  :
(network-script my-network-script)


Then create /etc/xen/scripts/my-network-script as follows :

#!/bin/sh

# start bridges on both eth0 and eth1
XENDIR="/etc/xen/scripts"


$XENDIR/network-bridge "$@" netdev=eth0 bridge=xenbr0 vifnum=0
$XENDIR/network-bridge "$@" netdev=eth1 bridge=xenbr1 vifnum=1

-- 
AlanP

On Wed, March 28, 2007 1:59 pm, trilok nuwal wrote:
> See this documet will be a good help.
> http://wiki.xensource.com/xenwiki/XenNetworking
>
>
> On 3/28/07, carlopmart <carlopmart@xxxxxxxxx> wrote:
>>
>> Hi all,
>>
>>   Somebody can helps to setup xen bridges using ifcfg scripts on RHEL5?
>> I've got
>> three physical network interfaces and I woud like to setup three
>> different
>> xen
>> bridges like this:
>>
>> eth0 ---------> xenbr0
>> eth1 ---------> xenbr1
>> eth2 ---------> xenbr2
>>
>>   My requierement is on eth0: I need to put an ip address and on xen
>> bridges not.
>>
>> Many thanks.
>>
>> --
>> CL Martinez
>> carlopmart {at} gmail {d0t} com
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users


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