Monday, 21 October 2019

networking - Are MAC addresses unique when coming out of the factory?


According to Wikipedia:



A Media Access Control address (MAC address) is a unique identifier assigned to network interfaces for communications on the physical network segment



But how unique are MAC addresses on devices coming out of the factory? I seem to remember hearing a long time ago about how some manufacturers would reuse MAC addresses on their network cards. Does anyone have any hard facts one way or the other?



Answer



There are 248 or 281 474 976 710 656 different potential combinations.


They are reasonably unique.



  • The first 3 octets define the manufacturer.

  • The last 3 octets are usually generated at the time of PROM burning. It's up to the manufacturer how they do this.


That obviously gives 16 777 215 possible unique MAC addresses per manufacturer. That's quite alot, so the manufacturer shouldn't re-use one. Some are lazy though, and don't check if they have already allocated a MAC address.


It is quite often possible to change the MAC address using software, so if you do get a duplicate you can map around it.


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...