Jump to content

Solicited-node multicast address

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 195.182.9.130 (talk) at 13:02, 4 April 2024 (→‎Example). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

A solicited-node multicast address is an IPv6 multicast address used by the Neighbor Discovery Protocol to determine the link layer address associated with a given IPv6 address, which is also used to check if an address is already being used by the local-link or not, through a process called DAD (Duplicate Address Detection). The solicited-node multicast addresses are generated from the host's IPv6 unicast or anycast address, and each interface must have a solicited-node multicast address associated with it.

A solicited-node address is created by taking the least-significant 24 bits of an unicast or anycast address and appending them to the prefix ff02::1:ff00:0/104.[1]

Example

Assume a host with an unicast/anycast IPv6 address of 2001:db8::2aa:ff:fe28:9c5a. Its solicited-node multicast address will be ff02::1:ff28:9c5a.

2001:db8::2aa:ff:fe28:9c5a                  IPv6 unicast/anycast address (compressed notation)
2001:0db8:0000:0000:02aa:00ff:fe28:9c5a     IPv6 unicast/anycast address (uncompressed notation)
                                -- ----     The least-significant 24 bits

Efficiency compared to IPv4 and ARP

Solicited-node multicast addresses are used with IPv6 neighbor discovery to provide the same function as the Address Resolution Protocol in IPv4. ARP uses broadcasts to send an ARP request to the broadcast MAC address FF:FF:FF:FF:FF:FF, which is received by all hosts on the local link, although only one host—the one being queried—would need to respond. The other hosts still have to process and discard the request. Since a solicited-node multicast address is a function of the last 24 bits of an IPv6 unicast/anycast address, the number of hosts that are subscribed to each solicited-node multicast address is very small. This number would typically be one, but there could be a few because the mapping function is not a 1:1 mapping, like for example if the same host bear the same last 24 bits of their IPv6 address (2001:db8:1::55 and 2001:db8:2::55 has the same solicited-node multicast address). This means that a host should not need to be interrupted as often to neighbor solicitation requests, compared to ARP in IPv4.

References

  1. ^ R. Hinden; S. Deering (February 2006). IP Version 6 Addressing Architecture. Network Working Group. doi:10.17487/RFC4291. RFC 4291. Updated by: RFC 5952, RFC 6052, RFC 7136, RFC 7346, RFC 7371, RFC 8064.