Skip to content
Mailwel
Theme

MAC to IPv6 (EUI-64)

Turn a MAC address into its EUI-64 interface ID, its fe80:: link-local address and its SLAAC address. Paste an IPv6 address to get the MAC back.

Any MAC notation works: colons, hyphens, Cisco dots or plain hex. Add your /64 to get the full SLAAC address.

Try:

IPv6 from the MAC

00:1b:63:84:45:e6

Example: type your own MAC address and prefix above.

Interface ID21b:63ff:fe84:45e6modified EUI-64
Link-localfe80::21b:63ff:fe84:45e6
SLAAC address2001:db8:1:2:21b:63ff:fe84:45e6in 2001:db8:1:2::/64
SLAAC, expanded
2001:0db8:0001:0002:021b:63ff:fe84:45e6
  1. Put ff:fe in the middle: 00:1b:63:ff:fe:84:45:e6
  2. Flip the U/L bit (value 2) of the first byte, 00 → 02: 02:1b:63:ff:fe:84:45:e6
  3. Write it as four IPv6 groups: 21b:63ff:fe84:45e6

MAC address

every notation, and what its bits say
Colons (Linux, macOS)
00:1b:63:84:45:e6
Colons, upper case
00:1B:63:84:45:E6
Hyphens (Windows, IEEE)
00-1B-63-84-45-E6
Dotted (Cisco)
001b.6384.45e6
Plain hex
001b638445e6
Type
EUI-48 (6 bytes, the usual MAC)
I/G bit
0: unicast (one device)
U/L bit
0: universally administered (set by the maker)
OUI (maker prefix)
00:1b:63