svn commit: r345151 - head/sys/net

Rodney W. Grimes freebsd at gndrsh.dnsmgr.net
Fri Mar 15 17:04:34 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.

Yes yes yes please!  Can we get the OUI assigning code collapsed to
one place, though it well need to come in dependent on a complex set
of options, or perhaps just INET and/or INET6 should drag it in.

Thanks to anyone that does this work!
> /bz
-- 
Rod Grimes                                                 rgrimes at freebsd.org


More information about the svn-src-head mailing list