MAC address: Difference between revisions
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
*[[Asynchronous Transfer Mode|ATM]] (switched virtual connections only, as part of an [[NSAP address]]) |
*[[Asynchronous Transfer Mode|ATM]] (switched virtual connections only, as part of an [[NSAP address]]) |
||
Since the original designers of Ethernet had the foresight to use a 48 bit address space, there are potentially 2<sup>48</sup> or 281,474,976,710,656 possible MAC addresses. Ethernet MAC addresses are typically given as a string of 12 [[hexadecimal]] digits. The first six of these identify the manufacturer of the card and are known as the |
Since the original designers of Ethernet had the foresight to use a 48 bit address space, there are potentially 2<sup>48</sup> or 281,474,976,710,656 possible MAC addresses. Ethernet MAC addresses are typically given as a string of 12 [[hexadecimal]] digits. The first six of these identify the manufacturer of the card and are known as the [[Organisational Unique Identifier]] (OUI), the last six are assigned by the manufacturer and are known as the [[burned-in addresses]] (BIA) or sometimes as the Universally Administered Addresses (UAA). The IEEE assigns the 24-bit OUI prefixes to organizations, effectively allocating blocks of 2<sup>24</sup> (16,777,216) MAC addresses at a time. The BIA can be overridden with a ''[[Locally Administered Address]]'' or LAA. |
||
The IEEE has built in several special address types to allow more than one [[NIC]] to be addressed at one time: |
The IEEE has built in several special address types to allow more than one [[NIC]] to be addressed at one time: |
Revision as of 10:45, 28 July 2004
In computer networking a Media Access Control address or MAC address is an identifier physically stored inside a network card or similar network interface and used to assign globally unique addresses in some OSI model Layer 2 networks, and in the physical layer of the Internet protocol suite. MAC addresses are assigned by the IEEE, and are used in many widely used network technologies, including (but not limiting to) the following:
- Ethernet
- Token ring
- 802.11 wireless networks
- FDDI
- ATM (switched virtual connections only, as part of an NSAP address)
Since the original designers of Ethernet had the foresight to use a 48 bit address space, there are potentially 248 or 281,474,976,710,656 possible MAC addresses. Ethernet MAC addresses are typically given as a string of 12 hexadecimal digits. The first six of these identify the manufacturer of the card and are known as the Organisational Unique Identifier (OUI), the last six are assigned by the manufacturer and are known as the burned-in addresses (BIA) or sometimes as the Universally Administered Addresses (UAA). The IEEE assigns the 24-bit OUI prefixes to organizations, effectively allocating blocks of 224 (16,777,216) MAC addresses at a time. The BIA can be overridden with a Locally Administered Address or LAA.
The IEEE has built in several special address types to allow more than one NIC to be addressed at one time:
- Broadcast address or FFFF.FFFF.FFFF (hexadecimal). This tells all NICs within the confines of a local area network (LAN) to process a frame with this MAC address.
- Multicast address, used with both Ethernet and FDDI. This a group of addresses in the 0x0100.5Enn.nnnn range (where n is any hexadecimal number) that allows a subset of NICs in a LAN to be addressed. A NIC will only accept a frame with a multicast MAC address if it is configured to do so.
- Functional address identify one of more Token Ring NICs that provide a particular service, defined by the IEEE in their standard ISO/IEC 8820-5.
Changing MAC addresses
Although physical MAC addresses are permanent by design, several mechanisms allow modification, or "spoofing", of the MAC address that is reported by the operating system. This can be useful for privacy reasons, for instance when connecting to a Wi-Fi hotspot, or to ensure interoperability. Some ISPs bind their service to a specific MAC address; if the user then changes their network card or intends to install a router, the service won't work anymore. Changing the MAC address of the new interface will solve the problem. Similarly, some software licenses are bound to a specific MAC address. Changing the MAC address in this way is not permanent: after a reboot, it will revert to the MAC address physically stored in the card.
Under Linux, the MAC address of a Network Interface Card (NIC) can be changed using a command such as
ifconfig eth0 hw ether 00:01:02:03:04:05
(This needs to be done before network initialization.)
Under Windows XP, the MAC address can be changed in the Ethernet adapter's Properties menu, in the Advanced tab, as "MAC Address", "Locally Administered Address", or "Ethernet Address". The exact name depends on the Ethernet driver used; not all drivers support changing the MAC address in this way.
You can use a third-party utility to change the MAC of almost any Ethernet adapter - two of them are listed below in External Links.
See also
- NSAP address, another endpoint addressing scheme.
External links
- IEEE OUI and Company_id Assignments: http://standards.ieee.org/regauth/oui/index.shtml
- SMAC (by KLC Consulting) is a Windows MAC Address Modifying utility for Windows 2000 & XP that has the ability to change any network adapter's address. It is available at: http://www.klcconsulting.net/smac
- Macshift (by Nathan True) is a Free Software Windows Scriptable MAC Address changer. It's available (with source code) at http://macshift.natetrue.com