[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



# 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
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.