3

当我arp -a在我的 bash shell 中输入时,我得到如下所示的输出:

? (10.0.0.1) at 0:f0:7f:43:e8:68 on en1 ifscope [ethernet]
box1.google.com (10.0.0.3) at 0:1f:fe:fe:ca:d4 on en1 ifscope [ethernet]
box2.google.com (10.0.0.2) at 0:2:a3:45:90:bf on en1 ifscope [ethernet]
box3.google.com (10.0.0.50) at 78:e7:df:7c:34:c on en1 ifscope [ethernet]
box4.google.com (10.0.0.230) at 0:80:74:c9:50:d5 on en1 ifscope [ethernet]
box5.google.com (10.0.0.256) at 0:23:df:91:4f:9e on en1 ifscope [ethernet]
box6.google.com (10.0.0.458) at 0:15:9:89:36:68 on en1 ifscope [ethernet]
? (10.0.0.179) at 0:2a:32:f0:f4:d0 on en1 ifscope [ethernet]
box7.google.com (10.0.0.283) at 0:27:16:66:2d:ef on en1 ifscope [ethernet]
box8.google.com (10.0.0.386) at 0:13:eb:91:d8:b5 on en1 ifscope [ethernet]
box9.google.com (10.0.0.287) at 0:1c:25:10:d8:89 on en1 ifscope [ethernet]
? (10.0.0.255) at (incomplete) on en1 ifscope [ethernet]
? (172.17.122.255) at (incomplete) on vmnet8 ifscope [ethernet]
? (172.17.254.1) at 0:50:56:c0:0:1 on vmnet1 ifscope permanent [ethernet]
? (172.17.254.255) at (incomplete) on vmnet1 ifscope [ethernet]

这一切意味着什么?我大致了解我看到的是域名、IP 地址(内部 IP 地址?)和 MAC 地址。如何找到我连接的无线路由器的 MAC 地址?为什么这里有这么多条目?我想只有一台用于我的计算机,一台用于无线路由器,一台用于电缆调制解调器,然后可能还有其他一些上游的东西......但我看到的其他计算机不是我的。此外,我没有看到我的电脑。另外,我可以以某种方式使用这样的信息来查找公共无线路由器的 MAC 地址吗?如果我无法连接到上述公共路由器怎么办?

4

2 回答 2

1

猜测 10.0.0.1 看起来像网关。为什么要查找您所在路由器的 MAC 地址?此外,如果您无法连接到无线路由器,那么您将无法使用此命令找到它,您可以使用其他一些命令来扫描无线信号。您在那里看不到您的计算机,因为这是您的本地 arp 表,您为什么需要知道您在哪里?你已经在那里了。

于 2010-11-30T18:33:44.437 回答
0

您必须匿名化输出,因为 ip-address 10.0.0.458 是不可能的,而且 mac-addresses 也可能是假的。

具有 48 位 (EUI-48) 的 mac 地址是 6 字节长。前 3 个字节分配给供应商,您可以从 IEEE 下载一长串分配的供应商或使用在线服务,如

http://coffer.com/mac_find/

在 EN1 接口上,有一个设备的 mac 地址属于 HP Procurve,当前使用 ip-address 10.0.0.3。

问号表示无法解析主机名(使用反向 DNS 查找),“不完整”表示一段时间未在网络上看到该设备。如果它是“永久的”,则 MAC 地址不会被标记为陈旧,因此无论设备是否已通信,它都不应进入“不完整”状态。

于 2014-05-04T19:50:06.303 回答