Network Working Group Jeffrey Mogul
Request for Comments: 922 Computer Science Department
Stanford University
October 1984
BROADCASTING INTERNET DATAGRAMS IN THE PRESENCE OF SUBNETS
1. Introduction
The use of broadcasts, especially on high-speed local area networks, is a good base for many applications. Since broadcasting is not covered in the basic IP specification [12], there is no agreed-upon way to do it, and so protocol designers have not made use of it. (The issue has been touched upon before, e.g. [6], but has not been the subject of a standard.)
Mogul [Page 1]
RFC 922 October 1984 Broadcasting Internet Datagrams in the Presence of Subnets 2. TerminologyBecause broadcasting depends on the specific data link layer in use on a local network, we must discuss it with reference to both physical networks and logical networks.
Mogul [Page 2]
RFC 922 October 1984
Broadcasting Internet Datagrams in the Presence of Subnets
The introduction of a subnet level in the addressing hierarchy is at variance with the IP specification [12], but as the use of addressable subnets proliferates it is obvious that a broadcasting scheme should support subnetting. For more on subnets, see [8].
3. Why Broadcast?
Broadcasts are useful when a host needs to find information without knowing exactly what other host can supply it, or when a host wants to provide information to a large set of hosts in a timely manner.
Mogul [Page 3]
RFC 922 October 1984 Broadcasting Internet Datagrams in the Presence of Subnets 4. Broadcast ClassesThere are several classes of IP broadcasting:
Mogul [Page 4]
RFC 922 October 1984 Broadcasting Internet Datagrams in the Presence of Subnets 5. Broadcast MethodsA host's IP receiving layer must be modified to support broadcasting. In the absence of broadcasting, a host determines if it is the recipient of a datagram by matching the destination address against all of its IP addresses. With broadcasting, a host must compare the destination address not only against the host's addresses, but also against the possible broadcast addresses for that host.
Mogul [Page 5]
RFC 922 October 1984 Broadcasting Internet Datagrams in the Presence of Subnets 6. Gateways and BroadcastsMost of the complexity in supporting broadcasts lies in gateways. If a gateway receives a directed broadcast for a network to which it is not connected, it simply forwards it using the usual mechanism. Otherwise, it must do some additional work.
Mogul [Page 6]
RFC 922 October 1984
Broadcasting Internet Datagrams in the Presence of Subnets
6.2. Multi-subnet broadcasts
Mogul [Page 7]
RFC 922 October 1984
Broadcasting Internet Datagrams in the Presence of Subnets
Destination.host
Mogul [Page 8]
RFC 922 October 1984
Broadcasting Internet Datagrams in the Presence of Subnets
BEGIN
Mogul [Page 9]
RFC 922 October 1984 Broadcasting Internet Datagrams in the Presence of Subnets 7. Broadcast IP Addressing - ConventionsIf different IP implementations are to be compatible, there must be convention distinguished number to denote "all hosts" and "all subnets".
Mogul [Page 10]
RFC 922 October 1984
Broadcasting Internet Datagrams in the Presence of Subnets
The Address Resolution Protocol (ARP) described in [11] can, if incorrectly implemented, cause problems when broadcasts are used on a network where not all hosts share an understanding of what a broadcast address is. The temptation exists to modify the ARP server so that it provides the mapping between an IP broadcast address and the hardware broadcast address.
8. References
1. David Reeves Boggs. Internet Broadcasting. Ph.D. Th., Stanford University, January 1982.
Mogul [Page 11]
RFC 922 October 1984
Broadcasting Internet Datagrams in the Presence of Subnets
8. Jeffrey Mogul. Internet Subnets. RFC-917, Stanford University, October 1984.