Skip to main content

7. Receiving Multicast IP Datagrams

7.1. Extensions to the IP Service Interface​

No change to the IP service interface is required to support the reception of multicast IP datagrams. Incoming multicast IP datagrams are delivered to upper-layer protocol modules using the same "Receive IP" operation as normal, unicast datagrams.

7.2. Extensions to the IP Module​

To support the reception of multicast IP datagrams, the IP module must be extended to recognize the addresses of IP host groups to which the host currently belongs, in addition to the host's individual IP address(es). An incoming datagram destined to one of those group addresses is processed exactly the same way as datagrams destined to one of the host's individual addresses. Incoming datagrams destined to groups to which the host does not belong are discarded without generating any error report.

On hosts attached to more than one network, if a datagram arrives via one network interface, destined for a group to which the host belongs only on a different interface, the datagram is quietly discarded. (This should occur only as a result of inadequate multicast address filtering in the local network module.)

An incoming datagram is not rejected for having an IP host group address in its source address field or anywhere in a source routing option.

An ICMP error message (Destination Unreachable, Time Exceeded, Parameter Problem, Source Quench, or Redirect) is never generated in response to a datagram destined to an IP host group.

7.3. Extensions to the Local Network Service Interface​

No change to the local network service interface is required to support the reception of multicast IP datagrams. Incoming local network packets, whether multicast or unicast, are delivered to the IP module using the same "Receive Local" operation.

7.4. Extensions to an Ethernet Local Network Module​

To support the reception of multicast IP datagrams, an Ethernet module must be able to receive packets addressed to the Ethernet multicast addresses that correspond to the host's IP host group addresses. It is highly desirable to take advantage of any address filtering capabilities that the Ethernet hardware interface may have, so that the host only receives packets that are destined to it.

Unfortunately, many current Ethernet interfaces have a small limit on the number of addresses that the hardware can be configured to recognize. However, an implementation must be capable of listening on an arbitrary number of Ethernet multicast addresses, which may mean "opening up" the address filter to accept all multicast packets during those periods when the number of addresses exceeds the limit of the filter.

For interfaces with inadequate hardware address filtering, it may be desirable (for performance reasons) to perform Ethernet address filtering within the software of the Ethernet module. This is not mandatory, however, because the IP module performs its own filtering based on IP destination addresses.

7.5. Extensions to Local Network Modules other than Ethernet​

Other multicast networks, such as IEEE 802.2 networks, can be handled the same way as Ethernet for the purpose of receiving multicast IP datagrams. For pure broadcast networks, such as the Experimental Ethernet, all incoming broadcast packets can be accepted and passed to the IP module for IP-level filtering. On a point-to-point network, multicast IP datagrams will arrive as local network unicasts, so no change to the local network module should be necessary.