Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert Mac address to IPv6 link local or with the provider prefix the public ip address #80

Open
strausmann opened this issue Mar 25, 2022 · 0 comments

Comments

@strausmann
Copy link
Contributor

Would the following functions in this Project be the right place ?

  • Convert MAC address to IPv6 Local Link address.
    Example 11:22:33:44:55:66 to fe80::1322:33ff:fe44:5566

  • Convert MAC address and provider IPv6 prefix to a Public IPv6 address.
    Example Mac Address 11:22:33:44:55:66 and Provider Prefix 2001:9e5:61cf:5600:: to 2001:9e5:61cf:5600:1322:33ff:fe44:5566

  • IPv6 address to MAC address
    Example 2001:9e5:61cf:5600:1322:33ff:fe44:5566 to 11:22:33:44:55:66

Here are two example functions https://stackoverflow.com/questions/54748755/how-to-convert-mac-address-into-ipv6-link-local-address-and-vice-versa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant