netbox-community / netbox

The premier source of truth powering network automation. Open source under Apache 2. Try NetBox Cloud free: https://netboxlabs.com/free-netbox-cloud/
http://netboxlabs.com/oss/netbox/
Apache License 2.0
16.33k stars 2.6k forks source link

mac address model - OUI / group tracking #18040

Open ITJamie opened 3 days ago

ITJamie commented 3 days ago

NetBox version

v4.2-feature branch

Feature type

Data model extension

Triage priority

N/A

Proposed functionality

Extend the new MacAddress model (4.2) in NetBox to include the concept of MAC address prefixes or Organizationally Unique Identifiers (OUIs). This feature would allow users to:

Use case

This functionality benefits organizations that own custom OUIs and need to manage their MAC address allocations efficiently. By tracking OUIs and associated MAC addresses, users can:

we for example assign subsets of OUI's to vps clusters so we know where vm's exist in our infrastructure just by looking up the mac oui even if that vm isnt documented in netbox.

Database changes

Create a New OUI Model/Table:

Modify the Existing MacAddress Model:

External dependencies

No response

sleepinggenius2 commented 2 days ago

It would be really nice if this could also allow loading in data from the IEEE registry: MA-L - https://standards-oui.ieee.org/oui/oui.csv MA-M - https://standards-oui.ieee.org/oui28/mam.csv MA-S - https://standards-oui.ieee.org/oui36/oui36.csv