From owner-freebsd-virtualization@FreeBSD.ORG Mon Nov 4 16:35:15 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 96A28BD8 for ; Mon, 4 Nov 2013 16:35:15 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 5836B21CC for ; Mon, 4 Nov 2013 16:35:15 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 13E3B12305; Tue, 5 Nov 2013 02:35:13 +1000 (EST) Received: from Peters-MacBook-Pro.local (50-197-184-177-static.hfc.comcastbusiness.net [50.197.184.177]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BPP28512 (AUTH peterg@ptree32.com.au); Tue, 5 Nov 2013 02:35:12 +1000 Message-ID: <5277CCB8.4010900@freebsd.org> Date: Mon, 04 Nov 2013 08:35:04 -0800 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Michael Berman Subject: Re: how is the MAC for tap(4) computed? References: , <5277AE77.8050804@freebsd.org> <89C04F5A-A2E6-4738-AB0C-4DADDE8DCC58@tidalscale.com> In-Reply-To: <89C04F5A-A2E6-4738-AB0C-4DADDE8DCC58@tidalscale.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:35:15 -0000 Hi Michael, > Peter, lost the last part of your message ... Doh: meant to say e.g. -s 5,virtio-net,tap0,mac=00:0c:29:3f:71:e2 > An alternative would be hashing the vm name with the host name and host MAC address. Yes, though in that case a VM will end up with a different MAC address if it's moved to a different host :( What we'll probably end up doing is to generate a UUID when a VM is created and hash off that. later, Peter.