[Bug 268305] ether_gen_addr() uses wrong OUI range

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 15 Dec 2022 20:48:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268305

--- Comment #4 from topical <topical@gmx.net> ---
(In reply to Hans Petter Selasky from comment #1)

The only documentation is in the header file. They just state

```
 * Allocations from this range are expected to be made using COMMON
 * SENSE by developers.  Do NOT take a large range just because
 * they're currently wide open.  Take the smallest useful range for
 * your system.  We have (2^24 - 2) available addresses (see Reserved
 * Values below) but that is far from infinite.
 *
 * In the event of a conflict arbitration of allocation in this file
 * is subject to core@ approval.
```

The changelog is quite sparse. The code was added by
https://reviews.freebsd.org/D19587 back in 2019 and not really touched since
then apart from fixing typos.

Of course, it would be better to really document OUI usage. A simple command
line program to generate an OUI would be great too, but all this is beyond this
bug report.

-- 
You are receiving this mail because:
You are the assignee for the bug.