svn commit: r266462 - head/sys/net
Peter Grehan
grehan at FreeBSD.org
Tue May 20 02:59:14 UTC 2014
Author: grehan
Date: Tue May 20 02:59:13 2014
New Revision: 266462
URL: http://svnweb.freebsd.org/changeset/base/266462
Log:
Bump bhyve allocation up to 20 bits to avoid
birthday-paradox style address collisions when
bhyve VMs are connected to the same broadcoast
domain and are using pseudo-random allocations.
Reviewed by: gnn
MFC after: 1 week
Modified:
head/sys/net/ieee_oui.h
Modified: head/sys/net/ieee_oui.h
==============================================================================
--- head/sys/net/ieee_oui.h Tue May 20 01:17:59 2014 (r266461)
+++ head/sys/net/ieee_oui.h Tue May 20 02:59:13 2014 (r266462)
@@ -62,6 +62,6 @@
* allocated for any reason.
*/
-/* Allocate 64K to bhyve */
+/* Allocate 20 bits to bhyve */
#define OUI_FREEBSD_BHYVE_LOW OUI_FREEBSD(0x000001)
-#define OUI_FREEBSD_BHYVE_HIGH OUI_FREEBSD(0x00ffff)
+#define OUI_FREEBSD_BHYVE_HIGH OUI_FREEBSD(0x0fffff)
More information about the svn-src-all
mailing list