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/
Home Products Support Community News


[Xen-changelog] Allocate MAC addresses using Xensource Inc's new OUI.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Allocate MAC addresses using Xensource Inc's new OUI.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Nov 2005 18:58:15 +0000
Delivery-date: Mon, 14 Nov 2005 18:59:31 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 504111fd562a232aee9a6705e0ac8411652cd451
# Parent  bffbe58801d01853b04967337f247b7f64af5fb4
Allocate MAC addresses using Xensource Inc's new OUI.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r bffbe58801d0 -r 504111fd562a tools/python/xen/xend/server/netif.py
--- a/tools/python/xen/xend/server/netif.py     Sat Nov 12 17:59:56 2005
+++ b/tools/python/xen/xend/server/netif.py     Mon Nov 14 10:06:25 2005
@@ -35,16 +35,16 @@
 def randomMAC():
     """Generate a random MAC address.
-    Uses OUI (Organizationally Unique Identifier) AA:00:00, an
-    unassigned one that used to belong to DEC. The OUI list is
-    available at 'standards.ieee.org'.
+    Uses OUI (Organizationally Unique Identifier) 00-16-3E, allocated to
+    Xensource, Inc. The OUI list is available at
+    http://standards.ieee.org/regauth/oui/oui.txt.
     The remaining 3 fields are random, with the first bit of the first
     random field set 0.
     @return: MAC address string
-    mac = [ 0xaa, 0x00, 0x00,
+    mac = [ 0x00, 0x16, 0x3e,
             random.randint(0x00, 0x7f),
             random.randint(0x00, 0xff),
             random.randint(0x00, 0xff) ]

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Allocate MAC addresses using Xensource Inc's new OUI., Xen patchbot -unstable <=