IPv6 link-local address to MAC address online converter

The converter

It can also be addressed directly via:
https://ben.akrin.com/ipv6_link_local_to_mac_address_converter/?mode=api&ipv6=fe80::5074:f2ff:feb1:a87f
for all your API needs.

Description

This converter was implemented per Dave Russell’s suggestion as a follow up to the MAC address to IPv6 link-local address online converter. If you are interested in the steps behind this conversion, they are simply a reverse of the original Mac->IPv6 converter.

Please note that of the various IPv6 notations, the one this script will expect is fe80::xxxx:xxxx:xxxx:xxxx.

6 Replies to “IPv6 link-local address to MAC address online converter”

    1. You’re right, I didn’t implement shorthand notation in IPv6. I’m not a fan of it and don’t wish to support its proliferation so I did explicit addresses only. That or I’m just lazy 🙂 Thanks for the link.

  1. Hey man I really dig your site! This converter is pretty neat, but what’s the procedure for when your first octet is 3 characters instead of 4? E.g. ‘4a8:…” instead of “a8df:…”

    1. This most likely simply means that you are using a notation with leading 0s omitted (https://en.wikipedia.org/wiki/IPv6_address#Representation)

      Now this post only talks about link-local IPv6 addresses which all start with “fe80” no matter what. What’s in the middle may have omitted leading 0s but the first couple of octets should always be “fe80”.

      I hope this helps.

Leave a Reply

Your email address will not be published. Required fields are marked *