summaryrefslogtreecommitdiffstats
path: root/sys/net/ieee_oui.h
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2014-05-20 02:59:13 +0000
committergrehan <grehan@FreeBSD.org>2014-05-20 02:59:13 +0000
commitdb7a034f3642e9e3ec59b94d1987036f6d1fb1f4 (patch)
tree6051855055173b6414c2ea0d0acf12e3341fada6 /sys/net/ieee_oui.h
parentd16d9886be0715f6a8e533f12bbf8ed1918d64ed (diff)
downloadFreeBSD-src-db7a034f3642e9e3ec59b94d1987036f6d1fb1f4.zip
FreeBSD-src-db7a034f3642e9e3ec59b94d1987036f6d1fb1f4.tar.gz
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
Diffstat (limited to 'sys/net/ieee_oui.h')
-rw-r--r--sys/net/ieee_oui.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/ieee_oui.h b/sys/net/ieee_oui.h
index 3fcb96b..ab7e52f 100644
--- a/sys/net/ieee_oui.h
+++ b/sys/net/ieee_oui.h
@@ -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)
OpenPOWER on IntegriCloud