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] fully separated virtual interfaces

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] fully separated virtual interfaces
From: Martin Goldstone <m.j.goldstone@xxxxxxxxxxxxxxx>
Date: Thu, 24 May 2007 16:02:46 +0100
Delivery-date: Thu, 24 May 2007 08:01:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <f38cf2b60705240736s26f06b37jbd159454f9c743a7@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: <f38cf2b60705240736s26f06b37jbd159454f9c743a7@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.0 (Windows/20070326)
We're using a script to do a similar thing:

#!/bin/sh
dir=$(dirname "$0")
"$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=xenbr0
"$dir/network-bridge" "$@" vifnum=1 netdev=eth1 bridge=xenbr1

You'll obviously need to change your xend config file to use this script instead of network-bridge.

A very similar script is included in Xen 3.1 (not sure about earlier versions), called multi-bridge in /etc/xen/scripts.

Obviously, you'll need to specify in each guest's config file which bridge to use (in the vif line, bridge=xenbr0 or bridge=xenbr1)

Hope this helps,

Martin


Mohammad Zohny wrote:
I have 2 network interfaces on a XEN host (SLES10, xen 3.0.4)

eth0: 192.168.0.1
eth1: 172.16.0.1

and I have 2 xen guests.
can I get the two guest systems fully separated from each others, by creating 2 bridges and each bridge
connect to different physical interface?

i.e. : eth0 --> xenbr0 --> vif1.0
and eth1 --> xenbr1 --->vif2.0

and how to do that?

please, I need help in this issue urgently.


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

Attachment: m.j.goldstone.vcf
Description: Vcard

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>