Difference between revisions of "IPv6 Multicast Address"

 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
IPv6 환경에서는 Broadcast를 사용하지 않으므로 Multicast 주소가 다양한 목적으로 사용됩니다.<ref>https://en.wikipedia.org/wiki/Neighbor_Discovery_Protocol</ref><ref>https://en.wikipedia.org/wiki/Link-local_address</ref><br>
+
DHCPv6 does not use the "Broadcast" but the "Multicast".<ref>https://en.wikipedia.org/wiki/Neighbor_Discovery_Protocol</ref><ref>https://en.wikipedia.org/wiki/Link-local_address</ref> Multicast is a technique used for a device to send a single packet to multiple destinations simultaneously. An IPv6 multicast address defines a group of devices known as a multicast group. It is the IPv4 equivalent of 224.0.0.0/4. Unlike the IPv4, there is no broadcast address in IPv6.  
특히 DHCP 환경에서 클라이언트는 멀티캐스트방식으로 주소를 요청/응답합니다.
 
  
유니캐스트와 달리 멀티캐스트 주소는 패킷이 전송될 수 있는 영역이 존재하는데 그림과 같습니다.
+
[[File:ip6_mulicast_scope3.png|400px|thumb|IPv6 Muticast Address<br>(Rick Graziani, IPv6 Fundamentals, ciscocompress, Figure 4-32, 2013)]]
[[File:ip6_mulicast_scope3.png|300px|thumb|IPv6 Muticast Address<br>(Rick Graziani, IPv6 Fundamentals, ciscocompress, Figure 4-32, 2013)]]
+
[[File:ip6_mulicast_scope2.png|400px|thumb|Muticast scope<br>(Rick Graziani, IPv6 Fundamentals, ciscocompress, Figure 4-33, 2013)]]
[[File:ip6_mulicast_scope2.png|300px|thumb|Muticast scope<br>(Rick Graziani, IPv6 Fundamentals, ciscocompress, Figure 4-33, 2013)]]
 
  
Well-Known Multicast Addresses
+
IPv6 multicast address have the prefix FF00::/8. The first 8 bits are 1(FF), followed by a 4 bit Flag and a 4-bit Scope. The next 112 bits represent the Group ID.
 +
 
 +
The Flag field indicates the type of multicast address, The two types of multicast addresses are.
 +
* Permanent(0): These are well-known multicast addresses assigned by the Internet Assigned Numbers Authority (IANA).
 +
* Nonpermanent(1): There are "transient" or "dynamically" assigned multicast addresses.
 +
 
 +
RFC 2375<ref>https://tools.ietf.org/html/rfc2375</ref>, IPv6 Multicast Address Assignments, defines the initial assignment of IPv6 multicast addresses that have permanently assigned Global IDs. In other words, these are reserved multicast addresses for predefined group or devices.
 +
 
 +
Some Well-Known Multicast Addresses<ref> https://www.iana.org/assignments/ipv6-multicast-addresses/ipv6-multicast-addresses.xhtml</ref> are
 
{| class="wikitable"
 
{| class="wikitable"
 
! Address !! Scope !! Description
 
! Address !! Scope !! Description
Line 15: Line 21:
 
|-
 
|-
 
| ff02::1: || 2 || All-nodes
 
| ff02::1: || 2 || All-nodes
 +
|-
 +
| ff02::1:ff00:1: || 2 || Solicited node multicast address for router's global unicast address
 +
|-
 +
| ff02::1:ffE9:d480: || 2 || Solicited node multicast adddress for router's link-local address
 
|-
 
|-
 
| ff02::2: || 2 || All-routers
 
| ff02::2: || 2 || All-routers
Line 20: Line 30:
 
| ff02::5: || 2 || OSPF-routers
 
| ff02::5: || 2 || OSPF-routers
 
|-
 
|-
| ff02::1:2|| 2 || All DHCP agents
+
| ff02::1:2|| 2 || All-DHCP-Relay-agents-and-servers
 
|-
 
|-
 
| ff05::2: || 5 || All-routers
 
| ff05::2: || 5 || All-routers
 
|-
 
|-
| ff05::1:3|| 5 || All DHCP servers
+
| ff05::1:3|| 5 || All-DHCP-servers
 
|-
 
|-
 +
|}
  
 
+
==== References ====
|}
 

Latest revision as of 13:38, 20 May 2021

DHCPv6 does not use the "Broadcast" but the "Multicast".[1][2] Multicast is a technique used for a device to send a single packet to multiple destinations simultaneously. An IPv6 multicast address defines a group of devices known as a multicast group. It is the IPv4 equivalent of 224.0.0.0/4. Unlike the IPv4, there is no broadcast address in IPv6.

IPv6 Muticast Address
(Rick Graziani, IPv6 Fundamentals, ciscocompress, Figure 4-32, 2013)
Muticast scope
(Rick Graziani, IPv6 Fundamentals, ciscocompress, Figure 4-33, 2013)

IPv6 multicast address have the prefix FF00::/8. The first 8 bits are 1(FF), followed by a 4 bit Flag and a 4-bit Scope. The next 112 bits represent the Group ID.

The Flag field indicates the type of multicast address, The two types of multicast addresses are.

  • Permanent(0): These are well-known multicast addresses assigned by the Internet Assigned Numbers Authority (IANA).
  • Nonpermanent(1): There are "transient" or "dynamically" assigned multicast addresses.

RFC 2375[3], IPv6 Multicast Address Assignments, defines the initial assignment of IPv6 multicast addresses that have permanently assigned Global IDs. In other words, these are reserved multicast addresses for predefined group or devices.

Some Well-Known Multicast Addresses[4] are

Address Scope Description
ff01::1: 1 All-nodes
ff01::2: 1 All-routers
ff02::1: 2 All-nodes
ff02::1:ff00:1: 2 Solicited node multicast address for router's global unicast address
ff02::1:ffE9:d480: 2 Solicited node multicast adddress for router's link-local address
ff02::2: 2 All-routers
ff02::5: 2 OSPF-routers
ff02::1:2 2 All-DHCP-Relay-agents-and-servers
ff05::2: 5 All-routers
ff05::1:3 5 All-DHCP-servers

References