networking - 如何在 Windows 7 上查找 MAC 地址?

标签 networking window ip-address computer-science mac-address

我可以使用命令ipconfig /all找到我机器的MAC地址在命令提示符下。网络上到处都说物理地址是MAC地址。这是命令 ipconfig /all 的结果

Windows IP Configuration

   Host Name . . . . . . . . . . . . : XXXX
   Primary Dns Suffix  . . . . . . . : XXXX
   Node Type . . . . . . . . . . . . : XXXX
   WINS Proxy Enabled. . . . . . . . : XXXX
   DNS Suffix Search List. . . . . . : XXXX

Ethernet adapter Bluetooth Network Connection:

   Physical Address. . . . . . . . . : XXXX

Wireless LAN adapter Wireless Network Connection:

   Physical Address. . . . . . . . . : XXXX

Ethernet adapter Local Area Connection:

   Physical Address. . . . . . . . . : XXXX

Tunnel adapter isatap.{08DA9659-BD5D-4AE2-901A-3D7C7C3ACD7C}:

   Physical Address. . . . . . . . . : XXXX

Tunnel adapter isatap.{B1F117B0-4FE3-4603-AF2E-DB0A97EB73A1}:

   Physical Address. . . . . . . . . : XXXX

Tunnel adapter iphttpsinterface:

   Physical Address. . . . . . . . . : XXXX

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   Physical Address. . . . . . . . . : XXXX

Tunnel adapter isatap.int.cpaglobal.net:

   Physical Address. . . . . . . . . : XXXX

结果我可以找到许多名为物理地址的条目。哪一个实际上代表我的机器 mac 地址?我的理解是,无论我们是连接到 LAN/WLAN 还是根本没有连接,MAC 地址对于计算机来说都是唯一的?

最佳答案

MAC 地址对于计算机来说不是唯一的,它对于网络接口(interface)卡来说是唯一的。
getmac/V 为您提供更紧凑的接口(interface)列表。

编辑:
不要从字面上理解“卡”,因为它可能不是连接到主板的完整独立卡。现在大多数 NIC 都只是集成在板上。

What is a MAC Address
Computer Networking Tutorial - 9 - Network Interface Card NIC

关于networking - 如何在 Windows 7 上查找 MAC 地址?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18289173/

相关文章:

security - 除了代理之外,如何绕过 IP 定位器?

c++ - 窗口 api 大小和移动控制台

c# - 将 key 发送到 C# 中的特定句柄?

networking - 如何判断连接被服务器或客户端关闭?

java - MQTT 订阅数小时后未收到消息

c++ - WM_DESTROY 未在包装的 WndProc 中调用

winapi - VB6 从 IP 查找主机名,指定 DNS 服务器

c - 调用 getifaddrs() 时 ifa_addr 何时为 NULL?

qt - 在嵌入式设备上获取 QSslError::CertificateNotYetValid?

java - 寻找将数据库内容表示为文件系统的简单方法(Windows)