From owner-freebsd-virtualization@FreeBSD.ORG Mon Nov 4 16:26:42 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8A732630 for ; Mon, 4 Nov 2013 16:26:42 +0000 (UTC) (envelope-from michael.berman@tidalscale.com) Received: from smtp141.ord.emailsrvr.com (smtp141.ord.emailsrvr.com [173.203.6.141]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 61B242124 for ; Mon, 4 Nov 2013 16:26:41 +0000 (UTC) Received: from smtp22.relay.ord1a.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp22.relay.ord1a.emailsrvr.com (SMTP Server) with ESMTP id 0242F2001E0; Mon, 4 Nov 2013 11:20:46 -0500 (EST) X-SMTPDoctor-Processed: csmtpprox 2.7.4 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp22.relay.ord1a.emailsrvr.com (SMTP Server) with ESMTP id E8A9E2002EE; Mon, 4 Nov 2013 11:20:46 -0500 (EST) X-Virus-Scanned: OK Received: from smtp192.mex05.mlsrvr.com (unknown [184.106.31.85]) by smtp22.relay.ord1a.emailsrvr.com (SMTP Server) with ESMTPS id 953BB2001E0; Mon, 4 Nov 2013 11:20:46 -0500 (EST) Received: from ORD2MBX05C.mex05.mlsrvr.com ([fe80::90e2:baff:fe30:7498]) by ORD2HUB17.mex05.mlsrvr.com ([fe80::be30:5bff:feee:e494%15]) with mapi id 14.03.0158.001; Mon, 4 Nov 2013 10:20:46 -0600 From: Michael Berman To: Peter Grehan Subject: Re: how is the MAC for tap(4) computed? Thread-Topic: how is the MAC for tap(4) computed? Thread-Index: AQHO2Tdq6yIx73mh6UyJrpKbCYa+LJoVhbaA//+7fPM= Date: Mon, 4 Nov 2013 16:20:45 +0000 Message-ID: <89C04F5A-A2E6-4738-AB0C-4DADDE8DCC58@tidalscale.com> References: , <5277AE77.8050804@freebsd.org> In-Reply-To: <5277AE77.8050804@freebsd.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Nov 2013 16:26:42 -0000 Peter, lost the last part of your message ... An alternative would be hashing the vm name with the host name and host MAC= address. Sent from my iPhone > On Nov 4, 2013, at 6:26 AM, "Peter Grehan" wrote: >=20 > Hi Aryeh, >=20 >> There seems to be a very high rate of MAC address collisions when tap is >> running on different machines.... is there anyway to make the selection = of >> MAC more random >=20 > Do you mean, tap(4) when used with bhyve ? If so, bhyve calculates the MA= C address for adapters based on an md5 hash of the PCI slot/function and VM= name. If you use the same bhyve configuration on a different machine, the = MAC address will be the same. >=20 > If that's the problem, you may want to supply your own MAC address with t= he "mac=3D" parameter on the command line e.g. >=20 > later, >=20 > Peter. >=20 > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@free= bsd.org"