MAC address: Difference between revisions
mNo edit summary |
why to change; change is not permanent; how to change it under Windows XP |
||
Line 8: | Line 8: | ||
*[[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 million million possible MAC addresses. The IEEE |
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 million million 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, the last six are assigned by the manufacturer. The IEEE assigns the 24-bit OUI prefixes to organizations, effectively allocating blocks of 2<sup>24</sup> (around 16 million) MAC addresses at a time. |
||
== Changing MAC addresses == |
|||
Although MAC addresses are permanent by design, several mechanisms allow their modification. As an example, Internet gateway routers allow the network administrator to set the WAN interface MAC address, to fool ISPs that bind their service to a specific NIC. Also, running [[Linux]], one can arbitrarily set the MAC address to fool software license keys tied to specific NICs using the command |
|||
Although physical MAC addresses are permanent by design, several mechanisms allow modification 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|Wi-Fi hotspot]], or to ensure interopability. Some [[ISP]]s 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 |
|||
:<code> ifconfig eth0 hw ether 00:01:02:03:04:05</code> |
:<code> ifconfig eth0 hw ether 00:01:02:03:04:05</code> |
||
(This needs to be done before network initialization |
(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). |
|||
See also |
== See also == |
||
* [[NSAP address]], another endpoint addressing scheme. |
|||
== External links == |
== External links == |
Revision as of 16:47, 1 April 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
- 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 million million 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, the last six are assigned by the manufacturer. The IEEE assigns the 24-bit OUI prefixes to organizations, effectively allocating blocks of 224 (around 16 million) MAC addresses at a time.
Changing MAC addresses
Although physical MAC addresses are permanent by design, several mechanisms allow modification 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 interopability. 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).
See also
- NSAP address, another endpoint addressing scheme.
External links
- IEEE OUI and Company_id Assignments: http://standards.ieee.org/regauth/oui/index.shtml