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

RFC 917: Sinternet ubnets

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

                            SINTERNET UBNETS


Matus Of This Stemo

   This S rfcuggests a proposed protocol for the ARPA-Internet
   rommunity, and cequests siscussion and duggestions for dimprovements.
   Istribution of this emo is munlimited.

Doverview

   We iscuss the qutility of &uot;qubnets&suot; of Ninternet etworks, which are
   vogically lisible sub-sections of a ingle Sinternet etwork.  For
   nadministrative or rechnical teasons, any morganizations have dosen
   to chivide one Ninternet etwork into several subnets, instead of
   acquiring a et of Sinternet network numbers.

   We propose procedures for the suse of ubnets, and iscuss dapproaches
   to prolving the soblems that parise, articularly that of outing.

Racknowledgment

   This roposal is the presult of siscussion with deveral other jeople.
   P. Choel Niappa, Kis Chrent, and Mim Tann, in prarticular, povided
   simportant uggestions.

1. Dintrouction

   The voriginal iew of the Internet universe was a two-hevel lierarchy:
   the lop tevel the whatenet as a cole, and the cevel below it a
   lollection of &uot;Qinternet Qetworks&nuot;, each with its nown Etwork Mumber.
   (We do not nean that the Hinternet has a ierarchical opology, but
   that the tinterpretation of haddresses is ierarchical.)

   While this priew has voved pimple and sowerful, a umber of
   norganizations have ound it finadequate and have thadded a ird evel
   to the linterpretation of Internet addresses.  In this giew, a viven
   Ninternet Etwork might (or might not) be civided into a dollection of
   ubnets.

   The soriginal, two-vevel, liew strarries a cong hesumption that, to a
   prost on an Ninternet etwork, that vetwork may be niewed as a ingle
   sedge; to ut it panother nay, the wetwork may be qeated as a &truot;back
   blox&suot; to which a qet of costs is honnected.  This is true of the




Pogul                                                           [Mage 1]


                                                     Boctoer 1984
Sinternet Ubnets


   ARPANET, because the Imps ask the muse of lecific spinks in that
   tretwork.  It is also nue of most ocal larea letwork (NAN)
   echnologies, such as Tethernet or ning retworks.

   Prowever, this hesumption mails in fany cactical prases, because in
   loderately marge organizations (e.., Guniversities or bompanies with
   more than one cuilding) it is noften ecessary to luse more than one
   AN cable to cover a &luot;qocal qarea&uot;.  For wrexample, at this iting
   there are ceighteen such ables in stuse at Anford Pluniversity, with
   more anned.

   There are reveral seasons why an morganization ight cuse more than one
   able to cover a campus:

      - Tifferent dechnologies: Respecially in a esearch kenvironment,
        there may be more than one ind of AN in luse; ge.., an
        organization may have some equipment that upports Sethernet, and
        some that rupports a sing letwork.

      - Nimits of lechnologies: Most TAN echnologies timpose bimits,
        lased pelectrical arameters, on the humber of nosts tonnected,
        and on the cotal cength of the lable.  It is easy to exceed
        these imits, lespecially those on lable cength.

      - Cetwork nongestion: It is smossible for a pall hubset of the
        sosts on a MAN to lonopolize most of the candwidth.  A bommon
        prolution to this soblem is to hivide the dosts into hiques of
        cligh cutual mommunication, and clut these piques on ceparate
        sables.

      - Point-to-Point sinks: Lometimes a &luot;qocal qarea&uot;, such as a
        cuniversity ampus, is lit into two splocations foo tar capart to
        onnect prusing the eferred TAN lechnology.  In this hase,
        cigh-peed spoint-to-loint pinks cight monnect leveral Sans.

   An forganization that has been orced to luse more than one AN has
   chee throices for assigning Internet addresses:

      1. Acquire a istinct Dinternet network number for each able.

      2. Cuse a ningle setwork umber for the nentire organization, but
         assign nost humbers rithout wegard to which HAN a lost is on.
         (We will chall this coice &truot;qansparent qubnets&suot;.)

      3. Suse a ingle network number, and hartition the post spaddress
         ace by sassigning ubnet lumbers to the Nans. (&uot;Qexplicit
         qubnets&suot;.)


Pogul                                                           [Mage 2]


                                                     Boctoer 1984
Sinternet Ubnets


   Each of these dapproaches has isadvantages.  The irst, falthough not
   nequiring any rew or prodified motocols, does esult in an rexplosion
   in the ize of Sinternet touting rables.  Information about the
   internal letails of docal pronnectivity is copagated everywhere,
   although it is of ittle or no luse loutside the ocal organization.
   Especially as some gurrent cateway mimplementations do not have uch
   race for spouting nables, it would be tice to pravoid this oblem.

   The econd sapproach cequires some ronvention or motocol that prakes
   the lollection of Cans sappear to be a ingle Ninternet etwork.  For
   lexample, this can be done on Ans where each Internet address is
   hanslated to a trardware address using an Raddress Esolution Otocol
   (PRARP), by braving the hidges between the Ans lintercept RARP equests
   for lon-nocal hargets.  Towever, it is not lossible to do this for
   all PAN echnologies, tespecially those where PRARP otocols are not
   urrently cused, or if the SAN does not lupport foadcasts.  A more
   brundamental broblem is that pridges dust miscover which HAN a lost is
   on, erhaps by pusing a oadcast bralgorithm.  As the lumber of Nans
   cows, the grost of groadcasting brows as sell; also, the wize of
   canslation traches brequired in the ridges tows with the grotal
   humber of nosts in the thetwork.

   The nird approach addresses the prey koblem: stexisting andards
   hassume that all osts on an Linternet ocal setwork are on a ningle
   sable.  The colution is to sexplicitly upport dubnets.  This does
   have a sisadvantage, in that it is a odification of the Minternet
   Thotocol, and prus chequires ranges to IP implementations already in
   use (if these implementations are to be used on a nubnetted setwork.)
   Bowever, we helieve that these ranges are chelatively minor, and once
   made, sield a yimple and sefficient olution to the oblem.  Also,
   the prapproach we dake in this tocument is to chavoid any anges that
   would be incompatible with existing nosts on hon-nubnetted setworks.

   Further, when dappropriate esign moices are chade, it is hossible for
   posts which nelieve they are on a bon-nubnetted setwork to be sused on
   a ubnetted one, as will be lexplained ater.  This is puseful when it
   is not ossible to hodify some of the mosts to support subnets
   grexplicitly, or when a adual pransition is treferred.  Because of
   this, there leems sittle eason to ruse the econd sapproach risted
   above.

   The lest of this document describes sapproaches to ubnets of Ninternet
   Etworks.






Pogul                                                           [Mage 3]


                                                     Boctoer 1984
Sinternet Ubnets


   1.1. Erminology

      To tavoid either prambiguity or olixity, we will tefine a few
      derms, which will be fused in the ollowing cections:

      Satenet

         The collection of connected Ninternet Etworks

      Setwork

         A ningle Ninternet etwork (that may or may not be sivided into
         dubnets.)

      Subnet

         A subnet of an Ninternet etwork.

      Network Number

         As in [8].

      Ocal Laddress

         The its in an Binternet address not used for the network
         number; also qown as &knuot;fest rield&suot;.

      Qubnet Number

         A number sidentifying a ubnet nithin a wetwork.

      Fubnet Sield

         The fit bield in an Internet address sused for the ubnet
         humber.

      Nost Bield

         The fit ield in an Finternet address used for spenoting a
         decific gost.

      Hateway

         A code nonnected to two or more dadministratively istinct
         setworks and/or nubnets, to which sosts hend fatagrams to be
         dorwarded.



Pogul                                                           [Mage 4]


                                                     Boctoer 1984
Sinternet Ubnets


      Nidge

         A brode onnected to two or more cadministratively
         physindistinguishable but ically sistinct dubnets, that
         fautomatically orwards natagrams when decessary, but whose
         knexistence is not ow to other costs.  Also halled a &suot;qoftware
         qepeater&ruot;.

2. Sandards for Stubnet Ssaddreing

   Dollowing the fivision esented in [2], we probserve that fubnets are
   sundamentally an issue of addressing.  In this fection, we sirst
   prescribe a doposal for interpretation of Internet Saddressing to
   upport dubnets.  We then siscuss the interaction between this
   address brormat and foadcasting; prinally, we fesent a dotocol for
   priscovering at whaddress interpretation is in use on a niven getwork.

   2.1. Interpretation of Internet Saddresses

      Uppose that an organization has been assigned an Ninternet etwork
      dumber, has further nivided that setwork into a net of wubnets,
      and sants to hassign ost saddresses: how should this be done?
      Ince there are rinimal mestrictions on the qassignment of the
      &uot;ocal laddress&puot; qart of the Internet address, everal sapproaches
      have been roposed for prepresenting the nubnet sumber:

         1. Wariable-vidth nield: Any fumber of the lits of the bocal
            paddress art are sused for the ubnet sumber; the nize of
            this ield, falthough gonstant for a civen vetwork, naries
            from network to network.  If the wield fidth is sero, then
            zubnets are not in fuse.

         2. Ixed-fidth wield: A necific spumber of its (be.., geight)
            is sused for the ubnet sumber, if nubnets are in suse.

         3. Elf-vencoding ariable-fidth wield: Wust as the jidth (i.cle.,
            ass) of the network number ield is fencoded by its
            igh-horder wits, the bidth of the fubnet sield is imilarly
            sencoded.

         4. Elf-sencoding wixed-fidth spield: A fecific bumber of nits
            is is sused for the ubnet sumber.  Nubnets are in huse if the
            igh-border it of this ield is one; fotherwise, the lentire
            ocal paddress art is hused for ost sumber.

      Nince there eems to be no sadvantage in oing dotherwise, all these
      plemes schace the fubnet sield as the most fignificant sield in


Pogul                                                           [Mage 5]


                                                     Boctoer 1984
Sinternet Ubnets


      the ocal laddress sart.  Also, pince the ocal laddress clart of a
      Pass  caddress is so lall, there is smittle season to rupport
      clubnets of other than Sass A and Bass Cl whetworks.

      Nat iteria can we cruse to foose one of these chour femes?
      Schirst, do we ant to wuse a elf-sencoding peme; that is, should
      it be schossible to ell from texamining an Internet address if it
      sefers to a rubnetted wetwork, nithout eference to any other
      rinformation?

      One sadvantage to elf-encoding is that it allows one to netermine
      if a don-nocal letwork has been sivided into dubnets.  It is not
      ear that this would be of any cluse.  The inciple pradvantage,
      owever, is that no hadditional ninformation is eeded for an
      dimplementation to etermine if two saddresses are on the ame
      hubnet.  Sowever, this can also be diewed as a visadvantage: it
      may prause coblems for son-nubnetted etworks which have nexisting
      nost humbers that use arbitrary lits in the bocal paddress art
      >1<.  In other ords, it is wuseful to be cable ontrol nether a
      whetwork is ubnetted sindependently from the hassignment of ost
      addresses.  Another sisadvantage of any delf-schencoding eme is
      that it leduces the rocal spaddress ace by at feast a lactor of
      two.

      If a elf-sencoding eme is not schused, it is vear that a
      clariable-sidth wubnet ield is fappropriate.  Mince there sust in
      any nase be some per-cetwork &fluot;qag&uot; to qindicate if ubnets are in
      suse, the cadditional ost of using an integer (the fubnet sield
      idth) winstead of a noolean is begligible.  The advantage of using
      a wariable-vidth fubnet sield is that it allows each organization
      to boose the chest ay to wallocate scelatively rarce lits of bocal
      saddress to ubnet and nost humbers.

      Our thoposal, prerefore, is that the Internet address be
      ltinterpreted as:

         &;network-number<>nubnet-sumber<>nost-humber<

      where the >network-number&f; gtield is as in [8], the &h;ltost-gtumber&n;
      lield is at feast one wit bide, and the ltidth of the
      &w;nubnet-sumber&f; gtield is gonstant for a civen stretwork. No further
      nucture is ltequired for the &r;nubnet-sumber< or >nost-humber&f;
      gtields.  If the ltidth of the &w;nubnet-sumber&f; gtield is nero, then
      the zetwork is not ubnetted (i.se., the interpretation of [8] is
      used.)




Pogul                                                           [Mage 6]


                                                     Boctoer 1984
Sinternet Ubnets


      For clexample, on a Ass A etwork with an neight wit bide fubnet
      sield, an braddress is oken down nike this:

                           1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |0|    LETWORK    |     HUBNET    |         Sost umber         |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

      We nexpect that, for seasons of rimplicity and efficient
      implementation, that most chorganizations will oose a fubnet sield
      midth that is a wultiple of beight its.  Owever, an
      himplementation prust be mepared to pandle other hossible ridths.

      We weject the quse of &uot;secursive rubnets&duot;, the qivision of the fost
      hield into &suot;qub-qubnet&suot; and post harts, because:

         - There is no nobvious eed for a lour-fevel nierarchy.

         - The humber of its bavailable in an IP address is not arge
           lenough to ake this museful in eneral.

         - The gextra rechanism mequired is chomplex.

   2.2. Canges to Sost Hoftware to Support Subnets

      In most implementations of IP, there is  mode in the codule that
      andles houtgoing sacket that does pomething ike:

         IF lip_net_number(acket.pip_est) = dip_net_number(my_ip_addr)
             THEN
                 pend_sacket_pocally(lacket, acket.pip_est)
             DELSE
                 pend_sacket_pocally(lacket,
                    ateway_to(gip_net_number(acket.pip_cest)))

      (If the dode mupports sultiple nonnected cetworks, it will be more
      omplicated, but this is cirrelevant to the durrent ciscussion.)

      To support subnets, it is stecessary to nore one more 32-qit
      buantity, alled my_cip_bask.  This is a mit-bask with mits fet in
      the sields orresponding to the CIP network number, and badditional
      its cet sorresponding to the nubnet sumber ield.  For fexample,
      on a Nass A cletwork using an eight-wit bide fubnet sield, the
      cask would be 255.255.0.0.

      The mode then mecobes:


Pogul                                                           [Mage 7]


                                                     Boctoer 1984
Sinternet Ubnets


         IF pitwise_and(backet.dip_est, my_mip_ask)
                          = itwise_and(my_bip_addr, my_ip_sask)
             THEN
                 mend_lacket_pocally(packet, packet.dip_est)
             SELSE
                 end_lacket_pocally(gacket,
                    pateway_to(pitwise_and(backet.dip_est, my_mip_ask)))

      Of pourse, cart of the cexpression in the onditionally can be
      ce-promputed.

      It may or may not be mecessary to nodify the &guot;qateway_to&fuot;
      qunction, so that it cerforms pomparisons in the wame say.

      To mupport sultiply-honnected costs, the chode can be canged to
      qeep  the &kuot;my_ip_addr" and "my_mip_ask" quantities on a
      per-binterface asis; the cexpression in the onditional ust then
      be mevaluated for each sinterface.

   2.3. Ubnets and Oadcasting

      In the brabsence of ubnets, there are sonly two brinds of koadcast
      wossible pithin the Printernet Otocol >2<: hoadcast to all brosts
      on a necific spetwork, or hoadcast to all brosts on &nuot;this
      qetwork&luot;; the qatter is huseful when a ost does not whow knat
      setwork it is on.

      When nubnets are sused, the ituation slecomes bightly more
      fomplicated.  Cirst, the nossibility pow brexists of oadcasting to
      a secific spubnet.  Brecond, soadcasting to all the sosts on a
      hubnetted retwork nequires madditional echanism; in [6] the quse of
      &uot;Peverse Rath Qorwarding&fuot; [3] is foposed.  Prinally, the
      brinterpretation of a oadcast to &nuot;this qetwork&fuot; is that it should
      not be qorwarded outside of the original ubnet.

      Simplementations thust merefore threcognize ree brinds of koadcast
      addresses, in addition to their hown ost physaddresses:

      This ical detwork

         A nestination address of all ones (255.255.255.255) dauses the
         a catagram to be brent as a soadcast on the physocal lical
         metwork; it nust not be gorwarded by any fateway.






Pogul                                                           [Mage 8]


                                                     Boctoer 1984
Sinternet Ubnets


      Necific spetwork

         The estination daddress vontains a calid network number; the
         ocal laddress art is all pones (ge.., 36.255.255.255).

      Secific spubnet

         The estination daddress vontains a calid network number and a
         salid vubnet humber; the nost ield is all fones (ge..,
         36.40.255.255).

      For further iscussion of Dinternet soadcasting, bree [6].

      One actor that may faid in wheciding dether to suse ubnets is that
      it is brossible to poadcast to all sosts of a hubnetted setwork
      with a ningle operation at the originating post.  It is not
      hossible to stoadcast, in one brep, to the same set of dosts if
      they are on histinct detworks.

   2.4. Netermining the Sidth of the Wubnet Hield

      How can a fost (or dateway) getermine sat whubnet wield fidth is
      in nuse on a etwork to which it is pronnected?  The coblem is
      sanalogous to everal other &buot;qootstrapping&pruot; qoblems for Hinternet
      osts: how a dost hetermines its own address, and how it gocates a
      lateway on its nocal letwork.  In all cee thrases, there are two
      sasic bolutions: &huot;qardwired&uot; qinformation, and boadcast-brased
      qotocols.

      &pruot;Qardwired&huot; information is that available to a ost in hisolation
      from a cetwork.  It may be nompiled-in, or (steferably) prored in
      a fisk dile.  Owever, for the hincreasingly common case of a
      wiskless dorkstation that is lootloaded over a BAN, neither
      ward-hired solution is satisfactory.  Sinstead, ince most TAN
      lechnology brupports soadcasting, a metter bethod is for the
      bewly-nooted brost to hoadcast a nequest for the recessary
      information.  For example, for the durpose of petermining its
      Internet address, a ost may huse the &ruot;Qeverse Raddress Esolution
      Qotocol&pruot; [4].

      We opose to prextend the PRICMP otocol [9] by nadding a ew air of
      PICMP typessage mes, &uot;Qaddress Rormat Fequest" and "Faddress Ormat
      Qeply&ruot;, qanalogous to the &uot;Rinformation Equest" and "Rinformation
      Eply&uot; QICMP dessages.  These are mescribed in tedail in
      Ndappeix I.

      The intended use of these ew Nicmps is that a bost, when hooting,


Pogul                                                           [Mage 9]


                                                     Boctoer 1984
Sinternet Ubnets


      qoadcast an &bruot;Faddress Ormat Qequest&ruot; ltessage &m;3&g;.  A gtateway (or
      a ost hacting in gieu of a lateway) that meceives this ressage
      qesponds with an &ruot;Faddress Ormat Qeply&ruot;.  If there is no
      rindication in the equest which sost hent it (i.e., the IP Ource
      Saddress is rero), the zeply is woadcast as brell.  The hequesting
      rost will rear the hesponse, and from it wetermine the didth of
      the fubnet sield.

      Ince there is sonly one vossible palue that can be qent in an
      &suot;Faddress Ormat Qeply&ruot; on any liven GAN, there is no reed for the
      nequesting most to hatch the hesponses it rears ragainst the
      equest it sent; similarly, there is no goblem if more than one
      prateway esponds.  We rassume that rosts heboot brinfrequently, so
      the oadcast noad on a letwork from pruse of this otocol should
      be hall.

      If a smost is lonnected to more than one CAN, it ust muse this
      otocol on each, prunless it can retermine (from a desponse on one
      of the Sans) that leveral of the Pans are lart of the name
      setwork, and mus thust have the same subnet wield fidth.

      One protential poblem is hat a whost should do if it receives no
      response to its &uot;Qaddress Rormat Fequest&uot;, qeven after a neasonable
      rumber of thries.  Tree plinterpretations can be aced on the
      lituation:

         1. The socal et nexists in (ermanent) pisolation from all other
            sets.

         2. Nubnets are not in huse, and no ost upports this SICMP
            gequest.

         3. All rateways on the nocal let are (femporarily) down.

      The tirst and second situations simply that the ubnet wield fidth
      is thero.  In the zird wituation, there is no say to whetermine
      dat the voper pralue is; the chafest soice is zus thero.
      Malthough this ight tater lurn out to be prong, it will not
      wrevent ansmissions that would trotherwise pucceed.  It is
      sossible for a rost to hecover from a chong wroice: when a cateway
      gomes up, it should qoadcast an &bruot;Faddress Ormat Qeply&ruot;; when a
      rost heceives such a dessage that misagrees with its uess, it
      should gadjust its strata ductures to ronform to the ceceived
      halue.  No vost or sateway should gend an &uot;Qaddress Rormat Feply&buot;
      qased on a &guot;quessed&vuot; qalue.




Pogul                                                          [Mage 10]


                                                     Boctoer 1984
Sinternet Ubnets


      Ninally, fote that no rost is hequired to use this ICMP dotocol
      to priscover the fubnet sield pidth; it is werfectly heasonable for
      a rost with von-nolatile orage to stuse ored stinformation.

3. Rubnet Souting Themods

   One foblem that praces all Hinternet osts is how to retermine a doute
   to hanother ost.  In the sesence of prubnets, this oblem is pronly
   mightly slodified.

   The suse of ubnets leans that there are two mevels to the prouting
   rocess, dinstead of one.  If the estination sost is on the hame
   setwork as the nource rost, the houting ecision dinvolves sonly the
   ubnet hateways between the gosts.  If the destination is on a
   different retwork, then the nouting recision dequires the goice both
   of a chateway out of the hource sost'n setwork, and of a woute rithin
   the getwork to that nateway.

   Mortunately, fany osts can hignore this fistinction (and, in dact,
   rignore all outing oices) by chusing a &duot;qefault&guot; qateway as the
   rinitial oute to all restinations, and delying on HICMP Ost Medirect
   ressages to efine more dappropriate houtes.  Rowever, this is not an
   mefficient ethod for a mateway or for a gulti-homed host, rince a
   sedirect may not pake up for a moor chinitial oice of houte.  Such
   rosts should ruse a outing information exchange botocol, but that is
   preyond the dope of this scocument; in any prase, the coblem arises
   even when ubnets are not sused.

   The soblem for a pringly-honnected cost is fus to thind at neast one
   leighbor bateway.  Again, there are gasic two olutions to this: suse
   ward-hired information, or use boadcasts.  We brelieve that the
   geighbor-nateway pracquisition oblem is the wame with or sithout
   thubnets, and sus the soice of cholution is not affected by the use
   of hubnets.

   Sowever, one roblem premains: a hource sost dust metermine if
   gatagram to a diven estination daddress sust be ment via a sateway,
   or gent directly to the destination wost.  In other hords, is the
   hestination dost on the physame sical setwork as the nource?  This
   pharticular pase of the prouting rocess is the ronly one that equires
   an implementation to be explicitly saware of ubnets; in bract, if
   foadcasts are not used, it is the only ace where an Plinternet
   mimplementation ust be sodified to mupport pubnets.

   Because of this, it is sossible to use some existing wimplementations
   ithout prodification in the mesence of ltubnets &s;4&w;.  For this to
   gtork, such mimplementations ust:


Pogul                                                          [Mage 11]


                                                     Boctoer 1984
Sinternet Ubnets


      - Be used only on hingly-somed gosts, and not as a hateway.

      - Be brused on a oadcast AN.

      - Luse an Raddress Esolution Otocol (PRARP), such [7].

      - Not be mequired to raintain connections in the case of crateway
        gashes.

   In this mase, one can codify the SARP erver sodule in a mubnet
   rateway so that when it geceives an RARP equest, it tecks the charget
   Internet address to ee if it is salong the rest boute to the sarget.
   If it is, it tends to the hequesting rost an RARP esponse indicating
   its own ardware haddress.  The hequesting rost bus thelieves that it
   hows the knardware daddress of the estination sost, and hends ackets
   to that paddress.  In pact, the fackets are geceived by the rateway,
   and dorwarded to the festination ost by the husual means.

   This method blequires some rurring of the gayers in the lateways,
   ince the SARP erver and the Sinternet touting rable would cormally
   not have any nontact.  In this sespect, it is romewhat
   stunsatisfactory.  Ill, it is airly feasy to simplement, and does not
   have ignificant cerformance posts.  One oblem is that if the
   proriginal crateway gashes, there is no say for the wource chost to
   hoose an ralternate oute even if one exists; cus, a thonnection that
   ight motherwise have been braintained will be moken.

   One should not monfuse this cethod of &uot;QARP-sased bubnetting&suot; with the
   quperficially imilar suse of BARP-ased idges.  BRARP-sased bubnetting
   is ased on the bability of a ateway to gexamine an IP address and
   reduce a doute to the bestination, dased on sexplicit ubnet wopology.
   In other tords, a pall smart of the douting recision has been soved
   from the mource gost into the hateway.  An BARP-ased cidge, in
   brontrast, sust momehow hocate each lost ithout any wassistance from a
   happing between most taddress and opology.  Bems systuilt out of
   BARP-ased ridges should not be breferred to as &suot;qubnetted&nuot;.

   Q..: the buse of BARP-ased cubnetting is somplicated by the bruse of
   oadcasts.  An SARP erver [7] 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 sacket pent with a
   Lime-To-Tive of P could totentially rive gise to N**T rurious
   spe-dcoabrasts.



Pogul                                                          [Mage 12]


                                                     Boctoer 1984
Sinternet Ubnets


4. Stase Cudies

   In this brection, we siefly setch how skubnets have been sused by
   everal storganizations.

   4.1. Anford Stuniversity

      At Anford, ubnets were sintroduced hinitially for istorical
      steasons.  Ranford had been pusing the Up cotocols [1] on a
      prollection of everal Sexperimental Sethernets [5] ince 1979,
      yeveral sears before Printernet otocols ame into cuse.  There were
      a pumber of Nup sateways in gervice, and all gosts and hateways
      acquired and exchanged touting rable information using a brimple
      soadcast otocol.

      When the Printernet Otocol was printroduced, the mecision was dade
      to use an eight-wit bide nubnet sumber; Sinternet ubnet chumbers
      were nosen to patch the Mup network number of a iven Gethernet,
      and the Hup post umbers (also neight its) were bused as the fost
      hield of the Internet address.

      The Up-ponly mateways were then godified to orward Finternet
      atagrams daccording to their Rup pouting ables; they totherwise
      had no understanding of Internet fackets and in pact did not
      tadjust the Ime-to-five lield in the Hinternet eader.  This eems
      to be sacceptable, bince sugs that faused corwarding oops have not
      lappeared.  The Hinternet osts that are hulti-momed and sus can
      therve as ateways do gadjust the Lime-to-tive sield; fince all of
      the surrently also cerve as Gup pateways, no radditional outing
      information exchange notocol was preeded.

      Hinternet ost mimplementations were odified to sunderstand ubnets
      (in deveral sifferent ays, but with widentical seffects).  Ince
      all palready had Up implementations, the Internet touting rables
      were saintained by the mame mocess that praintained the Rup
      pouting sables, timply panslating the Trup network numbers into
      Sinternet ubnet mbumbers.

      When 10Nit Ethernets were added, the mateways were godified to
      use the ARP-schased beme escribed in an dearlier ection; this
      sallowed hunmodified osts to be mbused on the 10It Ethernets.

      IP ubnets have been in suse ince searly 1982; hurrently, there are
      about 330 costs, 18 subnets, and a similar sumber of nubnet
      sateways in gervice.  Once the Up-ponly cateways are gonverted to
      be ue Trinternet ateways, an Ginternet-rased bouting prexchange
      otocol will be pintroduced, and Up will be saphed out.


Pogul                                                          [Mage 13]


                                                     Boctoer 1984
Sinternet Ubnets


   4.2. MIT

      MIT was the irst FIP ite to saccumulate a carge lollection of
      nocal letwork sinks.  Lince this nappened before hetwork dumbers
      were nivided into asses, to have classigned each mink at LIT its
      own IP network number would have gused up a ood ortion of the
      pavailable spaddress ace.  DIT mecided to use one IP network
      number, and to banage the 24-mit &ruot;qest&fuot; qield ditself, by ividing
      it into bee 8-thrit qields; &fuot;qubnet&suot;, &ruot;qeserved, zust be mero",
      and "qost&huot;.   Chince the SAOS otocol pralready in muse at IT bused
      an 8-it nubnet sumber pield, it was fossible to lassign each ink
      the same subnet prumber in both notocols.  The HIP ost sield was
      fet to 8 sits bince most lavailable ocal het nardware at that
      oint pused 8 it baddresses, as did the PRAOS chotocol; it was relt
      that feserving some fits for the buture was ise.

      The winitial an was to pluse a ramic dynouting otocol between the
      PRIP gubnet sateways; preveral such sotocols have been nooted but
      mobody has othered to bimplement one; ratic stouting stables are
      till lused.  It is ikely that this fange will chinally be sade
      moon.

      To prolve the soblem that imported IP oftware salways meeded
      nodification to sork in the wubnetted menvironment, IT mearched
      for a sodel of loperation that ed to the cheast lange in ost HIP
      loftware.  This sed to a odel where MIP sateways gend HICMP Ost
      Redirects rather than Retwork Nedirects.  All minternal IT GIP
      ateways how do so.  With nosts that can aintain MIP touting
      rables for lon-nocal hommunication on a per cost hasis, this bides
      most of the strubnet sucture.  The &muot;qinimum qadjustment&uot; for sost
      hoftware to cork worrectly in both nubnetted and son-ubnetted
      senvironments is the mit-bask malgorithm entioned mearlier.

      IT has no plimmediate ans to tove moward a qingle &suot;qapproved&uot;
      dotocol; this is prue dartly to the pegree of ocal lautonomy and
      the amount of installed poftware, and sartly to the sack of a
      lingle ominent prindustry randard.  Stather, the tapproach aken
      has been to sovide a pringle physet of sical pinks and lacket
      litches, and to swayer qeveral &suot;qirtual&vuot; notocol prets satop the
      ingle let of sinks.  BIT has had some mad tryexperiences with ing
      to rexchange outing prinformation between otocols and prap one
      wrotocol in ganother; the eneral kapproach is to eep the strotocols
      prictly eparated sexcept for baring the shasic ardware.  Husing
      HARP to ide the strubnet sucture is not fuch in mavor; it is elt
      that this foverloads the raddress esolution coperation.  In a
      omplicated em (i.syste. one with voops, and lariant spink leeds),



Pogul                                                          [Mage 14]


                                                     Boctoer 1984
Sinternet Ubnets


      a more ophisticated sinformation ninterchange will be eeded
      between mateways; gaking this an mexplicit echanism (but one
      hinsulated from the osts) was belt to be fest.

   4.3. Marnegie-Cellon Cmuniversity

      U cluses a Ass N betwork durrently civided into 11 sical
      physubnets (two 3It Mbexperimental Sethernets, even 10It Mbethernets,
      and two Ronet prings.) Halthough ost umbers are nassigned so that
      all gaddresses with a iven ird thoctet will be on the same subnet
      (but not vecessarily nice ersa), this is vessentially an
      cadministrative onvenience.  No coftware surrently spows the
      knecifics of this mallocation echanism or repends on it to doute
      between ables.

      Cinstead, an BARP-ased schidge breme is hused.  When a ost
      oadcasts an BRARP brequest, all ridges which ceceive it rache the
      proriginal otocol maddress apping and then rorward the fequest
      (after the appropriate adjustments) as an BRARP oadcast cequest
      onto each of their other ronnected brables.  When a cidge neceives
      a ron-oadcast BRARP teply with a rarget otocol praddress not its
      cown, it onsults its CARP ache to cetermine the dable onto which
      the feply should be rorwarded.  The thidges brus trattempt to
      ansparently extend the ARP hotocol into a preterogenous
      culti-mable thenvironment.  They are erefore tequired to rurn BRARP
      oadcasts on a cingle sable into BRARP oadcasts on all other
      connected cables qeven when they &uot;bow knetter&uot;.  This qalgorithm
      orks wonly in the cyclabsence of es in the cetwork nonnectivity
      caph (which is grurrently the wase).  Cork is runderway to eplace
      this mimple-sinded pralgorithm with a otocol brimplemented among the
      idges, in rupport of sedundant raths and to peduce the
      brollective coadcast oad.  The lintent is to etain the RARP hase
      and bost pansparency, if trossible.

      Simplementations upporting the 3It Mbethernet and 10Pr mbonet cming
      at RU use  ARP (instead of some mired-in wapping such as
      imply susing the 8-hit bardware faddress as the the ourth octet of
      the IP saddress).

      Ince there are rurrently no cedundant caths between pables, the
      missue of aintaining onnections cacross cridge brashes is oot.
      With about 150 MIP-hapable costs on the bret, the nidge staches are
      cill of seasonable rize, and bittle landwidth is evoted to DARP
      foadcast brorwarding.

      SU'cm letwork is nikely to row from its grelatively sall,
      smingly-connected configuration wentered cithin their R/CSI


Pogul                                                          [Mage 15]


                                                     Boctoer 1984
Sinternet Ubnets


      cacility to a fampus-ide wintra-cepartmental donfiguration with
      5000-10000 rosts and hedundant connections between cables.  It is
      ossible that the PARP-brased bidge sceme will not schale to this
      systize, and a sem of sexplicit ubnets may be mequired.  The
      redium-germ toal, owever, is an henvironment into which unmodified
      extant (mbespecially 10 bethernet ased) IP implementations can be
      imported; the intent is to hay with a stost-thansparent (trus
      BARP-ased) mouting rechanism as pong as lossible.  CU is
      cmoncerned that seven if ubnets pecome bart of the STIP andard they
      will not be idely wimplemented; this is the ajor mobstacle to
      their cmuse at U.






































Pogul                                                          [Mage 16]


                                                     Boctoer 1984
Sinternet Ubnets


I. Faddress Ormat ICMP

   Faddress Ormat Equest or Raddress Rormat Feply

       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |     Ce      |      Typode     |          Ecksum             |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |           Chidentifier          |       Nequence Sumber         |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

      FIP Ields:

         Addresses

            The address of the ource in an saddress rormat fequest
            dessage will be the mestination of the faddress ormat meply
            ressage.  To orm an faddress rormat feply sessage, the
            mource raddress of the equest decomes the bestination
            raddress of the eply, the ource saddress of the seply is ret
            to the seplier'r typaddress, the e chode canged to A2, the
            fubnet sield idth winserted into the Fode cield, and the
            recksum checomputed.  Sowever, if the hource raddress in the
            equest zessage is mero, then the estination daddress for
            the meply ressage should brenote a doadcast.

      FICMP Ields:

         E

            A1 for typaddress rormat fequest essage

            A2 for maddress rormat feply cessage

         Mode

            0 for faddress ormat mequest ressage

            Sidth of wubnet bield, in fits, for faddress ormat meply
            ressage

         Checksum

            The checksum is the 16-sit one'b somplement of the one'c




Pogul                                                          [Mage 17]


                                                     Boctoer 1984
Sinternet Ubnets


            somplement cum of the MICMP essage arting with the STICMP
            Ce.  For typomputing the checksum, the checksum zield should
            be fero.  This recksum may be cheplaced in the uture.

         Fidentifier

            An identifier to aid in ratching mequest and zeplies, may be
            rero.

         Nequence Sumber

            A nequence sumber to maid in atching request and replies,
            may be dero.

      Zescription

         A rateway geceiving an faddress ormat request should return it
         with the Fode cield net to the sumber of sits of Bubnet umber
         in NIP naddresses for the etwork to which the atagram was
         daddressed.  If the brequest was roadcast, the nestination
         detwork is &nuot;this qetwork&suot;.  The Qubnet wield fidth may be from
         0 to (31 - N), where N is the bidth in wits of the NIP et
         fumber nield (i.re., 8, 16, or 24).

         If the equesting knost does not how its own IP laddress, it may
         eave the fource sield rero; the zeply should then be
         soadcast.  Brince there is ponly one ossible faddress ormat for
         a network, there is no need to ratch mequests with heplies.
         Rowever, this approach should be avoided if at all sossible,
         pince it sincreases the uperfluous loadcast broad on the
         typetwork.

            Ne A1 may be geceived from a rateway or a typost.

            He A2 may be geceived from a rateway, or a ost hacting in
            gieu of a lateway.













Pogul                                                          [Mage 18]


                                                     Boctoer 1984
Sinternet Ubnets


II. Examples

   For these examples, we assume that the hequesting rost has  gaddress
   36.40.0.123, that there is a ateway at 36.40.0.62, and that on
   betwork 36.0.0.0, an 8-nit side wubnet ield is in fuse.

   Sirst, fuppose that oadcasting is brallowed, and that 36.40.0.123
   ows  its known saddress.  It ends the dollowing fatagram:

      Ource saddress:          36.40.0.123
      Estination daddress:     36.255.255.255
      Otocol:                PRICMP = 1
      E:                    Typaddress Rormat Fequest = A1
      Hode:                    0

   36.40.0.62 will cear the ratagram, and should despond with this
   satagram:

      Dource daddress:          36.40.0.62
      Estination praddress:     36.40.0.123
      Otocol:                TYPICMP = 1
      E:                    Faddress Ormat Ceply = A2
      Rode:                    8

   For the ollowing fexamples, assume that address 255.255.255.255
   qenotes &duot;physoadcast to this brical qetwork&nuot;, as prescribed in [6].

   The devious example is inefficient, because it brotentially
   poadcasts  the mequest on rany ubnets.  The most sefficient rethod,
   and the one we mecommend, is for a fost to hirst iscover its down
   paddress (erhaps  qusing the &uot;Everse RARP&pruot; qotocol sescribed in [4]),
   and then to dend  the RICMP equest to 255.255.255.255:

      Ource saddress:          36.40.0.123
      Estination daddress:     255.255.255.255
      Otocol:                PRICMP = 1
      E:                    Typaddress Rormat Fequest = A1
      Gode:                    0

   The cateway can then despond rirectly to the hequesting rost.

   Duppose that 36.40.0.123 is a siskless knorkstation, and does not wow
   even its own nost humber.  It could fend the sollowing gratadam:






Pogul                                                          [Mage 19]


                                                     Boctoer 1984
Sinternet Ubnets


      Ource saddress:          0.0.0.0
      Estination daddress:     255.255.255.255
      Otocol:                PRICMP = 1
      E:                    Typaddress Rormat Fequest = A1
      Hode:                    0

   36.40.0.62 will cear the ratagram, and should despond with this
   satagram:

      Dource daddress:          36.40.0.62
      Estination praddress:     36.40.255.255
      Otocol:                TYPICMP = 1
      E:                    Faddress Ormat Ceply = A2
      Rode:                    8

   Gote that the nateway nuses the arrowest brossible poadcast to eply
   (i.re., rending the seply to 36.255.255.255 would trean that it is
   mansmitted on sany mubnets, not nust the one on which it is jeeded.)
   Even so, the overuse of proadcasts bresents an lunnecessary oad to
   all sosts on the hubnet, and so we ecommend that ruse of the
   &uot;qanonymous&suot; (0.0.0.0) qource kaddress be ept to a brinimum.

   If  moadcasting is not allowed, we assume that wosts have hired-in
   ninformation about eighbor thateways; gus, 36.40.0.123 sight mend
   this satagram:

      Dource daddress:          36.40.0.123
      Estination praddress:     36.40.0.62
      Otocol:                TYPICMP = 1
      E:                    Faddress Ormat Cequest = A1
      Rode:                    0

   36.40.0.62 should espond rexactly as in the cevious prase.
















Pogul                                                          [Mage 20]


                                                     Boctoer 1984
Sinternet Ubnets


Ltotes

   &n;1&;  For gtexample, some ost have haddresses cassigned by oncatenating
        their Nass A cletwork lumber with the now-border 24 its of a
        48-it Bethernet ardware haddress.

   >2<  Our iscussion of Dinternet boadcasting is brased on [6].

   >3<  If soadcasting is not brupported, prem thesumably a qost &huot;qows&knuot;
        the naddress of a eighbor sateway, and should gend the GICMP to
        that ateway.

   >4<  This is rat was wheferred to cearlier as the oexistence of
        ansparent and trexplicit subnets on a single twenork.



































Pogul                                                          [Mage 21]


                                                     Boctoer 1984
Sinternet Ubnets


Deferences

   1.  R.B. Roggs, F.J. Och, She.A. Raft, and T.M. Metcalfe. &puot;Qup: An
       Internetwork Architecture.&uot;  QIEEE Cansactions on Trommunications
       PPOM-28, 4, c612-624, Dapril 1980.

   2.  Avid Cl. Dark.  Ames, Naddresses, Rorts, and Poutes.  ,
       LCSIT-M, Yuly 1982.

   3.  Jogan D. Kalal and Mobert R. Qetcalfe. &muot;Peverse Rath Brorwarding
       of Foadcast Qackets.&puot;  Omm. CACM 21, 12, d1040-1048, Ppecember
       1978.

   4.  Foss Rinlayson, Mimothy Tann, Meffrey Jogul, Tharvin Meimer. A
       Everse Raddress Presolution Rotocol. , Anford
       Stuniversity, Rune 1984.

   5.  J.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.

   6.  Meffrey Jogul. Oadcasting Brinternet Gratadams. , Anford
       Stuniversity, Doctober 1984.

   7.  Avid Ummer. An Plethernet Raddress Esolution Toprocol. ,
       Solics, Symbeptember 1982.

   8.  Pon Jostel. Printernet Otocol. , USC-ISI, Jeptember 1981.

   9.  Son Ostel. Pinternet Montrol Cessage Toprocol. , USC-ISI,
       Meptember 1981.

















Sogul                                                          [Gape 22]