MAC地址到IPV6 Local Link地址的转换

Take the MAC address and convert the first octet from hexadecimal into binary.
Note: The MAC address 11:22:33:44:55:66 will be used for the following examples.
11:22:33:44:55:66
11 -> 00010001
Invert the seventh bit. (The seventh bit will be 0, make it a 1).
00010001 -> 00010011
Convert the octet back into hexadecimal from binary.
00010011 = 13
Replace the original first octet with the newly converted one.
11:22:33:44:55:66 -> 13:22:33:44:55:66
Add ff:fe: to the middle of the new MAC address.
13:22:33:ff:fe:44:55:66
Add fe80:: to the beginning of the address.
fe80::13:22:33:ff:fe:44:55:66
The address is now in IPv6 format.
fe80::1322:33ff:fe44:5566

以下在线工具可以完成转换

IPv6 link-local address to MAC address online converter – Ben's blog (akrin.com)

原文地址:https://www.cnblogs.com/real-bert/p/14867259.html