Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Nov 2013 06:25:59 -0800
From:      Peter Grehan <grehan@freebsd.org>
To:        Aryeh Friedman <aryeh.friedman@gmail.com>
Cc:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: how is the MAC for tap(4) computed?
Message-ID:  <5277AE77.8050804@freebsd.org>
In-Reply-To: <CAGBxaXn27u3J6iJBoDkW_R2=_kcHzSBU=d0v5eDUvnoAsucSjw@mail.gmail.com>
References:  <CAGBxaXn27u3J6iJBoDkW_R2=_kcHzSBU=d0v5eDUvnoAsucSjw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Aryeh,

> 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

  Do you mean, tap(4) when used with bhyve ? If so, bhyve calculates the 
MAC 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.

  If that's the problem, you may want to supply your own MAC address 
with the "mac=" parameter on the command line e.g.

later,

Peter.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5277AE77.8050804>