Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
While trobleshooting some problems from a user, I noticed that the EAMT algorithm is rather error-prone when done by hand. For example,
The IPv6 version of
The right answer is
So, since people sometimes wants to know the IPvX version of the IPvY address (where X does not equal Y), and dealing with the algorithm needn't be a daily chore, I propose
Giving people the opportunity to experiment should also discourage them from using different suffix lengths for corresponding prefixes, because it's so actually rarely needed.