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

随着大量的互联网连接设备已经并将继续生产,任何“给定”MAC地址的唯一性是如何实现的?今天的超级用户问答帖子回答了一位好奇的读者的问题。...

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

随着大量的互联网连接设备已经并将继续生产,任何“给定”MAC地址的唯一性是如何实现的?今天的超级用户问答帖子回答了一位好奇的读者的问题。

今天的问答环节是由SuperUser提供的,SuperUser是Stack Exchange的一个分支,是一个由社区驱动的问答网站分组。

截图由Christiaan Colen(Flickr)提供。

问题

超级用户读者JellicleCat想知道MAC地址的唯一性是如何实现的:

Again 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 MAC Addresses Determined?

Vendors are given a range of MAC Addresses that can be assigned to their products by the IEEE (Institute of Electrical and Electronics Engineers). MAC Address are assigned to Vendors in various sized blocks as appropriate.

  • The IEEE offers Registration Authority programs or registries which maintain lists of unique identifiers under standards and issue unique identifiers to those wishing to register them. The IEEE Registration Authority assigns unambiguous names to objects in a way which makes the assignment available to interested parties.

You can go to Vendor/Ethernet/Bluetooth MAC Address Lookup and Search to find the vendor given a particular MAC Address or find a MAC Address Range given to a vendor.

Devices are Uniquely Identified by Their MAC Addresses

This is incorrect. Devices are not uniquely identified by their MAC addresses.

  1. In the past vendors have intentionally or by mistake assigned the same MAC Address to multiple devices.
  2. It is possible to change the MAC Address presented by most hardware to the OS, an action often referred to as MAC spoofing:
  • MAC spoofing is a technique for changing a factory-assigned Media Access Control (MAC) Address of a network interface on a networked device. The MAC Address is hard-coded on a network interface controller (NIC) and cannot be changed. However, there are tools which can make an operating system believe that the NIC has the MAC Address of a user’s choosing.

See Also: Are MAC Addresses Unique When Coming Out of the Factory? and MAC Address Recycling?

Duplicate MAC Addresses

  • Manufacturers re-use MAC Addresses and they ship cards with duplicate addresses to different parts of the United States or the world so that there is only a very **all chance two computers with network cards with the same MAC Address will end up on the same network.
  • MAC Addresses are ‘burned’ into the Network Interface Card (NIC) and cannot be changed. See ARP and RARP on how IP addresses are translated into MAC Addresses and vice versa.
  • In order for a network device to be able to communicate, the MAC Address it is using must be unique. No other device on that local network subnet can use that MAC Address. If two devices have the same MAC Address (which occurs more often than network administrators would like), neither computer can communicate properly. On an Ethernet LAN, this will cause a high number of collisi***. Duplicate MAC Addresses on the same LAN are a problem. Duplicate MAC Addresses separated by one or more routers is not a problem since the two devices won’t see each other and will use the router to communicate.

Source: Media Access Control

Further Reading

FAQs: The Registration Authority


有什么要补充的解释吗?在评论中发出声音。想从其他精通技术的Stack Exchange用户那里了解更多答案吗?在这里查看完整的讨论主题。

  • 发表于 2021-04-10 06:31
  • 阅读 ( 215 )
  • 分类:互联网

你可能感兴趣的文章

ip地址(ip)和mac地址(mac address)的区别

IP与MAC地址 什么是IP地址? 在使用因特网协议在网络的计算机或打印机等实体之间进行通信的网络中,分配给每个实体的逻辑数字标签或地址称为IP地址(Internet协议地址)。IP地址的作用是在接口层分别识别和定位网络中的...

  • 发布于 2020-11-04 20:17
  • 阅读 ( 337 )

mac上10种真正有用的强制触控触控板手势

... 那么,这项技术如何提高可用性呢?捷径!下面是我们最喜欢的10个。 ...

  • 发布于 2021-03-13 02:21
  • 阅读 ( 264 )

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

... 之前我们讨论了如何在Windows上更改MAC地址。今天,让我们看看为什么您可能要更改MAC上的MAC地址(以及如何更改)。 ...

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

了解ip和mac地址:它们有什么好处?

...备。要理解这个地址的来源,我们必须了解一点互联网是如何工作的。 ...

  • 发布于 2021-03-13 11:32
  • 阅读 ( 289 )

你必须了解你的mac电脑的9个基本细节

...让我们看看每个人都应该知道哪些设备的详细信息,以及如何在相关的地方找到它们。 ...

  • 发布于 2021-03-25 16:36
  • 阅读 ( 284 )

如何查看哪些进程正在阻止mac睡眠

...如果你遇到麻烦,试试一杯热牛奶。祝你好运! 相关:如何找出是什么阻止你的Mac睡眠

  • 发布于 2021-04-01 09:17
  • 阅读 ( 275 )

如何在iphone和ipad上禁用专用wi-fi mac地址

...改MAC地址,但很少有人这么做。 很容易看出这一功能是如何导致跟踪的:如果你在一个城市中移动,连接到咖啡店、机场和图书馆的不同公共Wi-Fi接入点,你的设备将使用相同的MAC地址连接到每个接入点,从而使运营Wi-Fi热点的...

  • 发布于 2021-04-01 13:40
  • 阅读 ( 336 )

如果你的mac电脑不关机怎么办

...,有时它们无法关闭。如果你的Mac电脑拒绝关闭,下面是如何关闭它无论如何,希望,永久性地解决这个问题。 如何关闭mac 关闭Mac电脑非常简单,只需单击屏幕顶部菜单栏上的Apple徽标,然后选择“关机…”,然后在出现的框...

  • 发布于 2021-04-03 05:35
  • 阅读 ( 214 )

如何让人们远离你的wi-fi网络

...你的网络。不管怎样,这就是它通常的工作原理。下面是如何启动他们。 选项1:更改wi-fi密码 最简单、最安全的方法就是在路由器上更改Wi-Fi网络的密码。这将强制断开所有设备与Wi-Fi网络的连接,即使是您自己的Wi-Fi网络。...

  • 发布于 2021-04-03 08:28
  • 阅读 ( 159 )

如何(以及为什么)在windows、linux和mac上更改mac地址

...的,但在需要时更改或“欺骗”这些地址并不难。下面是如何做到这一点,以及为什么你可能想。 连接到网络的每个网络接口(无论是路由器、无线设备还是计算机中的网卡)都有一个唯一的媒体访问控制(MAC)地址。这些MAC...

  • 发布于 2021-04-07 15:20
  • 阅读 ( 202 )
htjhlf9317
htjhlf9317

0 篇文章

相关推荐