ChipCenter Questlink
SEARCH CHIPCENTER
Search Type:
Search for:




Knowledge Centers
Product Reviews
Data Sheets
Guides & Experts
News
International
Ask Us
Circuit Cellar Online
App Notes
NetSeminars
Careers
Resources
FAQ
EE Times Network
Electronics Group Sites

Answer1


Circuit Cellar Online
THE MAGAZINE FOR COMPUTER APPLICATIONS
Circuit Cellar Online offers articles illustrating creative solutions
and unique applications through complete projects, practical
tutorials, and useful design techniques.

Archive

WHAT'S YOUR ENGINEERING QUOTIENT?

Test Your EQ

Problem 3Suppose a small manufacturer, who needs to make about 100 Ethernet devices, decides to generate random MACs instead of going to the expense and trouble of getting an OUI (organizationally unique identifier) from the IEEE. Assuming that there are 100,000,000 devices out there that are known to have unique MACs, what are the chances that they'll duplicate an existing MAC? What if 100 manufacturers do this (10,000 devices)?


Answer 3

Again, it's easier to find the probability that all of the randomly-chosen MACs won't collide with existing ones and then take one minus that value. This can be expressed as:
N = number of addresses = 248

M = number of existing devices = 108

K = number of new devices = 100 or 10,000

probability of collision = 1 ý ((N ý M)/N)K

This works out to 0.0000355 (36 chances in a million) for 100 devices and 0.00355 (0.35%) for 10,000 devices.

 

Contributor: Dave Tweed

 

03-02 — NEXT Q&A


For questions or comments about
Test Your EQ, e-mail eq@circuitcellar.com
.
Click here to get your listing up.

Copyright © 2003 ChipCenter-QuestLink
About ChipCenter-Questlink  Contact Us  Privacy Statement   Advertising Information  FAQ