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-devel

Re: [Xen-devel] vif0.0/veth0 or eth0

To: Nicholas Lee <emptysands@xxxxxxxxx>
Subject: Re: [Xen-devel] vif0.0/veth0 or eth0
From: Robbie Dinn <robbie@xxxxxxxxxxxx>
Date: Mon, 20 Feb 2006 09:51:41 +0000
Cc: Xen development list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 20 Feb 2006 10:04:49 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <2b6116b30602191821n39c8b2f6y@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <2b6116b30602191821n39c8b2f6y@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0 (X11/20041207)
Nicholas Lee wrote:
When does vif0.0 get created?
don't know

Is there some shell magic?
Are you using bridging?
If so, I think I know this!
look for shell function 'op_start' in file /etc/xen/scripts/network-bridge


I'm trying to figure out how to do a similar peth1/veth1 split for eth1.

Maybe it is as simple as replacing /etc/xen/scripts/network-bridge
with a wrapper that invokes the original /etc/xen/scripts/network-bridge
twice, each time with different values for environment variables
vifnum, bridge, and netdev. Those environment variables are documented
at the top of /etc/xen/scripts/network-bridge.

quoting from /etc/xen/xend-config.sxp:
# It is possible to use the network-bridge script in more complicated
# scenarios, such as having two outgoing interfaces, with two bridges, and
# two fake interfaces per guest domain.  To do things like this, write
# yourself a wrapper script, and call network-bridge from it, as appropriate.
#

HTH

Robbie Dinn

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

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