Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2019 20:14:14 +0000
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        "Kyle Evans" <kevans@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r345151 - head/sys/net
Message-ID:  <51089C2A-A135-445E-B733-02654C5F8B68@lists.zabbadoz.net>
In-Reply-To: <201903141948.x2EJmhvY075110@repo.freebsd.org>
References:  <201903141948.x2EJmhvY075110@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 14 Mar 2019, at 19:48, Kyle Evans wrote:

> Author: kevans
> Date: Thu Mar 14 19:48:43 2019
> New Revision: 345151
> URL: https://svnweb.freebsd.org/changeset/base/345151
>
> Log:
>   ether_fakeaddr: Use 'b' 's' 'd' for the prefix
>
>   This has the advantage of being obvious to sniff out the designated 
> prefix
>   by eye and it has all the right bits set. Comment stolen from ffec.
>
>   I've removed bryanv@'s pending question of using the FreeBSD OUI 
> range --
>   no one has followed up on this with a definitive action, and there's 
> no
>   particular reason to shoot for it and the administrative overhead 
> that comes
>   with deciding exactly how to use it.

Yay.  iflib_gen_mac() has already thought kind-of similar and just took 
the entire(?) FreeBSD space for doing the same.  That code should be 
merged as well.

Bhyve is using a good chunk from the FreeBSD allocation; see 
sys/net/ieee_oui.h also for allocation guidelines (if I don’t 
misremember).

The fact that it might need figuring out should not prevent us from 
doing it right .. the third time .. maybe .. this time?

epair(4) is yet another one of the cloned interfaces which does magic 
for the ethernet addresses, not sure what else.


/bz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51089C2A-A135-445E-B733-02654C5F8B68>