svn commit: r345151 - head/sys/net

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Thu Mar 14 20:14:21 UTC 2019


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


More information about the svn-src-all mailing list