"TCP / IP Detailed" learning experience of: hardware generation IPv6 address

If the manufacturer does not provide EUI-48 address, generated by the hardware:

Hardware MAC address [30: 48: 2A: 19: 89], filling the left generates 0 EUI48 -> [00: 30: 48: 2A: 19: 89], the third byte after the insertion 0xFF, 0XFE generated EUI64

-->【00:30:48:FF:FE:2A:19:89】。

Then u bits inverted, to generate the interface identifier (IID) -> [02: 30: 48: FF: FE: 2A: 19: 89].

Use the reserved link-local prefix (64) fe80 :: / 10, to generate 128-bit IPv6 address: fe80 :: 230: 48ff: fe2a: 1989

 

Legend: u-bit EUI is the first byte of the lower 2 bits. 1 represents a local, general represents 0;

        g 'is the first byte of an EUI low. 1 represents a group, represents 0 individuals;

       From the EUI-64: Organizationally Unique Identifier (OUI) 24 bits + 40 extended identifiers

 

Released seven original articles · won praise 8 · views 3081

Guess you like

Origin blog.csdn.net/laocui1/article/details/87607323