lsnic - Display table of network controllers
# lsnic Bus Interface Serial Driver Description pci@0000:26:00.0 enp38s0 10:7b:44:90:00:00 igb I211 Gigabit Network Connection [8086:1539] pci@0000:29:00.0 68-05-ca-61-00-00 vfio-pci I210 Gigabit Network Connection [8086:1533] br0 42:6c:1c:88:00:00 bridge br1 10:7b:44:90:00:00 bridge
# cpan App::lsionic
This script packaged as CPAN module. This script reformats
lshw -c network -numeric output in the tabular format above. If the driver doesn't report a MAC address, it's extracted from the serial number read by
lspci(1) This script requires super user priviliges to work.
Copyright (C) 2017 Ahmad Fatoum
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.