getmac

local network interfaces and LAN hosts

Fedora
RUN dnf install -y python3-getmac
click the source code to copy install getmac on any operating system with command-not-found.com