Date: Tue, 20 May 2014 02:59:14 +0000 (UTC) From: Peter Grehan <grehan@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266462 - head/sys/net Message-ID: <201405200259.s4K2xECK055334@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405200259.s4K2xECK055334>