Skip to main content

4.3 VLN Broadcast and Multicast Addressing Modes

A VLN datagram will be transmitted in broadcast mode if the argument to SendVLNDatagram specifies the VLN broadcast address (local address = 65,535, decimal) as the destination. Broadcast is implemented in the most straightforward way: the VLN datagram is encapsulated in an Ethernet frame with type "DoD IP", and the frame destination address is set to the Ethernet broadcast address. The receiving VLN component merely decapsulates and delivers the VLN datagram.

The implementation of the VLN multicast addressing mode is more complex, for several reasons. Typically, each VLN host will define a constant called Max_Attended, equal to the maximum number of VLN multicast addresses which can be simultaneously "attended" by this host. Max_Attended should not be a function of the particular Ethernet controller(s) the host may be using, but only of the software resources (buffer space and processor time) that the host dedicates to VLN multicast processing. The protocol below permits a host to attend any number of VLN multicast addresses, from 0 to 64,511 (the entire VLN multicast address space), independent of the controller in use.

Understanding of the VLN multicast protocol requires some knowledge of the behavior of existing Ethernet controllers. The Ethernet specification does not specify whether a controller must perform multicast address recognition, or if it does, how many multicast addresses it must be prepared to recognize. As a result Ethernet controller designs vary widely in their behavior. For example, the 3COM Model 3C400 controller follows the first pattern and performs no multicast address recognition, instead passing all multicast frames to the host for further processing. The Intel Model iSBC 550 controller permits the host to register a maximum of 8 multicast addresses with the controller, and the Interlan Model NM10 controller permits a maximum of 63 registered addresses.

It would be possible to implement the VLN multicast mode using only the Ethernet broadcast mechanism. This would imply, however, that every VLN host would receive and process every VLN multicast, often only to discard the datagram because it is misaddressed. More efficient operation is possible if at least some Ethernet multicast addresses are used, since Ethernet controllers with multicast recognition can discard misaddressed frames more rapidly than their hosts, reducing both the processor time and buffer space demands upon the host.

The protocol specified below satisfies the design constraints and is especially simple.

A VLN-wide constant, Min_Attendable, is equal to the smallest number of Ethernet multicast addresses that can be simultaneously attended by any host in the VLN, or 64,511, whichever is smaller. A network composed of hosts with the Intel and Interlan controllers mentioned above, for example, would have Min_Attendable equal to 7; (10) a network composed only of hosts with 3COM Model 3C400 controllers would have Min_Attendable equal to 64,511, since the controller itself does not restrict the number of Ethernet multicast addresses to which a host may attend. (11)

(10) Min_Attendable is 7, rather than 8, because one multicast slot in the controller must be reserved for the host's MHA, as described in Section 4.2.

(11) For the Cronus Advanced Development Model, Min_Attendable is currently defined to be 60.

The local address field of a VLN multicast address can be represented in two octets, in hexadecimal:

       mm-mm

From Table 1, mm-mm considered as a decimal integer M is in the range 1,024 to 65,534. When SendVLNDatagram is invoked with a VLN multicast datagram, there are two cases:

  1. (M - 1,023) <= Min_Attendable. In this case, the datagram is encapsulated in a "DoD IP" Ethernet frame, and multicast with the Ethernet address

    09-00-08-00-mm-mm

    A VLN component which attends VLN multicast addresses in this range should receive Ethernet multicast addresses in this format, if necessary by registering the addresses with its Ethernet controller.

  2. (M - 1,023) > Min_Attendable. The datagram is encapsulated in a "DoD IP" Ethernet frame, and transmitted to the Ethernet broadcast address. A VLN component which attends VLN multicast addresses in this range must receive all broadcast frames, and filter them on the basis of frame type and VLN destination address (found in the IP destination address field).

There are two drawbacks to this protocol that might induce a more complex design: 1) because Min_Attendable is the "lowest common denominator" for the ability of Ethernet controllers to recognize multicast addresses, some controller capabilities may be wasted; 2) small VLN addresses (less than Max_Attendable + 1,024) will probably be handled more efficiently than large VLN multicast addresses. The second factor complicates the assignment of VLN multicast addresses to functions, since the particular assignment affects multicast performance.