Ben's Blog

all out geekery, I.T. ben March 04, 2016

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.

Recent Comments

  1. Alex says:
    July 10, 2018 at 3:14 pm

    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:…”

    Reply
    • ben says:
      July 10, 2018 at 3:36 pm

      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.

      Reply
  2. Chris says:
    October 19, 2018 at 11:47 am

    Seems your converter doesn’t handle a few things, but a different online one does: http://www.sput.nl/internet/ipv6/ll-mac.html

    Try this (SMCI board) in each: fe80::ec4:7aff:fe58:4707

    Reply
    • ben says:
      October 23, 2018 at 1:28 am

      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.

      Reply
  3. Pingback: MAC address to IPv6 link-local address online converter | Ben's blog
  4. Pingback: Identify device on local network based on IPv6 address - Boot Panic

Leave a Comment

Cancel reply

This blog is solar powered

Interactive

Handwriting Capture
Mandalagaba
IPv6 link-local to MAC converter
IPv6 MAC to link-local converter
Markov Text Generation
Markov Word Generation
Markov Music Generation
Duplogrifier
Flood Fill Algorithms
Homestead Metrics
RGB Playground
Web Games

Categories

  • aesthetics111
    • plots54
    • specular holography6
  • Books3
  • I.T.202
    • 3D modeling / printing21
    • AI6
    • all out geekery36
    • electronics27
    • homestead automation6
    • maniacal paranoia25
    • plotters49
    • unix / linux29
    • video games4
    • web development29
    • web games3
  • Lego / Duplo67
  • life in the U.S.42
  • miscellaneous202
  • nature encounters114
  • old vinyls3
  • organs2
  • self sustainability560
    • agriculture105
    • apiculture38
    • apple20
    • building131
    • canning3
    • crochet6
    • foraging6
    • hunting10
    • maple syrup47
    • poultry39
    • preserving2
    • solar power28
    • water23
    • wood84
  • trip to a new life6
Theme by Bloompixel. Proudly Powered by WordPress