Skip to main content.
Navigation:
DENX
>
DULG
>
WhereCanIGetAValidMACAddress
Translations:
Edit
|
Attach
|
Raw
|
Ref-By
|
Printable
|
More
DULG
Sections of this site:
DENX Home
|
DULG
|
ELDK-5
|
Know
|
Training
|
U-Boot
|
U-Bootdoc
Topics
DULG Home
BoardSelect
Manual
FAQ
Application Notes
Changes
Index
List of pages in DULG
Search
%SECTION0{name=WhereCanIGetAValidMacAddress}% Where Can I Get a Valid MAC Address from? Question:: Where can I get a valid MAC address from? Answer:: You have to buy a block of 4096 MAC addresses (IAB = Individual Address Block) or a block of 16M MAC addresses (OUI = Organizationally Unique Identifier, also referred to as 'company id') from IEEE Registration Authority. The current cost of an IAB is $550.00, the cost of an OUI is $1,650.00. See [[http://standards.ieee.org/regauth/oui/index.shtml]] %BR% %BR% You can buy Eproms containing MAC addresses from: [[http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3748][Maxim]] or [[http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2018&mcparam=en538890][Microchip]]. %BR% %BR% You can set the "locally administered" bit to make your own MAC address (no guarantee of uniqueness, but pretty good odds if you don't do something dumb). Ref: [[http://en.wikipedia.org/wiki/MAC_address][Wikipedia]] <blockquote> Universally administered and locally administered addresses are distinguished by setting the second least significant bit of the most significant byte of the address. If the bit is 0, the address is universally administered. If it is 1, the address is locally administered. The bit is 0 in all OUIs. For example, 02-00-00-00-00-01. The most significant byte is 02h. The binary is 00000010 and the second least significant bit is 1. Therefore, it is a locally administered address. </blockquote> In U-Boot, you can use the ="gen_eth_addr"= tool to generate a random "locally administered" MAC address. Here are the needed commands: <verbatim> $ make tools/gen_eth_addr cc tools/gen_eth_addr.c -o tools/gen_eth_addr $ tools/gen_eth_addr ba:d0:4a:9c:4e:ce </verbatim>
14.2.13. Ethernet Does Not Work
1. Abstract
14.2.15. Why do I get TFTP timeouts?
Prev
Home
Next