0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Macでローカルネットワークのホスト名とIPを検索

Last updated at Posted at 2021-10-19

IPからホスト名検索

smbutil -v status -ae 192.168.100.150

//下記情報が出力される
NetBIOS Name                     Number  Type    Description
QNAP220                          0x00    UNIQUE  [Workstation Service]
QNAP220                          0x03    UNIQUE  [Messenger Service]
QNAP220                          0x20    UNIQUE  [File/Print Server Service]
WORKGROUP                        0x00    GROUP   [Domain Name]
WORKGROUP                        0x1e    GROUP   [Browser Service Elections]

ホストからIP検索

smbutil lookup QNAP220

//下記情報が出力される
Got response from 192.168.100.150
IP address of QNAP220: 192.168.100.150
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?