查看局域网内所有的主机名、MAC地址和IP地址

本文最后更新于 2024年9月10日。

arp -a 获取所有ip

nbtstat -A 100.64.0.6 获取主机名

C:\Users\weiyo>arp -a

Interface: 10.176.121.59 --- 0x3
  Internet Address      Physical Address      Type
  10.176.121.255        ff-ff-ff-ff-ff-ff     static
  25.255.255.254        fa-00-1d-37-19-23     static
  224.0.0.2             01-00-5e-00-00-02     static
  224.0.0.22            01-00-5e-00-00-16     static
  224.0.0.251           01-00-5e-00-00-fb     static
  224.0.0.252           01-00-5e-00-00-fc     static
  224.0.0.253           01-00-5e-00-00-fd     static
  224.0.1.129           01-00-5e-00-01-81     static
  225.162.248.58        01-00-5e-22-f8-3a     static
  226.1.1.1             01-00-5e-01-01-01     static
  229.48.175.220        01-00-5e-30-af-dc     static
  230.186.243.58        01-00-5e-3a-f3-3a     static
  231.255.188.255       01-00-5e-7f-bc-ff     static
  234.21.189.117        01-00-5e-15-bd-75     static
  234.255.190.255       01-00-5e-7f-be-ff     static
  235.74.171.180        01-00-5e-4a-ab-b4     static
  235.250.229.243       01-00-5e-7a-e5-f3     static
  235.255.251.255       01-00-5e-7f-fb-ff     static
  236.255.216.255       01-00-5e-7f-d8-ff     static
  238.238.238.238       01-00-5e-6e-ee-ee     static
  239.255.255.250       01-00-5e-7f-ff-fa     static
  239.255.255.251       01-00-5e-7f-ff-fb     static
  255.255.255.255       ff-ff-ff-ff-ff-ff     static

Interface: 192.168.2.38 --- 0xb
  Internet Address      Physical Address      Type
  10.176.189.202        42-56-56-4b-82-f8     dynamic
  25.255.255.254        28-d0-f5-6d-3f-f5     dynamic
  169.254.83.107        28-d0-f5-6d-3f-f5     dynamic
  192.168.2.1           28-d0-f5-6d-3f-f5     dynamic
  192.168.2.2           48-4d-7e-b0-59-1c     dynamic
  192.168.2.3           94-d9-b3-b2-33-cb     dynamic
  192.168.2.8           2c-33-58-8c-25-8f     dynamic
  192.168.2.9           64-82-14-ed-a4-64     dynamic
  192.168.2.13          34-97-f6-8b-a5-03     dynamic
  192.168.2.16          a2-7b-00-ce-b6-e8     dynamic
  192.168.2.17          70-d8-23-87-d6-e2     dynamic
  192.168.2.21          e0-50-8b-9a-c4-b5     dynamic
  192.168.2.22          bc-03-58-7e-9f-32     dynamic
  192.168.2.23          6a-61-aa-4f-01-28     dynamic
  192.168.2.24          ca-90-8e-21-6c-34     dynamic
  192.168.2.25          4a-d4-5c-b0-f0-00     dynamic
  192.168.2.26          30-03-c8-aa-b1-f5     dynamic
  192.168.2.31          dc-45-46-4f-23-29     dynamic
  192.168.2.34          8c-ec-4b-7e-5b-a9     dynamic
  192.168.2.35          18-93-41-37-91-46     dynamic
  192.168.2.36          7c-b5-9b-b6-35-9f     dynamic
  192.168.2.39          74-86-e2-21-e5-e3     dynamic
  192.168.2.40          a8-b1-3b-93-30-07     dynamic
  192.168.2.46          02-c3-5a-4c-53-c1     dynamic
  192.168.2.47          18-93-41-43-5f-3f     dynamic
  192.168.2.48          d4-35-38-1d-6a-c4     dynamic
  192.168.2.49          bc-0f-f3-68-9f-da     dynamic
  192.168.2.54          00-e2-69-54-d9-97     dynamic
  192.168.2.55          18-93-41-0d-a3-6d     dynamic
  192.168.2.57          80-e8-2c-05-77-03     dynamic
  192.168.2.58          8c-ec-4b-8b-e4-39     dynamic
  192.168.2.59          18-93-41-0d-b1-0a     dynamic
  192.168.2.60          00-e0-4d-71-76-2c     dynamic
  192.168.2.61          c0-39-5a-e2-1c-d6     dynamic
  192.168.2.62          7c-57-58-b0-46-f0     dynamic
  192.168.2.64          f0-20-ff-95-e9-5d     dynamic
  192.168.2.65          64-6c-80-34-97-97     dynamic
  192.168.2.68          70-d8-23-85-41-ca     dynamic
  192.168.2.69          52-13-61-ea-bb-38     dynamic
  192.168.2.70          42-56-56-4b-82-f8     dynamic
  192.168.2.71          82-ca-d5-24-c8-df     dynamic
  192.168.2.72          2e-1d-b6-7f-5a-b0     dynamic
  192.168.2.73          8c-e9-ee-03-ee-68     dynamic
  192.168.2.74          30-f6-ef-9a-c8-65     dynamic
  192.168.2.75          72-96-11-6a-48-9b     dynamic
  192.168.2.77          84-7b-57-45-80-85     dynamic
  192.168.2.79          74-86-e2-21-ef-ae     dynamic
  192.168.2.81          dc-45-46-55-93-d5     dynamic
  192.168.2.82          38-ca-84-b3-6d-f6     dynamic
  192.168.2.83          18-93-41-42-83-17     dynamic
  192.168.2.87          9a-a7-f8-b8-ac-be     dynamic
  192.168.2.89          5c-60-ba-5c-fb-eb     dynamic
  192.168.2.90          18-93-41-0d-3f-59     dynamic
  192.168.2.95          b2-77-d3-30-7c-d9     dynamic
  192.168.2.98          e4-c7-67-45-5f-ec     dynamic
  192.168.2.99          18-93-41-40-33-96     dynamic
  192.168.2.102         bc-0f-f3-80-a3-ff     dynamic
  192.168.2.103         dc-45-46-64-d7-e1     dynamic
  192.168.2.105         8c-ec-4b-8b-ea-ad     dynamic
  192.168.2.107         b8-50-d8-72-dc-42     dynamic
  192.168.2.108         e0-50-8b-9a-c4-a3     dynamic
  192.168.2.110         d4-f3-2d-fa-a6-0e     dynamic
  192.168.2.116         18-93-41-30-8c-57     dynamic
  192.168.2.117         84-7b-57-45-ca-3b     dynamic
  192.168.2.119         dc-45-46-df-7f-b4     dynamic
  192.168.2.121         30-03-c8-aa-25-5b     dynamic
  192.168.2.122         dc-45-46-4f-31-4d     dynamic
  192.168.2.123         30-13-8b-8c-3e-0d     dynamic
  192.168.2.130         72-63-15-a9-7e-15     dynamic
  192.168.2.255         ff-ff-ff-ff-ff-ff     static
  192.168.7.3           28-d0-f5-6d-3f-f5     dynamic
  224.0.0.2             01-00-5e-00-00-02     static
  224.0.0.22            01-00-5e-00-00-16     static
  224.0.0.251           01-00-5e-00-00-fb     static
  224.0.0.252           01-00-5e-00-00-fc     static
  224.0.0.253           01-00-5e-00-00-fd     static
  224.0.1.129           01-00-5e-00-01-81     static
  225.162.248.58        01-00-5e-22-f8-3a     static
  226.1.1.1             01-00-5e-01-01-01     static
  229.48.175.220        01-00-5e-30-af-dc     static
  230.186.243.58        01-00-5e-3a-f3-3a     static
  231.255.188.255       01-00-5e-7f-bc-ff     static
  234.21.189.117        01-00-5e-15-bd-75     static
  234.255.190.255       01-00-5e-7f-be-ff     static
  235.74.171.180        01-00-5e-4a-ab-b4     static
  235.250.229.243       01-00-5e-7a-e5-f3     static
  235.255.251.255       01-00-5e-7f-fb-ff     static
  236.255.216.255       01-00-5e-7f-d8-ff     static
  238.238.238.238       01-00-5e-6e-ee-ee     static
  239.255.255.250       01-00-5e-7f-ff-fa     static
  239.255.255.251       01-00-5e-7f-ff-fb     static
  255.255.255.255       ff-ff-ff-ff-ff-ff     static

Interface: 10.0.0.3 --- 0xf
  Internet Address      Physical Address      Type
  10.0.0.1              5e-eb-2b-21-4b-c0     dynamic
  10.0.0.255            ff-ff-ff-ff-ff-ff     static
  25.255.255.254        4e-00-a9-3a-ec-ca     static
  224.0.0.2             01-00-5e-00-00-02     static
  224.0.0.22            01-00-5e-00-00-16     static
  224.0.0.251           01-00-5e-00-00-fb     static
  224.0.0.252           01-00-5e-00-00-fc     static
  224.0.0.253           01-00-5e-00-00-fd     static
  224.0.1.129           01-00-5e-00-01-81     static
  225.162.248.58        01-00-5e-22-f8-3a     static
  226.1.1.1             01-00-5e-01-01-01     static
  229.48.175.220        01-00-5e-30-af-dc     static
  230.186.243.58        01-00-5e-3a-f3-3a     static
  231.255.188.255       01-00-5e-7f-bc-ff     static
  234.21.189.117        01-00-5e-15-bd-75     static
  234.255.190.255       01-00-5e-7f-be-ff     static
  235.74.171.180        01-00-5e-4a-ab-b4     static
  235.250.229.243       01-00-5e-7a-e5-f3     static
  235.255.251.255       01-00-5e-7f-fb-ff     static
  236.255.216.255       01-00-5e-7f-d8-ff     static
  238.238.238.238       01-00-5e-6e-ee-ee     static
  239.255.255.250       01-00-5e-7f-ff-fa     static
  239.255.255.251       01-00-5e-7f-ff-fb     static
  255.255.255.255       ff-ff-ff-ff-ff-ff     static

Interface: 100.64.0.1 --- 0x24
  Internet Address      Physical Address      Type
  100.64.0.3                                  dynamic
  100.64.0.6                                  dynamic
  224.0.0.22                                  static
  224.0.0.251                                 static
  239.255.255.250                             static

Interface: 172.21.96.1 --- 0x2a
  Internet Address      Physical Address      Type
  172.21.111.255        ff-ff-ff-ff-ff-ff     static
  224.0.0.2             01-00-5e-00-00-02     static
  224.0.0.22            01-00-5e-00-00-16     static
  224.0.0.251           01-00-5e-00-00-fb     static
  224.0.0.253           01-00-5e-00-00-fd     static
  224.0.1.129           01-00-5e-00-01-81     static
  225.162.248.58        01-00-5e-22-f8-3a     static
  226.1.1.1             01-00-5e-01-01-01     static
  229.48.175.220        01-00-5e-30-af-dc     static
  230.186.243.58        01-00-5e-3a-f3-3a     static
  231.255.188.255       01-00-5e-7f-bc-ff     static
  234.21.189.117        01-00-5e-15-bd-75     static
  234.255.190.255       01-00-5e-7f-be-ff     static
  235.74.171.180        01-00-5e-4a-ab-b4     static
  235.250.229.243       01-00-5e-7a-e5-f3     static
  235.255.251.255       01-00-5e-7f-fb-ff     static
  236.255.216.255       01-00-5e-7f-d8-ff     static
  238.238.238.238       01-00-5e-6e-ee-ee     static
  239.255.255.250       01-00-5e-7f-ff-fa     static
  239.255.255.251       01-00-5e-7f-ff-fb     static
  255.255.255.255       ff-ff-ff-ff-ff-ff     static

C:\Users\weiyo>nbtstat -A 100.64.0.6

以太网:
Node IpAddress: [192.168.2.38] Scope Id: []

    Host not found.

以太网 2:
Node IpAddress: [0.0.0.0] Scope Id: []

    Host not found.

WLAN:
Node IpAddress: [0.0.0.0] Scope Id: []

    Host not found.

本地连接* 1:
Node IpAddress: [0.0.0.0] Scope Id: []

    Host not found.

Tailscale:
Node IpAddress: [0.0.0.0] Scope Id: []

    Host not found.

ZeroTier One [6771f6bcd1bea65f]:
Node IpAddress: [10.0.0.3] Scope Id: []

    Host not found.

ZeroTier One [e56273510dd117e9]:
Node IpAddress: [10.176.121.59] Scope Id: []

    Host not found.

vEthernet (Default Switch):
Node IpAddress: [172.21.96.1] Scope Id: []

    Host not found.

本地连接* 2:
Node IpAddress: [0.0.0.0] Scope Id: []

    Host not found.