diff options
author | Peter Grehan <grehan@FreeBSD.org> | 2014-05-20 02:59:13 +0000 |
---|---|---|
committer | Peter Grehan <grehan@FreeBSD.org> | 2014-05-20 02:59:13 +0000 |
commit | 6902364468ba4615bba0582ab7f8514e545745ae (patch) | |
tree | 6051855055173b6414c2ea0d0acf12e3341fada6 /sys/net | |
parent | a14f4e2fc1600715c001a94b6e826b9ca2315433 (diff) | |
download | src-6902364468ba4615bba0582ab7f8514e545745ae.tar.gz src-6902364468ba4615bba0582ab7f8514e545745ae.zip |
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
Notes
Notes:
svn path=/head/; revision=266462
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/ieee_oui.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/ieee_oui.h b/sys/net/ieee_oui.h index 3fcb96b597a1..ab7e52f6ebce 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) |