Introduction
A switch inventory can group an Ethernet address in fours while a configuration form asks for six colon-separated pairs. Reformat the identifier and use the six octets to check that the same interface is being recorded.
Formula and calculation
group bit = octet0 & 1; local bit = octet0 & 2The formatter preserves the same 48-bit value while changing separators. The least significant first-octet bit indicates group versus individual delivery; the next bit indicates locally versus universally administered format.
- octet0 · byte
- first eight bits of the 48-bit MAC address
- & · operation
- bitwise AND with the stated flag mask
Method and concepts
A 48-bit MAC address consists of six octets. One hexadecimal digit describes four bits, so exactly twelve digits are needed. Formatting changes separators, grouping and letter case. The left-to-right sequence of the twelve digits identifies the same bit pattern throughout.
- Enter six two-digit octets separated consistently by colons or hyphens, three four-digit dotted groups, or twelve uninterrupted hexadecimal digits.
- Choose the output spelling your inventory or device requires. Compare the digits in pairs before copying.
MAC addresses diagram
- Host 192.0.2.26
- Gateway IP 192.0.2.1
- Resolve gateway MAC
- Frame to gateway · packet to server
Worked examples
Move an address from a switch table into an inventory
- Start with 0200.005e.1001. Joining the three groups gives the twelve digits 0200005e1001.
- Split those digits into octets: 02, 00, 00, 5e, 10 and 01. The colon form is 02:00:00:5e:10:01.
- Inspect the first octet, 02 = 00000010. Its least significant bit is zero (individual address). The next bit is one (locally administered).
MAC addresses: Choose the MAC for an off-subnet server
- A host at 192.0.2.26/24 sends to 198.51.100.8. These addresses fall in different /24 blocks, and the host’s route selects 192.0.2.1.
- The host finds gateway 192.0.2.1 at 02:00:00:00:00:01. It writes that value into the frame destination while keeping 198.51.100.8 as the IP destination.
- The gateway receives and removes the local frame. On its next Ethernet link it constructs another frame for the next hop.
Reference table
| Format | Same 48-bit value |
|---|---|
| Colon pairs | 02:00:00:5e:10:01 |
| Hyphen pairs | 02-00-00-5e-10-01 |
| Dotted groups | 0200.005e.1001 |
| Continuous | 0200005e1001 |
Reading the result
The two low-order bits of the first octet describe individual/group and universal/local properties. A locally administered address can be chosen in software, so its opening digits alone are insufficient to establish a hardware vendor.
Common mistakes
- Preserve zeros at the start of each octet. The digit pairs 00 and 01 still occupy full octets.
- A 64-bit identifier contains eight octets. Removing two to fit a 48-bit form changes the identifier.
Frequently asked questions
Does uppercase change the address?
No. A through F and a through f represent the same six hexadecimal digit values.
Should I reverse octets when moving between formats?
Keep the octets in the printed order. Link-layer transmission conventions do not require reversing an address copied between these text formats.
Is a multicast MAC the same as a broadcast MAC?
Both have the group bit set. Broadcast addresses all stations in the broadcast domain, while a multicast address identifies a group.
Can two separate LANs contain the same locally assigned MAC?
Yes, while their bridging domains remain separate. A future layer-two connection can bring them into conflict, so record allocation scope.
Does a MAC address identify a device everywhere on the internet?
No. MAC addresses are link-layer identifiers used on a local link. Routers remove and replace link headers as packets move between links.
What do the first-octet bits indicate?
The least significant bit of the first octet indicates individual versus group addressing, and the next bit indicates universally versus locally administered addressing.
Are MAC addresses always permanent and globally unique?
No. Interfaces can use locally administered or randomized values, and configuration or virtualization can create duplicates. Treat a MAC address as local configuration evidence, not identity proof.
Why can one Wi-Fi device show different MAC addresses?
Operating systems may use private or randomized MAC addresses for different Wi-Fi networks or sessions. The value can change without the physical interface changing.
What does the group bit in a MAC address indicate?
The low bit of the first octet distinguishes an individual address from a group address. An Ethernet broadcast address is a group address delivered broadly on its local segment.
What is a locally administered MAC address?
It is a value whose first-octet local bit indicates local assignment rather than the globally administered format. Software, virtualization, or privacy features can set such an address.
Does a MAC address survive a router hop?
No. The router emits a new link-layer frame on the next link, with addresses appropriate to that local hop.
Is an OUI lookup enough to identify a device owner?
No. The prefix may indicate an allocation or vendor record, but locally administered, randomized, virtual, or reassigned addresses can make such identification misleading.
What is an OUI?
An Organizationally Unique Identifier is a prefix allocated for identifying a block of link-layer addresses. A matching prefix does not prove current ownership or device identity.
How can the group bit be recognized?
It is the least significant bit of the first octet. In common hexadecimal notation, an odd first-octet value has that bit set and denotes a group address.
Can a MAC address be changed by software?
Many operating systems and virtual interfaces permit a locally administered address to be configured. Network policy should not rely on a MAC value as a strong authentication secret.
What is the difference between a MAC address and an IP address?
A MAC address is a link-layer identifier used on a local link, while an IP address identifies a network-layer endpoint or interface for routed delivery.
Why might a MAC lookup show a manufacturer that does not match a device?
The address may be randomized, virtualized, locally assigned, reassigned, or part of a prefix shared by a vendor. A prefix database is only a clue.
Further learning and references
- RFC 9542, section 2.1 — 48-bit Ethernet identifiers
Reference source for the concepts and service described in this guide.
- RFC 826 — Ethernet address resolution
- RFC 4861 — IPv6 Neighbor Discovery

