From: Vikram Subramanya Subject: Re: [Xen-devel] Changing MAC address of Xen domU after live migration? Date: Sun, 25 Jan 2009 15:38:58 -0800 Message-ID: <81043ff90901251538s2197e405taf910395eca9030b@mail.gmail.com> References: <81043ff90901241443u16f2dd96k23c62ee47af0919d@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0448444730==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: Carsten Schiers Cc: xen-devel , xen-users List-Id: xen-devel@lists.xenproject.org --===============0448444730== Content-Type: multipart/alternative; boundary=001517478a2e439cf6046157204f --001517478a2e439cf6046157204f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit > > 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 --001517478a2e439cf6046157204f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
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
--001517478a2e439cf6046157204f-- --===============0448444730== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --===============0448444730==--