如何在网络上查找mac地址(find a mac address on a network)

为网络上的主机查找媒体访问控制(MAC)地址或硬件地址是一个相当简单的过程。它涉及到地址解析协议(ARP)的使用,该协议将互联网协议(IP)地址转换为MAC地址。所有通用操作系统(OS)都包含“arp”命令,该命令允许轻松发现网络上的MAC地址。在本文中,您将了解如何在OS X、Microsoft Windows和Linux操作系统上查找MAC地址。...

方法1方法1/4:os x

  1. 1打开终端应用程序。查找所有发现的MAC地址的最快方法是列出ARP表中的所有当前条目。sudo arp-a
  2. Image titled Find a MAC Address on a Network Step 1
  3. 对目标IP进行2Ping。如果输出中没有列出IP和MAC地址对,则必须首先“ping”目标IP。平192.168.1.112
  4. Image titled Find a MAC Address on a Network Step 2
  5. 3如果ping返回肯定响应,则可以使用以下任一方法查看ARP信息。这两个命令中的任何一个都将提供IP到MAC地址的映射。sudo arp 192.168.1.112sudo arp-a
  6. Image titled Find a MAC Address on a Network Step 3

方法2方法2/4:microsoft windows

  1. 1打开命令提示符。查找所有发现的MAC地址的最快方法是列出ARP表中的所有当前条目。arp-a
  2. Image titled Find a MAC Address on a Network Step 4
  3. 对目标IP进行2Ping。如果输出中没有列出IP和MAC地址对,则必须首先“ping”目标IP。平192.168.1.112
  4. Image titled Find a MAC Address on a Network Step 5
  5. 3如果ping返回肯定响应,则可以使用以下任一方法查看ARP信息。这两个命令中的任何一个都将提供IP到MAC地址的映射。arp 192.168.1.112arp-a
  6. Image titled Find a MAC Address on a Network Step 6

方法3方法3/4:linux

  1. 1打开控制台窗口。查找所有发现的MAC地址的最快方法是列出ARP表中的所有当前条目。sudo arp-a
  2. Image titled Find a MAC Address on a Network Step 7
  3. 对目标IP进行2Ping。如果输出中没有列出IP和MAC地址对,则必须首先“ping”目标IP。平192.168.1.112
  4. Image titled Find a MAC Address on a Network Step 8
  5. 3如果ping返回肯定响应,则可以使用以下任一方法查看ARP信息。这两个命令中的任何一个都将提供IP到MAC地址的映射。sudo arp 192.168.1.112sudo arp-a
  6. Image titled Find a MAC Address on a Network Step 9

方法4方法4/4:linux arp扫描实用程序

  1. 1在Linux操作系统上,您可以避免ping单个主机,然后使用arp扫描实用程序查询MAC地址。arp扫描实用程序可以很容易地发现子网上的所有IP到MAC地址对。
  2. 2打开控制台窗口。
  3. Image titled Find a MAC Address on a Network Step 11
  4. 3发出命令。arp扫描实用程序有许多可用选项,但最简单的方法是使用子网参数发出命令。这将构建一个包含所有网络可访问主机的arp表,并将输出打印到控制台。sudo arp扫描192.168.1.0/24
  5. Image titled Find a MAC Address on a Network Step 12
  • 在Linux上,使用arp扫描实用程序快速扫描整个子网,以查找IP到MAC对。
  • 如果没有返回ARP请求的结果,请尝试ping主机,然后提交ARP请求。
  • 发表于 2022-03-28 03:07
  • 阅读 ( 94 )
  • 分类:IT

你可能感兴趣的文章

如何更改mac的mac地址(以及原因)

... 什么是mac地址(a mac address)? ...

  • 发布于 2021-03-13 06:39
  • 阅读 ( 266 )

如何在linux上管理ip地址:查找、设置和更改

...件中的值。首先将dhcp更改为static,然后根据您的网络为address、netmask、gateway和DNS服务器添加行。 ...

  • 发布于 2021-03-24 17:34
  • 阅读 ( 262 )

工作场所办公网络能有多智能或高效?

...lus an NAS and a couple of internal test servers (all assigned 192.168.0.x addresses). If workstation A wants to communicate with workstation B, is our network **art enough to go: A → Switch → B and only travel via the first most common connection, or would the path be A → Switch → Firewall ...

  • 发布于 2021-04-09 16:22
  • 阅读 ( 146 )

不同类型的局域网ip地址代表什么?

...Cat想知道不同类型的LAN IP地址代表什么?: I have seen LAN IP addresses in the following ways/forms: 10.0.0.* 192.168.0.* 192.168.1.* 192.168.2.* 127.0.0.* (this one usually ends with a 1 and I am not sure if it is a LAN address or not, since I normally see it with proxy stuff) Why ar...

  • 发布于 2021-04-09 22:09
  • 阅读 ( 240 )

如何强制mac地址的唯一性?

...in and again I have read that devices are uniquely identified by their MAC addresses, but how are MAC addresses determined? And do they tell us anything about the devices they represent? 如何强制MAC地址的唯一性? 答案 超级用户贡献者DavidPostill为我们提供了答案: How are ...

  • 发布于 2021-04-10 06:31
  • 阅读 ( 221 )

为什么需要以太网/mac地址?

...关于以太网/MAC地址的需求: I do not understand why Ethernet/MAC addresses are needed. Surely all computers could just be connected to a unified network and use IP addresses to communicate? For example, there is the following mechani** in Ethernet: A computer with the IP address 192.168.1...

  • 发布于 2021-04-11 04:47
  • 阅读 ( 217 )

同一wi-fi网络上的两台计算机是否具有相同的ip地址?

...but I wondered if two computers on the same Wi-Fi network have the same IP address? For example, my dad’s computer and my computer at home. If so, how does the outside world distinguish one computer from the other (like when a server wants to send some data back to us)? 这两台计算机的IP地...

  • 发布于 2021-04-11 07:22
  • 阅读 ( 245 )

mac地址到底是用来做什么的?

...者Vishnu Vivek对MAC地址及其功能很好奇: I understand that IP addresses are hierarchical, so that routers throughout the internet know which direction to forward a packet. With MAC addresses, there is no hierarchy, and thus packet forwarding would not be possible. So, MAC addresses are no...

  • 发布于 2021-04-11 16:47
  • 阅读 ( 310 )

保护您的网络和优化您的路由器的最佳wi-fi文章

... 在路由器上使用dd wrt Most of us have a wireless router on our home network. If your router seems short on features, the following articles shows you how to use an open source, alternative firmware for routers, called DD-WRT, to boost your router’s range and add features, such as setting up...

  • 发布于 2021-04-12 15:21
  • 阅读 ( 320 )

你说的:如何在旅行中获得免费wi-fi

...和法律毅力: A lot paid wireless systems right don’t check for mac address spoofing. These soluti*** are moderately evil and you should proceed with caution. In Europe last summer I ran into a few interesting situati***. 1. The airport I was at offered 15 minutes of internet for free. So if ...

  • 发布于 2021-04-12 17:02
  • 阅读 ( 185 )
冀纪郦q1tr
冀纪郦q1tr

0 篇文章

相关推荐