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] Per domain a fixed interface number?

To: Ralf Lübben <ralfluebben@xxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Per domain a fixed interface number?
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Tue, 26 Apr 2005 08:18:20 +0100
Cc: ian.pratt@xxxxxxxxxxxx
Delivery-date: Tue, 26 Apr 2005 07:18:02 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcVKKPzDHHQrgaBrRlqVZGrNGGFrIgABn9Hw
Thread-topic: [Xen-users] Per domain a fixed interface number?
> is it possible to assign a fixed interface number to a 
> domain, so when the domain starts up the intefacen number are 
> always the same? I have the problem, that I have for each 
> domain a bridge with a VLAN. So the vif of a domain have to 
> assign always to the same bridge in dom0. When I restart a 
> domain, it will get another interface number and the 
> allocation is wrong.

In the unstable repo you can set the vif's name with the 'vifname=' parameter.

However, if you reboot a domain the vif will temporarilly disappear, so any 
iptables, ebtables, routes or bridging rules will be ripped out. You need to 
reissue them when the interface comes back up -- you can do this by adding the 
rules to the vif-bridge script.

Ian

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

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