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] Random MAC addresses in Xen

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Random MAC addresses in Xen
From: "Alan Murrell" <lists@xxxxxxxxxx>
Date: Tue, 4 Apr 2006 16:01:47 -0700
Delivery-date: Tue, 04 Apr 2006 16:00:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4f52331f0604041547u5e0607a2xa51b7a2ca316697c@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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcZYOWGSxioKn3F+TLeVKjp8QpwUwQAAgMKQ
> same network.  What's the easiest way to assign MAC addresses 
> for domUs?

In the config file for the domain, put a line like this:

vif = ['mac=aa:00:00:49:ed:85,bridge=br-lan0']

Of course, replace the name of the bridge (in my case "br-lan0") with the
name of your bridge.

I have a similar line in all my DomU configs.  I don't use anything
standard; I just see what Xen gives the NIC on it's own, then use that in
the DomU config.  If you wanted to try using something "standard", you could
just change the last two digits or something.

Hope this helps.

-Alan


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

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