[riot-notifications] [RIOT-OS/RIOT] gnrc_netif: centralize device-type-specific functions (#10524)

Gunar Schorcht notifications at github.com
Sun Jan 6 10:44:35 CET 2019


> Yes and no. The IID is formed from the EUI-64 by flipping the bit, so the IID is semantically distinct from the IID (though RIOT-internally we use the same type for practicality, since syntactically they are the same). 

Ah, I see, when you are talking about EUI-64 in data types and functions you are only referencing IEEE EUI-64 as is but not the modified EUI-64 as used for the IID in IPv6 address. This was no clear to me. Now, I got it.

> RFC 6775 assumes the EUI-64 is globally unique.

The OUIs used for an IEEE EUI-64 should be either the same if only 3 bytes are used or must not collide with an EUI-64 generated from EUI-48 if up to 36 bits are used. Therefore, an IEEE EUI-64 generated from an MAC address should be globally unique at least for devices with an official OUI in the MAC address.

So it should be theoretically possible for ESP-NOW nodes to generate a EUI-64 identifier by using function `eui48_to_ipv6_iid` and flipping back bit 1 in first byte. In that case, it would at least behave like a 6Lo node in ND.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10524#issuecomment-451728519
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190106/0710066f/attachment-0001.html>


More information about the notifications mailing list