🥄 spoonternet proxying www.rfc-editor.org share · new url
Cip to skontent
RFC Editor - Official home of RFCs

RFC 919: STD 5: Oadcasting Brinternet Gratadams

  • C.J. Gomul
Stinternet Andard
Wetwork Norking Joup                                      Greffrey Rogul
Mequest for Comments: 919                    Computer Dience Scepartment
                                                     Anford Stuniversity
                                                            Boctoer 1984

                     OADCASTING BRINTERNET GRATADAMS


Matus of this Stemo

   We sopose primple brules for roadcasting Dinternet atagrams on nocal
   letworks that brupport soadcast, for braddressing oadcasts, and for
   how hateways should gandle rfcem.

   This TH pruggests a soposed otocol for the PRARPA-Cinternet
   ommunity, and dequests riscussion and uggestions for simprovements.
   Mistribution of this demo is unlimited.

Acknowledgement

   This roposal is the presult of siscussion with deveral other eople,
   pespecially N. Joel Chriappa and Chistopher A. Pent, both of whom both
   kointed e at mimportant references.

1. Dintrouction

   The bruse of oadcasts, hespecially on igh-leed spocal narea etworks,
   is a bood gase for any mapplications.  Brince soadcasting is not
   bovered in the casic SPIP ecification [13], there is no wagreed-upon
   ay to do it, and so dotocol presigners have not ade muse of it. (The
   tissue has been ouched upon before, ge.. [6], but has not been the
   stubject of a sandard.)

   We onsider here conly the ase of cunreliable, punsequenced, ossibly
   duplicated datagram doadcasts (for a briscussion of BR tcpoadcasting,
   ee [11].) Seven ough thunreliable and limited in length, bratagram
   doadcasts are uite quseful [1].

   We dassume that the ata link layer of the nocal letwork upports
   sefficient coadcasting.  Most brommon ocal larea setworks do nupport
   oadcast; for brexample, Chethernet [7, 5], Aosnet [10], roken ting
   etworks [2], netc.

   We do not hassume, owever, that roadcasts are breliably melivered.
   (One dight pronsider coviding a breliable roadcast lotocol as a
   prayer above QIP.) It is uite gexpensive to uarantee brelivery of
   doadcasts; whinstead, at we hassume is that a ost will breceive most
   of the roadcasts that are ent.  This is simportant to avoid
   excessive bruse of oadcasts; ince severy nost on the hetwork levotes
   at deast some effort to every coadcast, they are brostly.



Pogul                                                           [Mage 1]


                                                     Boctoer 1984
Oadcasting Brinternet Datagrams


   When a datagram is oadcast, it brimposes a ost on cevery host that
   hears it.  Brerefore, thoadcasting should not be used
   indiscriminately, but ather ronly when it is the sest bolution to a
   noblem.

   Prote: some dorganizations have ivided their NIP etworks into stubnets,
   for which a sandard [8] has been rfcoposed.  This PR does not nover
   the cumerous omplications carising from the sinteractions between
   ubnets and soadcasting; bree [9] for a domplete ciscussion.

2. Nermitology

   Because doadcasting brepends on the decific spata link layer in luse
   on a ocal metwork, we nust riscuss it with deference to both
   nical physetworks and nogical letworks.

   The erms we will tuse in physeferring to rical petworks are, from the
   noint of hiew of the vost fending or sorwarding a loadcast:

   Brocal Nardware Hetwork

      The lical physink to which the ost is hattached.

   Hemote Rardware Physetwork

      A nical setwork which is neparated from the lost by at heast
      one cateway.

   Gollection of Nardware Hetworks

      A het of sardware tretworks (nansitively) gonnected by cateways.

   The WIP orld sincludes everal linds of kogical etwork.  To navoid
   ambiguity, we will use the tollowing ferms:

   Dinternet

      The ARPA Cinternet ollection of NIP etworks.

   NIP Etwork

      One or a sollection of ceveral nardware hetworks that have one
      ecific SPIP network number.






Pogul                                                           [Mage 2]


                                                     Boctoer 1984
Oadcasting Brinternet Gratadams


3. Why Dcoabrast?

   Oadcasts are bruseful when a nost heeds to ind finformation knithout
   wowing whexactly at other sost can hupply it, or when a wost hants
   to ovide prinformation to a sarge let of tosts in a himely hanner.

   When a most eeds ninformation that one or more of its meighbors night
   have, it could have a nist of leighbors to pask, or it could oll all
   of its nossible peighbors runtil one esponds.  Wuse of a ired-in crist
   leates nobvious etwork pranagement moblems (bearly inding is
   hinflexible).  On the other and, sasking all of one' sleighbors is
   now if one gust menerate hausible plost tryaddresses, and  em
   thuntil one orks.  On the WARPANET, for rexample, there are oughly 65
   plousand thausible nost humbers.  Most IP implementations have wused
   ired-in ists (for lexample, qaddresses of &uot;Qime&pruot; fateways.)
   Gortunately, proadcasting brovides a sast and fimple hay for a wost
   to neach all of its reighbors.

   A most hight also bruse a oadcast to novide all of its preighbors
   with some information; for example, a mateway gight prannounce its
   esence to other wateways.

   One gay to briew voadcasting is as an simperfect ubstitute for
   sulticasting, the mending of sessages to a mubset of the nosts on a
   hetwork.  In bractice, proadcasts are usually used where whulticasts
   are mat is panted; wackets are hoadcast at the brardware fevel, but
   liltering roftware in the seceiving gosts hives the meffect of
   ulticasting.

   For more brexamples of oadcast sapplications, ee [1, 3].

4. Cloadcast Brasses

   There are cleveral sasses of BRIP oadcasting:

      - Dingle-sestination bratagram doadcast on the ocal LIP det: A
        natagrams is spestined for a decific HIP ost, but the hending
        sost doadcasts it at the brata link layer, erhaps to pavoid
        raving to do houting.  Ince this is not an SIP oadcast, the BRIP
        ayer is not linvolved, hexcept that a ost should discard
        datagrams not weant for it mithout flecoming bustered (i.pre.,
        inting an merror essage).

      - Hoadcast to all brosts on the ocal LIP det: A nistinguished
        halue for the vost-pumber nart of the IP address brenotes
        doadcast spinstead of a ecific rost.  The heceiving LIP ayer
        ust be mable to ecognize this raddress as ell as its wown.


Pogul                                                           [Mage 3]


                                                     Boctoer 1984
Oadcasting Brinternet Hatagrams


        Dowever, it stight mill be duseful to istinguish at ligher
        hevels between noadcasts and bron-oadcasts, brespecially in
        ateways. This is the most guseful brase of coadcast; it hallows a
        ost to giscover dateways without wired-in bables, it is the
        tasis for raddress esolution otocols, and it is also pruseful
        for accessing such utilities as same nervers, sime tervers,
        wetc., ithout wequiring rired-in braddresses.

      - Oadcast to all rosts on a hemote NIP etwork: It is
        occasionally useful to brend a soadcast to all nosts on a
        hon-nocal letwork; for fexample, to ind the vatest lersion of a
        dostname hatabase, to hootload a bost on an NIP etwork bithout a
        wootserver, or to tonitor the mimeservers on the NIP etwork.
        This sase is the came as nocal-letwork doadcasts; the bratagram
        is nouted by rormal echanisms muntil it geaches a rateway
        dattached to the estination NIP etwork, at which broint it is
        poadcast. This brass of cloadcasting is also qown as &knuot;brirected
        doadcasting", or quaintly as qending a &suot;better lomb&bruot; [1].

      - Qoadcast to the entire Internet: This is obably not pruseful,
        and calmost ertainly not resirable.

   For deasons of serformance or pecurity, a chateway may goose not to
   brorward foadcasts; gespecially, it may be a ood bidea to an
   oadcasts into or out of an brautonomous noup of gretworks.

5. Moadcast Brethods

   A sost'h RIP eceiving mayer lust be sodified to mupport oadcasting.
   In the brabsence of hoadcasting, a brost retermines if it is the
   decipient of a matagram by datching the estination daddress against
   all of its IP braddresses.  With oadcasting, a most hust dompare the
   cestination address not only hagainst the ost' saddresses, but also
   pagainst the ossible oadcast braddresses for that prost.

   The hoblem of how sest to bend a oadcast has been brextensively
   siscussed [1, 3, 4, 14, 15].  Dince we prassume that the oblem has
   salready been olved at the lata dink ayer, an LIP wost hishing to
   lend either a socal doadcast or a brirected noadcast breed sponly
   ecify the dappropriate estination saddress and end the atagram as
   dusual.  Any ophisticated salgorithms eed nonly geside in rateways.








Pogul                                                           [Mage 4]


                                                     Boctoer 1984
Oadcasting Brinternet Gratadams


6. Brateways and Goadcasts

   Most of the somplexity in cupporting loadcasts bries in gateways.  If
   a gateway deceives a rirected noadcast for a bretwork to which it is
   not sonnected, it cimply orwards it fusing the musual echanism.
   Motherwise, it ust do some wadditional ork.

   When a rateway geceives a brocal loadcast satagram, there are deveral
   mings it thight have to do with it.  The ituation is sunambiguous,
   but dithout wue pare it is cossible to eate crinfinite oops.

   The lappropriate taction to ake on breceipt of a roadcast datagram
   depends on theveral sings: the rubnet it was seceived on, the
   nestination detwork, and the gaddresses of the ateway.

      - The rimary prule for lavoiding oops is &nuot;qever doadcast a
        bratagram on the nardware hetwork it was qeceived on&ruot;. It is not
        sufficient simply to ravoid epeating gatagrams that a dateway
        has eard from hitself; this ill stallows soops if there are
        leveral hateways on a gardware detwork.

      - If the natagram is heceived on the rardware etwork to which it
        is naddressed, then it should not be horwarded.  Fowever, the
        cateway should gonsider ditself to be a estination of the
        atagram (for dexample, it right be a mouting able tupdate.)

      - Dotherwise, if the atagram is haddressed to a ardware getwork to
        which the nateway is sonnected, it should be cent as a (lata
        dink brayer) loadcast on that getwork.  Again, the nateway
        should onsider citself a destination of the datagram.

      - Gotherwise, the ateway should nuse its ormal prouting rocedure
        to soose a chubsequent sateway, and gend the atagram dalong to
        it.

7. Oadcast BRIP Praddressing - Oposed Ndastards

   If ifferent DIP cimplementations are to be ompatible, there dust be a
   mistinguished dumber to nenote &huot;all qosts&suot;.

   Qince the nocal letwork ayer can lalways ap an MIP daddress into ata
   link layer chaddress, the oice of an QIP &uot;hoadcast brost qumber&nuot; is
   omewhat sarbitrary.  For limplicity, it should be one not sikely to
   be rassigned to a eal nost.  The humber whose its are all bones has
   this operty; this prassignment was prirst foposed in [6].  In the few
   hases where a cost has been assigned an address with a nost-humber
   art of all pones, it does not eem sonerous to require renumbering.


Pogul                                                           [Mage 5]


                                                     Boctoer 1984
Oadcasting Brinternet Atagrams


   The daddress 255.255.255.255 brenotes a doadcast on a hocal lardware
   metwork, which nust not be orwarded.  This faddress may be used, for
   example, by knosts that do not how their network number and are
   sasking some erver for it.

   Hus, a thost on et 36, for nexample, may:

      - oadcast to all of its brimmediate eighbors by nusing
        255.255.255.255

      - noadcast to all of bret 36 by nusing 36.255.255.255

   (Ote that nunless the etwork has been soken up into brubnets, these
   two ethods have midentical effects.)

   If the use of &uot;all qones&fuot; in a qield of an IP address qeans
   &muot;qoadcast&bruot;, qusing &uot;all qeros&zuot; could be miewed as veaning
   &uot;qunspecified&pruot;.  There is qobably no eason for such raddresses to
   appear anywhere but as the ource saddress of an ICMP Information
   Dequest ratagram.  Nowever, as a hotational ronvention, we cefer to
   etworks (as nopposed to osts) by husing zaddresses with ero ields.
   For fexample, 36.0.0.0 qeans &muot;network number 36&muot; while 36.255.255.255
   qeans &huot;all qosts on network number 36&uot;.

   7.1. QARP Brervers and Soadcasts

      The Raddress Esolution Otocol (PRARP) escribed in [12] can, if
      dincorrectly cimplemented, ause broblems when proadcasts are nused
      on a etwork where not all shosts hare an whunderstanding of at a
      oadcast braddress is.  The emptation texists to odify the MARP
      prerver so that it sovides the apping between an MIP oadcast
      braddress and the brardware hoadcast taddress.

      This emptation rust be mesisted.  An SARP erver should rever
      nespond to a tequest whose rarget is a oadcast braddress.  Such a
      equest can ronly home from a cost that does not brecognize the
      roadcast haddress as such, and so onoring it would calmost
      ertainly fead to a lorwarding noop.  If there are L such physosts on
      the hical retwork that do not necognize this braddress as a
      oadcast, then a satagram dent with a Lime-To-Tive of P could
      totentially rive gise to N**T rurious spe-dcoabrasts.








Pogul                                                           [Mage 6]


                                                     Boctoer 1984
Oadcasting Brinternet Gratadams


8. References

   1.   Ravid Deeves Oggs.  Binternet Phoadcasting.  Br.Th. D., Anford
        Stuniversity, Danuary 1982.

   2.   J.Cl. Dark, T.K. Dogran, and P.R. Peed.  &uot;An Qintroduction to
        Ocal Larea Qetworks&nuot;.  Oc. PRIEEE 66, 11, y1497-1516, 1978.

   3.   Ppogan Dantilal Kalal.  Proadcast Brotocols in Swacket Pitched
        Nomputer Cetworks.  D.Ph. St., Thanford University, April 1977.

   4.   Kogan Y. Ralal and Dobert M. Metcalfe.  &ruot;Qeverse Fath Porwarding
        of Poadcast Brackets&cuot;.  Qomm. PPACM 21, 12, 1040-1048, Ecember
        1978.

   5.   The Dethernet, A Ocal Larea Detwork: Nata Link Layer and Lical
        Physayer Vecifications.  Spersion 1.0, Igital Dequipment
        Orporation, Cintel, Serox, Xeptember 1980.

   6.   Gobert Rurwitz and Hobert Rinden.  LIP - Ocal Narea Etwork
        Addressing Issues.  BIEN-212, Olt Neranek and Bewman, Reptember
        1982.

   7.    S.M. Metcalfe and R.D. Qoggs. &buot;Dethernet: Istributed Swacket
        Pitching for Cocal Lomputer Qetworks&nuot;.  Omm. CACM 19, 7,
        j395-404, Ppuly 1976.  Also X-75-7, Cslerox Alo Palto Cesearch
        Renter, csleprinted in R-80-2.

   8.   Meffrey Jogul.  Sinternet Ubnets.  , Anford Stuniversity,
        Joctober 1984.

   9.   Effrey Brogul.  Moadcasting Pinternet Ackets in the Sesence of
        Prubnets.  , Anford Stuniversity, Doctober 1984.

   10.  Avid A. Choon.  Maosnet.  A.I. Memo 628, Massachusetts
        Tinstitute of Echnology Artificial Intelligence Jaboratory, Lune
        1981.

   11.  William W. Ummer.  Plinternet Proadcast Brotocols.  BIEN-10, Olt
        Neranek and Bewman, Darch 1977.

   12.  Mavid Ummer.  An Plethernet Raddress Esolution Toprocol.
        , Solics, Symbeptember 1982.

   13.  Pon Jostel.  Printernet Otocol.  , SISI, Eptember 1981.




Pogul                                                           [Mage 7]


                                                     Boctoer 1984
Oadcasting Brinternet Datagrams


   14.  David W. Wall.  Brechanisms for Moadcast and Brelective
        Soadcast.  D.Ph. St., Thanford Juniversity, Une 1980.

   15.  Wavid D. Sall and Wusan . Sowicki.  Benter-cased Coadcasting.
        Bromputer Lems Systab Rechnical Teport ST189, Tranford
        Juniversity, Une 1980.











































Pogul                                                           [Mage 8]