Skip to main content

Appendix II. Host Group Address Issues

This appendix is not part of the IP multicasting specification, but provides background discussion of several issues related to IP host group addresses.

Group Address Binding

The binding of IP host group addresses to physical hosts may be considered a generalization of the binding of IP unicast addresses. An IP unicast address is statically bound to a single local network interface on a single IP network. An IP host group address is dynamically bound to a set of local network interfaces on a set of IP networks.

It is important to understand that an IP host group address is NOT bound to a set of IP unicast addresses. The multicast agents do not need to maintain a list of individual members of each host group. For example, a multicast agent attached to an Ethernet need associate only a single Ethernet multicast address with each host group having local members, rather than a list of the members' individual IP or Ethernet addresses.

Group Addresses as Logical Addresses

Host group addresses have been defined specifically for use in the destination address field of multicast IP datagrams. However, the fact that group addresses are location-independent (they are not statically bound to a single network interface) suggests possible uses as more general "logical addresses", both in the source as well as the destination address field of datagrams. For example, a mobile IP host might have a host group address as its only identity, used as the source of datagrams it sends. Whenever the mobile host moved from one network to another, it would join its own group on the new network and depart from the group on the old network. Other hosts communicating with the mobile one would deal only with the group address and would be unaware of, and unaffected by, the changing network location of the mobile host.

Host group addresses cannot, however, be used to solve all problems of internetwork logical addressing, such as delivery to the "nearest" or the "least loaded" network interface of a multi-homed host. Furthermore, there are hazards in using group addresses in the source address field of datagrams when the group actually contains more than one host. For instance, the IP datagram reassembly algorithm relies on every host using a different source address. Also, errors in a datagram sent with a group source address may result in error reports being returned to all members of the group, not just the sender. In view of these hazards, this memo specifies the use of host group addresses only as destinations of datagrams, either in the destination address field or as the last element of a source routing option. However, it is recommended that datagrams with a group source address be accepted without complaint, thereby allowing other implementations to experiment with logical addressing applications of host group addresses.

Recycling of Transient Host Group Addresses

Since host group addresses are of fixed, relatively small size, transient group addresses must be recycled to satisfy continuing requests for creation of new groups. The multicast agents make an effort to ensure that a group has no members anywhere in the internet before allocating its address to a new group. However, under certain conditions of internetwork partitioning and membership migration, it is impossible to guarantee unique allocation of an address without seriously compromising the availability and robustness of host groups. Furthermore, hosts that are unaware that a particular group has ceased to exist may send datagrams to it long after its address has been assigned to a new group. Therefore, hosts should be prepared for the possibility of misdelivery of multicast IP datagrams to unintended hosts, even in private groups. Such misdelivery can only be detected at a level above IP, using higher-level identifiers or authentication tokens. (The access key of a private group might be used in some applications as such an identifier.) Of course, there are other threats to privacy of communication in the internet, besides group address collision, such as untrustworthy gateways or unsecured networks. End-to-end encryption is an effective defense against such threats.