目的
arp-scanでmacアドレスのunknownを解消したいとか、あるアドレスだけ特定の名前をつけて分かるようにしておきたいとかそんな目的です。
やること
/usr/local/share/arp-scan/mac-vendor.txt
に書き込むだけ。(ubuntu18.04の場合)
他のunix系OSならディレクトリ構成はわかりませんが、
大体似たような場所にmac-vendor.txt
があると思うので探して書き込みましょう。
中を見ると
# <MAC-Prefix><TAB><Vendor>
#
# Where <MAC-Prefix> is the prefix of the MAC address in hex, and <Vendor>
# is the name of the vendor. The prefix can be of any length from two hex
# digits (one octet) to twelve hex digits (six octets, the entire Ethernet
# hardware address).
#
# For example:
#
# 012345 would match 01:23:45:xx:xx:xx, where xx represents any value;
# 0123456 would match 01:23:45:6x:xx:xx; and
# 01234567 would match 01:23:45:67:xx:xx.
と書いてあるのでその通りに書きましょう。
macアドレスはベンダーを検索するサイトがあって、ググるとたくさん出てきます。