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

[Xen-users] Re: [Xen-devel] Changing MAC address of Xen domU after live

To: Carsten Schiers <carsten@xxxxxxxxxx>
Subject: [Xen-users] Re: [Xen-devel] Changing MAC address of Xen domU after live migration?
From: Vikram Subramanya <vikram.s3@xxxxxxxxxxx>
Date: Sun, 25 Jan 2009 15:38:58 -0800
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 25 Jan 2009 15:39:37 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=TyaVRSL759+ffnK3KVNlwgW41SypImLs0k1kXtICS8w=; b=lY+8tK/2+ZAXXGAuMaZvW5tHJpiQEOOzb+md455lzC3ak65Fz8YBDiL4Px4fUh6c+G l1A9hYJJIYNYE05YHZXfbNaHlUzFffcfgqfvmn+RKdEiuzrqW+Z1o1jp+B1r93yeUtOn z0TOKKAZqIKbMPMcsl+WTIZ8OyJzotxryr1dA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=NBXGEaHKLx3dqXFjaAzODInpAM1BmsUxtI3e7scqP+X8uLPHo7IvNEdQuuH9GF1LHv zoIR7PPRcZCJlBs7Crw2GYJQmcxnIUnet8TziAq/QlbhmPHEecVJmkbkMLvbZG4ejMHp h4mptg86D2wC2EMN36ZqkWRxfmxBlF/4BAnZU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <H000006700019f71.1232875473.uhura.space.zz@MHS>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <81043ff90901241443u16f2dd96k23c62ee47af0919d@xxxxxxxxxxxxxx> <H000006700019f71.1232875473.uhura.space.zz@MHS>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
you could specify e.g.:

 vif = [
       'mac=00:16:3E:2A:F7:18,bridge=intern',
       'mac=00:16:3E:77:AD:AA,bridge=extern',
       'mac=00:16:3E:61:A5:4F,bridge=dmz',
       'mac=00:16:3E:64:45:2A,bridge=wlan'
 ]

Thanks for your reply, but unfortunately Xen treats the various options in vif as AND instead of OR. Which means that it expects bridges intern AND extern AND dmz AND wlan on each physical host.

In my first host which had bridge 'intern,' I got this error when I tried booting Xen DomU.

"Error: Device 2 (vif) could not be connected. Could not find bridge device extern"

I want to Xen DomU to choose the bridge that is available (and not expect all the bridges to be present) on the Dom0 it is currently on, even after migration.

I am in the following situation now:
  • When DomU is on 10.2.0.2, it should have mac=00:00:10:02:00:02.
  • When it migrates to 10.3.0.1, it should have mac=00:00:10:03:00:01.

How can I get around this problem? Thanks a lot for your timely help!

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