home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / drafts / draft_ietf_j_p / draft-ietf-pppext-bacp-05.txt < prev    next >
Text File  |  1996-11-27  |  50KB  |  1,401 lines

  1.  
  2.  
  3.  
  4. PPP Working Group                                         Craig Richards
  5. Internet Draft                                         Shiva Corporation
  6. expires May 1997                                             Kevin Smith
  7.                                              Ascend Communications, Inc.
  8.                                                            November 1996
  9.  
  10.  
  11.               The PPP Bandwidth Allocation Protocol (BAP)
  12.           The PPP Bandwidth Allocation Control Protocol (BACP)
  13.                      draft-ietf-pppext-bacp-05.txt
  14.  
  15.  
  16. Status of this Memo
  17.  
  18.    This document is a submission to the Point-to-Point Protocol Working
  19.    Group of the Internet Engineering Task Force (IETF).  Comments should
  20.    be submitted to the ietf-ppp@merit.edu mailing list.
  21.  
  22.    Distribution of this memo is unlimited.
  23.  
  24.    Internet Drafts are working documents of the Internet Engineering
  25.    Task Force (IETF), its Areas, and its Working Groups.  Note that
  26.    other groups may also distribute working documents as Internet
  27.    Drafts.
  28.  
  29.    Internet Drafts are draft documents valid for a maximum of six
  30.    months.  Internet Drafts may be updated, replaced, or obsoleted by
  31.    other documents at any time.  It is not appropriate to use Internet
  32.    Drafts as reference material or to cite them other than as a
  33.    ``working draft'' or ``work in progress.''
  34.  
  35.    Please check the 1id-abstracts.txt listing contained in the
  36.    internet-drafts Shadow Directories on nic.ddn.mil, ds.internic.net,
  37.    venera.isi.edu, nic.nordu.net, or munnari.oz.au to learn the current
  38.    status of any Internet Draft.
  39.  
  40. Abstract
  41.  
  42.    This document proposes a method to manage the dynamic bandwidth
  43.    allocation of implementations supporting the PPP multilink protocol
  44.    [2].  This is done by defining the Bandwidth Allocation Protocol
  45.    (BAP), as well as its associated control protocol, the Bandwidth
  46.    Allocation Control Protocol (BACP).  BAP can be used to manage the
  47.    number of links in a multilink bundle.  BAP defines datagrams to co-
  48.    ordinate adding and removing individual links in a multilink bundle,
  49.    as well as specifying which peer is responsible for which decisions
  50.    regarding managing bandwidth during a multilink connection.
  51.  
  52.  
  53.  
  54.  
  55. Richards & Smith            expires May 1997                    [Page i]
  56.  
  57. RFC DRAFT                       PPP BACP                   November 1996
  58.  
  59.  
  60. 1.  Introduction
  61.  
  62.    As PPP multilink implementations become increasingly common, there is
  63.    a greater need for some conformity in how to manage bandwidth over
  64.    such links. BACP and BAP provide a flexible yet robust way of
  65.    managing bandwidth between 2 peers.  BAP does this by defining Call-
  66.    Control packets and a protocol that allows peers to co-ordinate the
  67.    actual bandwidth allocation and de-allocation.  Phone number deltas
  68.    may be passed in the Call-Control packets to minimize the end user's
  69.    configuration.
  70.  
  71. 1.1.  Specification of Requirements
  72.  
  73.    In this document, several words are used to signify the requirements
  74.    of the specification.  These words are often capitalized.
  75.  
  76.    MUST      This word, or the adjective "required", means that the
  77.              definition is an absolute requirement of the specification.
  78.  
  79.    MUST NOT  This phrase means that the definition is an absolute
  80.              prohibition of the specification.
  81.  
  82.    SHOULD    This word, or the adjective "recommended", means that there
  83.              may exist valid reasons in particular circumstances to
  84.              ignore this item, but the full implications must be
  85.              understood and carefully weighed before choosing a
  86.              different course.
  87.  
  88.    MAY       This word, or the adjective "optional", means that this
  89.              item is one of an allowed set of alternatives.  An
  90.              implementation which does not include this option MUST be
  91.              prepared to interoperate with another implementation which
  92.              does include the option.
  93.  
  94. 1.2.  Terminology
  95.  
  96.    This document frequently uses the following terms:
  97.  
  98.    peer      The other end of the point-to-point link
  99.  
  100.    silently discard
  101.              This means the implementation discards the packet without
  102.              further processing.  The implementation SHOULD provide the
  103.              capability of logging the error, including the contents of
  104.              the silently discarded packet, and SHOULD record the event
  105.              in a statistics counter.
  106.  
  107.    BOD (bandwidth on demand)
  108.  
  109.  
  110.  
  111. Richards & Smith            expires May 1997                    [Page 1]
  112.  
  113. RFC DRAFT                       PPP BACP                   November 1996
  114.  
  115.  
  116.              BOD refers to the ability of a system to allocate and
  117.              remove links in a multilink system to change the bandwidth
  118.              of a multilink bundle.  This may be done in response to
  119.              changing line conditions and it also may be done in
  120.              response to changing resource conditions.  In either case,
  121.              changing bandwidth dynamically during a multilink
  122.              connection is referred to as BOD.
  123.  
  124.  
  125. 2.  New LCP Configuration Option
  126.  
  127.    Implementations MUST implement LCP as defined in [1].  LCP MUST be in
  128.    the Network-Layer Protocol phase before BACP can be negotiated.
  129.  
  130. 2.1.  Link Discriminator
  131.  
  132.    Description
  133.  
  134.       This LCP Configuration Option is used to declare a unique
  135.       discriminator for the link that the option is sent over.  This
  136.       option MUST be negotiated by LCP on every link.  BAP uses the link
  137.       discriminator to differentiate the various links in a multilink
  138.       bundle. Each link in a multilink bundle MUST have a unique
  139.       discriminator.  The discriminator is independent for each peer, so
  140.       each link may have 2 different LCP Link Discriminator values, one
  141.       for each peer. When the Link Discriminator is sent in a BAP
  142.       packet, the transmitter sends the Link Discriminator Option value
  143.       received from its peer in the peer's LCP Configure Request packet.
  144.  
  145.    A summary of the Link Discriminator LCP Option format is shown below.
  146.    The fields are transmitted from left to right.
  147.  
  148.     0                   1                   2                   3
  149.     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
  150.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  151.    |     Type      |     Length    |       Link Discriminator      |
  152.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  153.  
  154.  
  155.    Type
  156.  
  157.       23 for Link Discriminator option.
  158.  
  159.    Length
  160.  
  161.       4
  162.  
  163.  
  164.  
  165.  
  166.  
  167. Richards & Smith            expires May 1997                    [Page 2]
  168.  
  169. RFC DRAFT                       PPP BACP                   November 1996
  170.  
  171.  
  172.    Link Discriminator
  173.  
  174.       The Link Discriminator field is 2 octets in Length, and it
  175.       contains a unique identifier used to indicate a particular link in
  176.       a multilink bundle.  The Link Discriminator for a link MUST be
  177.       unique among the Link Discriminators assigned by this endpoint for
  178.       this bundle.  The Link Discriminator MAY be assigned in a
  179.       sequential, monotonically increasing manner.
  180.  
  181. 3.  BACP Operation
  182.  
  183.    BACP uses the same packet exchange mechanism as the Link Control
  184.    Protocol defined in [1].  BACP packets MUST NOT be exchanged until
  185.    PPP has reached the Network-Layer Protocol phase.  BACP packets
  186.    received before this phase is reached should be silently discarded.
  187.  
  188.    BACP is negotiated once per multilink bundle.  If BACP is negotiated
  189.    on any of the links in a multilink bundle, it is opened for all of
  190.    the links in the bundle.
  191.  
  192.    The Bandwidth Allocation Control Protocol is exactly the same as the
  193.    Link Control Protocol [1] with the following exceptions:
  194.  
  195.       Data Link Layer Protocol Field
  196.  
  197.          Exactly one BACP packet is encapsulated in the Information
  198.          field of PPP Data Link Layer frames where the Protocol field
  199.          indicates Type hex 8071 (Bandwidth Allocation Control
  200.          Protocol).
  201.  
  202.       Code field
  203.  
  204.          Only Codes 1 through 7 (Configure-Request, Configure-Ack,
  205.          Configure-Nak, Configure-Reject, Terminate-Request, Terminate-
  206.          Ack and Code-Reject) are used.  Other Codes should be treated
  207.          as unrecognized and should result in Code-Rejects.
  208.  
  209.       Configuration Option Types
  210.  
  211.          BACP has a distinct set of Configuration Options, which are
  212.          defined in the next section.
  213.  
  214.  
  215. 4.  BACP Configuration Options
  216.  
  217.    BACP Configuration Options allow negotiation of desirable BACP
  218.    parameters.  These options are used in Config-Request, Config-Ack,
  219.    Config-Nak, and Config-Reject packets.  BACP uses the same
  220.  
  221.  
  222.  
  223. Richards & Smith            expires May 1997                    [Page 3]
  224.  
  225. RFC DRAFT                       PPP BACP                   November 1996
  226.  
  227.  
  228.    Configuration Option format defined for LCP [1], with a seperate set
  229.    of Options.
  230.  
  231.    Current values of BACP Configuration Options are assigned as follows:
  232.  
  233.       1     Favored-Peer
  234.  
  235.  
  236. 4.1.  Favored-Peer
  237.  
  238.    Description
  239.  
  240.       This Configuration Option is used to determine which peer is
  241.       favored in the event of a race condition in which 2 peers
  242.       simultaneously transmit the same BAP request.  Each peer
  243.       negotiates a 4 octet magic number, which is successfully
  244.       negotiated when the 2 Magic-Numbers are different.  The favored
  245.       peer is the peer that transmits the lowest Magic-Number in its
  246.       Favored-Peer Configuration Option.
  247.  
  248.       The Favored-Peer Configuration Option MUST be implemented.
  249.  
  250.       BACP will usually be negotiated after only one link of a multilink
  251.       bundle has reached the Network-Layer Protocol phase. In this
  252.       situation, it is acceptable for the peer that initiated the
  253.       connection to use a Magic-Number of 1, and the peer that responded
  254.       to the connection to use a Magic-Number of 0xFFFFFFFF.  If a
  255.       multilink bundle has been established with links that were
  256.       originated by each peer, or if it is not clear which peer has
  257.       initiated a link (on a leased line, for example), then a random
  258.       number MUST be used for the Magic-Number.  Refer to the
  259.       description of the LCP Magic-Number Configuration Option in [1]
  260.       for an explanation of how to create a useful random number.
  261.  
  262.       When a Configure-Request is received with a Favored-Peer
  263.       Configuration Option, the received Magic-Number is compared with
  264.       the Magic-Number of the last Configure-Request sent to the peer.
  265.       If the two Magic-Numbers are different, then the Favored-Peer
  266.       negotiation has been successful, and the Favored-Peer Option
  267.       SHOULD be acknowledged.  If the two Magic-Numbers are equal, a
  268.       Configure-Nak MUST be sent specifying a different Magic-Number
  269.       value.  A new Configure-Request SHOULD NOT be sent to the peer
  270.       until normal processing would cause it to be sent (that is, until
  271.       a Configure-Nak is received or the Restart timer runs out).
  272.  
  273.    A summary of the Favored-Peer Option format is shown below.  The
  274.    fields are transmitted from left to right.
  275.  
  276.  
  277.  
  278.  
  279. Richards & Smith            expires May 1997                    [Page 4]
  280.  
  281. RFC DRAFT                       PPP BACP                   November 1996
  282.  
  283.  
  284.  
  285.     0                   1                   2                   3
  286.     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
  287.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  288.    |     Type      |    Length     |          Magic-Number
  289.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  290.          Magic-Number (cont)       |
  291.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  292.  
  293.  
  294.    Type
  295.  
  296.       1 for Favored-Peer
  297.  
  298.    Length
  299.  
  300.       6
  301.  
  302.    Magic-Number
  303.  
  304.       The Magic-Number field is four octets, and indicates a number
  305.       which is very likely to be unique to one end of the link.  A
  306.       Magic-Number of zero is illegal and MUST always be Nak'd.
  307.  
  308.  
  309. 5.  BAP Operation
  310.  
  311. 5.1.  Link Management
  312.  
  313.    BAP defines packets, parameters and negotiation procedures to allow
  314.    two endpoints to negotiate gracefully adding and dropping links from
  315.    a multilink bundle.  An implementation can:
  316.  
  317.       o Request permission to add a Link to a bundle (Call-Request)
  318.  
  319.       o Request that the peer add a link to a bundle via a callback
  320.       (Callback-Request)
  321.  
  322.       o Negotiate with the peer to drop a link from a bundle (this
  323.       implies that the peer can refuse) (Link-Drop-Query-Request)
  324.  
  325.    After BACP reaches the opened state, either peer MAY request that
  326.    another link be added to the bundle by sending a BAP Call- or
  327.    Callback-Request packet.  A Call-Request packet is sent if the
  328.    implementation wishes to originate the call for the new link, and a
  329.    Callback-Request packet is sent if the implementation wishes its peer
  330.    to originate the call for the new link.  The implementation receiving
  331.    a Call- or Callback-Request MUST respond with a Call- or Callback-
  332.  
  333.  
  334.  
  335. Richards & Smith            expires May 1997                    [Page 5]
  336.  
  337. RFC DRAFT                       PPP BACP                   November 1996
  338.  
  339.  
  340.    Response with a valid Response Code.
  341.  
  342.    After BACP reaches the opened state, either peer MAY request that a
  343.    link be dropped from the bundle.  A BAP Link-Drop-Query-Request
  344.    packet is sent to the peer to negotiate dropping a link.  The peer
  345.    MUST respond with a Link-Drop-Query-Response.   If the peer is
  346.    agreeable to dropping the link the implementation MUST issue an LCP
  347.    Terminate-Request to initiate dropping the link.
  348.  
  349.    If an implementation wishes to force dropping a link without
  350.    negotiation, it should simply send an LCP Terminate-Request packet on
  351.    the link (without sending any BAP Link-Drop-Query-Request).
  352.  
  353.    After an LCP Terminate-Request is sent an implementation SHOULD stop
  354.    transmitting data packets on that link, but still continue to receive
  355.    and process data packets normally until receipt of a Terminate-Ack
  356.    from the peer.  The receiver of an LCP Terminate-Request SHOULD stop
  357.    transmitting packets before issuing the Terminate-Ack.  This
  358.    procedure will insure that no data is lost in either direction.
  359.  
  360. 5.2.  Bandwidth Management
  361.  
  362.    BAP allows two peer implementations to manage the bandwidth available
  363.    to the protocols using the multilink bundle by negotiating when to
  364.    add and drop links (See Link Management).  Use of the negotiation
  365.    features of BAP makes it unnecessary to require a 'common' algorithm
  366.    for determining when to add and remove links in a multilink bundle.
  367.  
  368.    BOD decisions can be based on link utilization.  A BAP implementation
  369.    may monitor its transmit traffic, both transmit and receive traffic,
  370.    or choose not to monitor traffic in either direction.  If a server
  371.    system implements bi-directional monitoring, it will allow BOD
  372.    operation with a client that does not monitor traffic in either
  373.    direction, which will minimize the end-user's configuration.  When an
  374.    implementation decides that it is time to remove a link due to
  375.    traffic monitoring, it MUST transmit a Link-Drop-Query-Request to
  376.    inquire if the peer agrees to drop a link from the current multilink
  377.    bundle.  When an implementation receives a Link-Drop-Query-Request,
  378.    it SHOULD base its response on the traffic it is monitoring.  It MUST
  379.    NOT base its response solely on its receive data heuristics.
  380.  
  381.    The operation of the Link-Drop-Query-Request and -Response datagrams
  382.    causes a link in a multilink bundle to be left up as long as either
  383.    implementation that is monitoring link utilization determines that it
  384.    is necessary.
  385.  
  386.    BOD decisions can also be based on the resources (e.g., physical
  387.    port, B-channel, etc.) available to an implementation.  For example,
  388.  
  389.  
  390.  
  391. Richards & Smith            expires May 1997                    [Page 6]
  392.  
  393. RFC DRAFT                       PPP BACP                   November 1996
  394.  
  395.  
  396.    an implementation might remove a link from a multilink bundle to
  397.    answer an incoming voice call, or might add a link when a line
  398.    becomes free due to the termination of a separate PPP call on another
  399.    port.  An implementation MUST use an LCP Terminate-Request to remove
  400.    a link due to a resource condition.
  401.  
  402.  
  403. 5.3.  BAP Packets
  404.  
  405.    All of the BAP Request and Indication packets require a Response
  406.    packet in response before taking any action.
  407.  
  408.    An implementation MUST set a timer when sending a Request or
  409.    Indication packet. The value of this timer SHOULD depend on the type
  410.    and speed of the link or links in use.  Upon expiration of this
  411.    timer, the implementation MUST retransmit the request or indication,
  412.    with an identical identification number.  This procedure will insure
  413.    that the peer receives the proper request or indication even if a
  414.    packet is lost during transmission.  If a response packet is lost the
  415.    peer will realize that this is not a new request or indication
  416.    packet.
  417.  
  418.    If the number of retransmissions exceeds the number supported by the
  419.    implementation for this packet, the implementation MAY take
  420.    appropriate recovery action. For example, if no response to a Link-
  421.    Drop-Query-Request is received after 2 retransmissions, an
  422.    implementation MAY initiate dropping the link by sending an LCP
  423.    Terminate-Request for that link.
  424.  
  425.    Since BAP packets help determine the amount of bandwidth available to
  426.    an implementation, PPP SHOULD give them priority over other data
  427.    packets when transmitting.  This will help insure the prompt addition
  428.    and removal of links in a multilink bundle.  This is especially
  429.    important when adding links to a bundle due to bandwidth constraints.
  430.  
  431. 5.4.  Race Conditions
  432.  
  433.    In order to resolve race conditions, an implementation MUST implement
  434.    the BACP Favored-Peer Configuration Option.
  435.  
  436.    A race condition can occur if both implementations send a Call-
  437.    Request, Callback-Request or Link-Drop-Query-Request at the same
  438.    time.  These race conditions should be solved as follows:
  439.  
  440.       If each implementation sends a Call-Request or Callback-Request at
  441.       the same time, the implementation with the lowest BACP Favored-
  442.       Peer Magic-Number value SHOULD be favored.
  443.  
  444.  
  445.  
  446.  
  447. Richards & Smith            expires May 1997                    [Page 7]
  448.  
  449. RFC DRAFT                       PPP BACP                   November 1996
  450.  
  451.  
  452.       If each implementation sends a Link-Drop-Query-Request at the same
  453.       time, the same scheme SHOULD be used as for Call-Requests.
  454.  
  455. 5.5.  BAP Datagram Format
  456.  
  457.    Description
  458.  
  459.       Before any BAP packets may be communicated, PPP MUST reach the
  460.       Network-Layer Protocol phase, and BACP MUST reach the opened
  461.       state.
  462.  
  463.       Exactly one BAP packet is encapsulated in the Information field of
  464.       PPP Data Link Layer frames where the Protocol field indicates type
  465.       hex 0071 (Bandwidth Allocation Protocol).
  466.  
  467.       Because ISDN Terminal Adapters sometimes are used to do multilink
  468.       with a non-multilink aware client, BAP datagrams MUST NOT be
  469.       compressed or encrypted.  Otherwise, the ISDN TA may not be able
  470.       to properly intercept BAP datagrams needed to control the
  471.       multilink connection.  This refers to compression of the whole
  472.       datagram; Address-and-Control-Field-Compression and Protocol-
  473.       Field-Compression are allowed if properly negotiated.
  474.  
  475.       The maximum length of a BAP packet transmitted over a PPP link is
  476.       the same as the maximum length of the Information field of a PPP
  477.       data link layer frame.
  478.  
  479.       Bandwidth Allocation Protocol datagrams can be catagorized as
  480.       either Request, Indication or Response packets.  Every Request and
  481.       Indication datagram has a corresponding Response packet.  Request
  482.       and Indication datagrams have a slightly different format from
  483.       Response datagrams, as the Response datagrams include a Response
  484.       Code octet.
  485.  
  486.       All of the BAP datagrams MUST be supported by an implementation.
  487.       However, that does not mean an implementation must support all BAP
  488.       datagram actions.  An implementation MAY send a Request-Rej to a
  489.       Request that it does not implement.
  490.  
  491.    A summary of the Bandwidth Allocation Protocol datagram Request and
  492.    Indication packet format is shown below.  The fields are transmitted
  493.    from left to right.
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503. Richards & Smith            expires May 1997                    [Page 8]
  504.  
  505. RFC DRAFT                       PPP BACP                   November 1996
  506.  
  507.  
  508.  
  509.     0                   1                   2                   3
  510.     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
  511.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  512.    |     Type      |  Identifier   |            Length             |
  513.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  514.    |   Data ...
  515.    +-+-+-+-+-+-+-+-+
  516.  
  517.    A summary of the Bandwidth Allocation Protocol datagram Response
  518.    packet format is shown below.  The fields are transmitted from left
  519.    to right.
  520.  
  521.     0                   1                   2                   3
  522.     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
  523.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  524.    |     Type      |  Identifier   |            Length             |
  525.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  526.    | Response Code |    Data ...
  527.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  528.  
  529.  
  530.    Type
  531.  
  532.       The Type field is one octet and identifies the type of BAP
  533.       datagram packet.  Datagram types are defined as follows.  This
  534.       field is coded in binary coded hexadecimal.
  535.  
  536.  
  537.          01       Call-Request
  538.          02       Call-Response
  539.          03       Callback-Request
  540.          04       Callback-Response
  541.          05       Link-Drop-Query-Request
  542.          06       Link-Drop-Query-Response
  543.          07       Call-Status-Indication
  544.          08       Call-Status-Response
  545.  
  546.       The various types of BAP datagrams are explained in the following
  547.       sections.
  548.  
  549.    Identifier
  550.  
  551.       The Identifier field is one octet and is binary coded.  It aids in
  552.       matching Requests and Indications with Responses.  Call-Status-
  553.       Indication packets MUST use the same Identifier as was used by the
  554.       original Call-Request or Callback-Request that was used to
  555.       initiate the call.  All other Request or Indication packets MUST
  556.  
  557.  
  558.  
  559. Richards & Smith            expires May 1997                    [Page 9]
  560.  
  561. RFC DRAFT                       PPP BACP                   November 1996
  562.  
  563.  
  564.       use a unique Identifier for each new Request or Indication.  All
  565.       Response packets MUST use the same Identifier as the Identifier in
  566.       the Request or Indication packet being responded to.  When re-
  567.       transmitting a request or indication, the Identifier MUST be the
  568.       same as the Identifier used on the previous transmission of the
  569.       request or indication.
  570.  
  571.    Length
  572.  
  573.       The Length field is two octets and indicates the length of the
  574.       packet including the Type, Identifier, Length and Options fields.
  575.       It is binary encoded. Octets outside the range of the Length field
  576.       should be treated as Data Link Layer padding and should be ignored
  577.       on reception.
  578.  
  579.    Response Code
  580.  
  581.       The Response Code is only present in Response datagrams.  It is
  582.       binary coded and can have the following values:
  583.  
  584.          00000000        Request-Ack
  585.          00000001        Request-Nak
  586.          00000010        Request-Rej
  587.          00000011        Request-Full-Nak
  588.  
  589.       The Request-Ack Response Code is sent to indicate that the Request
  590.       or Indication command is valid and was successfully received by an
  591.       implementation. The Request-Nak Response Code is sent to indicate
  592.       that the Request command was received, but an implementation does
  593.       not want the requested action performed at this time.  If a
  594.       Response containing a Request-Nak Response Code is received, the
  595.       original Request MAY be retried after an implementation determines
  596.       that sufficient time has elapsed.  The Request-Rej Response Code
  597.       is sent to indicate that the Request command received by an
  598.       implementation is not implemented (i.e., if reception of a
  599.       particular request type is not supported by the peer.) The
  600.       Request-Full-Nak Response Code is sent to indicate that the
  601.       Request command was received, but an implementation does not want
  602.       the requested action performed.  The Request-Full-Nak is used to
  603.       indicate that an implementation has reached the maximum (for a
  604.       Call- or Callback-Request) or the minimum (for a Link-Drop-Query-
  605.       Request) bandwidth configured or available for this multilink
  606.       bundle.  If a Response containing a Request-Full-Nak Response Code
  607.       is received, the original Request SHOULD NOT be retried until the
  608.       total bandwidth of the multilink bundle has changed.
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615. Richards & Smith            expires May 1997                   [Page 10]
  616.  
  617. RFC DRAFT                       PPP BACP                   November 1996
  618.  
  619.  
  620.    Data
  621.  
  622.       The Data field is variable in length, and will usually contain the
  623.       list of zero or more BAP Options that the sender desires to
  624.       transmit. The format of BAP Options is described in a later
  625.       chapter.
  626.  
  627. 5.5.1.  Call-Request
  628.  
  629.    Before originating a call to add another link to a multilink bundle,
  630.    an implementation MUST transmit a Call-Request packet.  This will
  631.    inform the receiver of the request to add another link to the bundle
  632.    and give the receiver a chance to inform the implementation of the
  633.    phone number of a free port that can be called.
  634.  
  635.    The options field MUST include the Link-Type option.  The options
  636.    field MAY include the No-Phone-Number and/or the Reason options.
  637.  
  638.    Upon reception of a Call-Request, a Call-Response datagram MUST be
  639.    transmitted.
  640.  
  641. 5.5.2.  Call-Response
  642.  
  643.    An implementation MUST transmit a Call-Response datagram in response
  644.    to a received Call-Request datagram.  If the Call-Request is
  645.    acceptable, the Call-Response MUST have a Response Code of Request-
  646.    Ack.  The Phone-Delta option MUST be included in a Call-Response
  647.    packet with a Response Code of Request-Ack unless the Call-Request
  648.    included the No-Phone-Number option. The options field MAY include
  649.    the Reason and/or Link-Type options.
  650.  
  651. 5.5.3.  Callback-Request
  652.  
  653.    An implementation that wants its peer to originate another link to
  654.    add to the multilink bundle MUST transmit a Callback-Request packet
  655.    to its peer.  This will inform the receiver of the request to add
  656.    another link to the bundle along with the number to be called.
  657.  
  658.    The options field MUST include the Link-Type and Phone-Delta options.
  659.    The Reason option MAY also be included.
  660.  
  661.    Upon reception of a Callback-Request, a Callback-Response datagram
  662.    MUST be transmitted.
  663.  
  664. 5.5.4.  Callback-Response
  665.  
  666.    An implementation MUST transmit a Callback-Response datagram in
  667.    response to a received Callback-Request datagram.  If the Callback-
  668.  
  669.  
  670.  
  671. Richards & Smith            expires May 1997                   [Page 11]
  672.  
  673. RFC DRAFT                       PPP BACP                   November 1996
  674.  
  675.  
  676.    Request is acceptable, the Callback-Response MUST have a Response
  677.    Code of Request-Ack.  A Callback-Response packet MAY include the
  678.    Link-Type option.
  679.  
  680. 5.5.5.  Link-Drop-Query-Request
  681.  
  682.    An implementation that determines that a link is no longer needed and
  683.    wishes to negotiate dropping it (e.g., based on a throughput BOD
  684.    decision), MUST transmit a Link-Drop-Query-Request packet. The
  685.    options field MUST include the Link-Discriminator option (containing
  686.    the receiver's Link-Discriminator), and MAY include the Reason
  687.    option.
  688.  
  689.    Upon reception of a Link-Drop-Query-Request, an implementation MUST
  690.    transmit a Link-Drop-Query-Response datagram.  The Response-Code will
  691.    be Request-Ack if it agrees to drop the link; if it does not agree to
  692.    drop the link the Response-Code will be Request-Nak or Request-Full-
  693.    Nak.  After the receipt of a Link-Drop-Query-Response with a Response
  694.    Code of Request-Ack, the transmitter of the Link-Drop-Query-Request
  695.    MUST initiate tear down of the indicated link by sending an LCP
  696.    Terminate-Request packet on the designated link.
  697.  
  698. 5.5.6.  Link-Drop-Query-Response
  699.  
  700.    An implementation transmits a Link-Drop-Query-Response datagram in
  701.    response to a received Link-Drop-Query-Request datagram.  If the
  702.    implementation agrees (e.g., based on its throughput BOD algorithm)
  703.    to reduce the bandwidth of the multilink bundle, then the Response
  704.    Code MUST be set to Request-Ack.
  705.  
  706.    The Reason option MAY be included in the Link-Drop-Query-Response
  707.    packet.
  708.  
  709.    The Link-Drop-Query-Request datagram MUST be supported, as well as
  710.    the underlying implementation to respond to it.  This means that a
  711.    Link-Drop-Query-Response with a Response Code of Request-Rej MUST NOT
  712.    be transmitted in response to a Link-Drop-Query-Request.
  713.  
  714. 5.5.7.  Call-Status-Indication
  715.  
  716.    After an implementation attempts to add a link to a bundle as the
  717.    result of a Call-Request or a Callback-Request, it MUST send a Call-
  718.    Status-Indication packet to its peer to indicate if the attempt to
  719.    add the link succeeded or failed.  One Indication MUST be sent for
  720.    each attempt made. For each Call-Status-Indication packet transmitted
  721.    with the Call-Status Option Action octet set to Retry, a subsequent
  722.    Call-Status-Indication packet MUST be sent to indicate the success or
  723.    failure of the retry.  The Call-Status option MUST be included to
  724.  
  725.  
  726.  
  727. Richards & Smith            expires May 1997                   [Page 12]
  728.  
  729. RFC DRAFT                       PPP BACP                   November 1996
  730.  
  731.  
  732.    inform the receiver of the status of the attempt to add a link and
  733.    the action the implementation will take in case of failure.  The
  734.    reason option MAY also be included in the Call-Status-Indication
  735.    packet.
  736.  
  737.    Upon reception of a Call-Status-Indication packet which indicates a
  738.    failure, an implementation may log the failure and reason code.  Upon
  739.    reception of any Call-Status-Indication packet, a Call-Status-
  740.    Response datagram MUST be transmitted.
  741.  
  742. 5.5.8.  Call-Status-Response
  743.  
  744.    An implementation transmits a Call-Status-Response datagram in
  745.    response to a received Call-Status-Indication datagram.  The Response
  746.    Code field MUST be set to Request-Ack in this packet.  The Reason
  747.    option MAY be included in this packet.
  748.  
  749.  
  750. 6.  BAP Datagram Options
  751.  
  752.    BAP Datagram Options are used in various BAP packets.  Their use in
  753.    various packets is as defined below.  The format of these options
  754.    loosely follows the formatting conventions of LCP Configuration
  755.    Options.  When there are multiple BAP Options in one BAP packet, the
  756.    options MAY be transmitted in any order.
  757.  
  758.    A summary of the BAP Option format is shown below.  The fields are
  759.    transmitted from left to right.
  760.  
  761.  
  762.     0                   1
  763.     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
  764.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  765.    |     Type      |    Length     |    Data ...
  766.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  767.  
  768.  
  769.    Type
  770.  
  771.       The type field is one octet, and indicates the type of the BAP
  772.       Datagram Option.  This field is binary coded Hexadecimal.  The
  773.       following options are currently defined:
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783. Richards & Smith            expires May 1997                   [Page 13]
  784.  
  785. RFC DRAFT                       PPP BACP                   November 1996
  786.  
  787.  
  788.  
  789.          01   Link-Type
  790.          02   Phone-Delta
  791.          03   No-Phone-Number-Needed
  792.          04   Reason
  793.          05   Link-Discriminator
  794.          06   Call-Status
  795.  
  796.  
  797.    Length
  798.  
  799.       The Length field is one octet, and indicates the length of this
  800.       BAP Option including the Type, Length, and Data fields.
  801.  
  802.    Data
  803.  
  804.       The Data field is zero or more octets, and contains information
  805.       specific to the BAP Option.  The format and length of the Data
  806.       field is determined by the Type and Length fields.
  807.  
  808. 6.1.  Link-Type
  809.  
  810.    Description
  811.  
  812.       This option indicates the general type of link indicated for the
  813.       operation being performed.  This option does not indicate a
  814.       specific link type, rather it gives some general characteristics
  815.       of the desired link type.  This option MAY be used along with
  816.       other knowledge (i.e., the type of the other link(s) in the bundle
  817.       or user configuration) to determine the type of link desired to be
  818.       used in the operation.  It MUST be included in a Call- or
  819.       Callback-Request, and MAY be included in a Call- or Callback-
  820.       Response.
  821.  
  822.    A summary of the Link-Type BAP Option format is shown below.  The
  823.    fields are transmitted from left to right.
  824.  
  825.     0                   1                   2                   3
  826.     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
  827.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  828.    |     Type      |    Length     |       Link Speed (kbps)       |
  829.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  830.    |  Link Type    |
  831.    +-+-+-+-+-+-+-+-+
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839. Richards & Smith            expires May 1997                   [Page 14]
  840.  
  841. RFC DRAFT                       PPP BACP                   November 1996
  842.  
  843.  
  844.    Type
  845.  
  846.       01 for Link-Type.
  847.  
  848.    Length
  849.  
  850.       The Length field is one octet, and indicates the length of this
  851.       BAP Option including the Type, Length and Link Type fields.
  852.  
  853.    Link Speed
  854.  
  855.       The Link Speed field is 2 octets, and indicates the requested
  856.       speed of the desired link in kilobits per second.  This field is
  857.       coded as 2 binary coded hexadecimal octets, with the most
  858.       significant octet sent first.
  859.  
  860.    Link Type
  861.  
  862.       The Link Type field is a bit mask.  It is 1 octet in length.  Bit
  863.       0 of the Link Type field corresponds to bit 39 of the Link-Type
  864.       BAP Option as described above.  If a bit is set, it indicates
  865.       support of the corresponding link type.  If the link indicated is
  866.       different than the supported link types, no bit will be set.
  867.       Otherwise, at least one bit MUST be set.  If an implementation
  868.       supports more than one link type, more than one bit MAY be set.
  869.  
  870.          Bit     Link type
  871.          ---     -------------
  872.           0      ISDN
  873.           1      X.25
  874.           2      analog
  875.           3      switched digital (non-ISDN)
  876.           4      ISDN data over voice
  877.           5-7    reserved
  878.  
  879.       If the Length field contains more bits than are defined by this
  880.       specification, then any bits that are not defined should be
  881.       ignored.  In order to allow for future expansion of this field, it
  882.       is important to properly support receiving a Link Type field
  883.       longer than what is defined by this specification.  If the Length
  884.       field is shorter than the number of bits defined, then the
  885.       implementation should set all bits not received to 0.
  886.  
  887. 6.2.  Phone-Delta
  888.  
  889.    Description
  890.  
  891.       The BAP Phone-Delta Option is used by an implementation to give
  892.  
  893.  
  894.  
  895. Richards & Smith            expires May 1997                   [Page 15]
  896.  
  897. RFC DRAFT                       PPP BACP                   November 1996
  898.  
  899.  
  900.       its peer the information needed to make a call.  Due to the
  901.       difficulty of determining which dialing prefixes (if any) are
  902.       necessary to dial a given phone number/national destination
  903.       code/country code combination, the phone number to be dialed will
  904.       be based on a previously known number.  This MAY be the original
  905.       number used to establish the first link of the multilink bundle, a
  906.       number configured by the user, the phone number used to make a
  907.       callback connection, or a number determined in some other way.
  908.       The Phone-Delta Option will consist of a Subscriber-Number Sub-
  909.       Option along with a Unique-Digits Sub-Option that indicates how
  910.       many of the digits of the Subscriber-Number are unique among the
  911.       ports in use, previously used, and to be used in the multilink
  912.       bundle.  There is also an optional Phone-Number-Sub-Address Sub-
  913.       Option.
  914.  
  915.       An implementation MAY include more than one Phone-Delta option in
  916.       a response.  This indicates that there is more than one phone
  917.       number that can be used for the requested operation.  The Phone-
  918.       Delta option MUST appear in a Callback-Request.  It also MUST
  919.       appear in a Call-Response with a Response Code set to Request-Ack
  920.       if the Call-Request did not contain the No-Phone-Number option.
  921.       It MAY be included in the Call-Status-Indication packet.
  922.  
  923.    A summary of the Phone-Delta BAP Option format is shown below.  The
  924.    fields are transmitted from left to right.
  925.  
  926.     0                   1                   2                   3
  927.     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
  928.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  929.    |     Type      |    Length     |Sub-Option Type| Sub-Option Len|
  930.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  931.    |  Sub-Option...
  932.    +-+-+-+-+-+-+-+-+
  933.  
  934.  
  935.    Type
  936.  
  937.       02 for Phone-Delta.
  938.  
  939.    Length
  940.  
  941.       The Length field is one octet, and indicates the length of this
  942.       BAP Option including the Type, Length, and Sub-Option fields.
  943.  
  944.    Sub-Option Type
  945.  
  946.       The following Sub-Option Types are defined for the Phone-Delta
  947.       option.
  948.  
  949.  
  950.  
  951. Richards & Smith            expires May 1997                   [Page 16]
  952.  
  953. RFC DRAFT                       PPP BACP                   November 1996
  954.  
  955.  
  956.  
  957.           01   Unique-Digits
  958.           02   Subscriber-Number
  959.           03   Phone-Number-Sub-Address
  960.  
  961.    Sub-Option Length
  962.  
  963.       The Sub-Option Length field is one octet, and indicates the length
  964.       of this BAP Sub-Option including the Sub-Option Type, Sub-Option
  965.       Length, and Sub-Option fields.
  966.  
  967.  
  968. 6.2.1.  Phone-Delta Sub-Options
  969.  
  970.    Unique-Digits
  971.  
  972.       The Unique-Digits Sub-Option field consists of one octet that is a
  973.       count of the number of rightmost digits of the Subscriber-Number
  974.       that are different from the set of phone numbers of the ports used
  975.       in this multilink connection.  (For example, if the first port of
  976.       a multilink bundle has a phone number of 123456789, and an
  977.       implementation wanted its peer to call a port with a phone number
  978.       of 123456888, the Unique-Digits octet would be 3.) If the Phone-
  979.       Number-Sub-Address Sub-Option is present, the Unique-Digits Sub-
  980.       Option MUST NOT include any of the Sub Address digits in its count
  981.       of different rightmost digits.
  982.  
  983.       This field is required.
  984.  
  985.    Subscriber-Number
  986.  
  987.       This field is the phone number of the port that should be called
  988.       by the peer. Any digits that precede the rightmost unique digits
  989.       of the Subscriber-Number are provided for informational purposes
  990.       only, and do not need to be included in this field.  This field is
  991.       an ASCII string and MUST contain only ASCII characters indicating
  992.       valid phone number digits.  This field is required.
  993.  
  994.    Phone-Number-Sub-Address
  995.  
  996.       This field is the sub address of the port to be called by the
  997.       peer.  This sub-option SHOULD only be used for an ISDN call. This
  998.       field is an ASCII string and only contains valid phone number
  999.       digits. This field is optional.
  1000.  
  1001. 6.3.  No-Phone-Number-Needed
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007. Richards & Smith            expires May 1997                   [Page 17]
  1008.  
  1009. RFC DRAFT                       PPP BACP                   November 1996
  1010.  
  1011.  
  1012.    Description
  1013.  
  1014.       The No-Phone-Number option indicates that the calling
  1015.       implementation is already configured with the phone number of its
  1016.       multilink peer and the answering implementation MUST NOT include
  1017.       the Phone Number option in the response.  This may be for security
  1018.       reasons, for configuration reasons, or for any other reason.
  1019.  
  1020.       This option MAY be used in a Call-Request packet.
  1021.  
  1022.    A summary of the No-Phone-Number BAP Option format is shown below.
  1023.    The fields are transmitted from left to right.
  1024.  
  1025.     0                   1
  1026.     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  1027.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1028.    |     Type      |    Length     |
  1029.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1030.  
  1031.  
  1032.    Type
  1033.  
  1034.       03 for No-Phone-Number.
  1035.  
  1036.    Length
  1037.  
  1038.       2
  1039.  
  1040. 6.4.  Reason
  1041.  
  1042.    Description
  1043.  
  1044.       This option is used to indicate a reason for the Request or
  1045.       Response.  It is meant to be used for informational purposes only.
  1046.       This option MAY be used in any BAP packet.
  1047.  
  1048.    A summary of the Reason BAP Option format is shown below.  The fields
  1049.    are transmitted from left to right.
  1050.  
  1051.     0                   1                   2                   3
  1052.     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
  1053.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1054.    |     Type      |    Length     |         Reason String...
  1055.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063. Richards & Smith            expires May 1997                   [Page 18]
  1064.  
  1065. RFC DRAFT                       PPP BACP                   November 1996
  1066.  
  1067.  
  1068.    Type
  1069.  
  1070.       04 for Reason.
  1071.  
  1072.    Length
  1073.  
  1074.       The Length field is one octet, and indicates the length of this
  1075.       BAP Option including the Type, Length and Reason String fields.
  1076.  
  1077.    Reason String
  1078.  
  1079.       This is an ASCII string.  The content of the field is
  1080.       implementation dependent.  An implementation MAY ignore the Reason
  1081.       String field.
  1082.  
  1083. 6.5.  Link-Discriminator
  1084.  
  1085.    Description
  1086.  
  1087.       The Link-Discriminator option MUST be used in a Link-Drop-Query-
  1088.       Request datagram.  This option is used to inform the receiver of a
  1089.       Link-Drop-Query-Request of which link will be dropped.
  1090.  
  1091.    A summary of the Link-Discriminator BAP Option format is shown below.
  1092.    The fields are transmitted from left to right.
  1093.  
  1094.     0                   1                   2                   3
  1095.     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
  1096.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1097.    |     Type      |    Length     |       Link Discriminator      |
  1098.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1099.  
  1100.  
  1101.    Type
  1102.  
  1103.       05 for Link-Discriminator
  1104.  
  1105.    Length
  1106.  
  1107.       4
  1108.  
  1109.    Link Discriminator
  1110.  
  1111.       The Link Discriminator field is 2 octets in length.  It contains
  1112.       the Link Discriminator that was contained in the LCP Link-
  1113.       Discriminator Configuration Option sent by the receiver of the
  1114.       packet containing the Link Discriminator.
  1115.  
  1116.  
  1117.  
  1118.  
  1119. Richards & Smith            expires May 1997                   [Page 19]
  1120.  
  1121. RFC DRAFT                       PPP BACP                   November 1996
  1122.  
  1123.  
  1124. 6.6.  Call-Status
  1125.  
  1126.    Description
  1127.  
  1128.       The Call-Status option MUST be used in a Call-Status-Indication
  1129.       datagram.  This option is used to inform the receiver of the
  1130.       Call-Status-Indication datagram of the status of the completed
  1131.       call attempt, as well as a possible action that will be taken (if
  1132.       the call failed).
  1133.  
  1134.    A summary of the Call-Status BAP Option format is shown below.  The
  1135.    fields are transmitted from left to right.
  1136.  
  1137.     0                   1                   2                   3
  1138.     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
  1139.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1140.    |     Type      |    Length     |     Status    |     Action    |
  1141.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1142.  
  1143.  
  1144.    Type
  1145.  
  1146.       06 for Call-Status.
  1147.  
  1148.    Length
  1149.  
  1150.       4
  1151.  
  1152.    Status
  1153.  
  1154.       The Status field is 1 octet in length.  If the call was
  1155.       successful, the value MUST be set to 0.  A non-zero value
  1156.       indicates a call failure.  A value of 255 indicates a non-specific
  1157.       failure, and a more specific call status MAY be indicated by using
  1158.       the same number as the Q.931 cause value (i.e., 1 is unassigned
  1159.       number, 17 is user busy, etc.)
  1160.  
  1161. Action
  1162.  
  1163.    The Action octet indicates what action the calling implementation is
  1164.    taking after a failed call.  If the call was sucessful, the Action
  1165.    octet MUST be set to 0.
  1166.  
  1167.    The Action octet can have the following values:
  1168.  
  1169.       0 - No retry
  1170.       1 - Retry
  1171.  
  1172.  
  1173.  
  1174.  
  1175. Richards & Smith            expires May 1997                   [Page 20]
  1176.  
  1177. RFC DRAFT                       PPP BACP                   November 1996
  1178.  
  1179.  
  1180. Appendix
  1181.  
  1182.  
  1183.    List of BAP datagrams and associated fields.
  1184.  
  1185.    datagram                      mandatory fields           allowed options
  1186.    --------                      -----------------          ---------------
  1187.    Call-Request                  Link-Type                  No-Phone-Number
  1188.    Call-Response                                            Phone-Delta
  1189.                                                             Link-Type
  1190.    Callback-Request              Link-Type
  1191.                                  Phone-Delta
  1192.    Callback-Response                                        Link-Type
  1193.    Link-Drop-Query-Request       Link-Discriminator
  1194.    Link-Drop-Query-Response
  1195.    Call-Status-Indication        Call-Status                Phone-Delta
  1196.    Call-Status-Response
  1197.  
  1198.    The Reason option is allowed to be included with any BAP datagram.
  1199.  
  1200.  
  1201. History of BACP
  1202.  
  1203.    The first version of BACP was written by Craig Richards of Shiva
  1204.    Corporation.  This version was enhanced and improved by the MPCP
  1205.    Working Group, a collaborative effort of 3Com, Ascend, Bay Networks,
  1206.    Cisco, Microsoft, Shiva, US Robotics and Xylogics.
  1207.  
  1208. Acknowledgements
  1209.  
  1210.    Kevin Smith of Ascend for his contributions based on his work on the
  1211.    MP+ Specification.  Gerry Meyer and Robert Myhill of Shiva for their
  1212.    early comments and improvements.  Andy Nicholson of Microsoft for his
  1213.    improvements to the bandwidth management scheme.  Dana Blair and Andy
  1214.    Valencia of Cisco, Cheng Chen and Dan Brennan of 3Com for their good
  1215.    ideas as part of the MPCP Working Group. All of the members of the
  1216.    MPCP working group for their ability to work with their competitors
  1217.    with enthusiasm to produce a better protocol for the industry.
  1218.  
  1219. Security Considerations
  1220.  
  1221.    Security issues are not discussed in this memo.
  1222.  
  1223.  
  1224.  
  1225. References
  1226.  
  1227.    [1]   Simpson, W., Editor, "The Point-to-Point Protocol (PPP)", STD
  1228.  
  1229.  
  1230.  
  1231. Richards & Smith            expires May 1997                   [Page 21]
  1232.  
  1233. RFC DRAFT                       PPP BACP                   November 1996
  1234.  
  1235.  
  1236.          51, RFC 1661, Daydreamer, July 1994.
  1237.  
  1238.    [2]   Sklower, Lloyd, McGregor, Carr & Coradetti, "The PPP Multilink
  1239.          Protocol", RFC 1990,  University of California, Berkeley, Lloyd
  1240.          Internetworking, Newbridge Networks Corporation, Sidewalk
  1241.          Software, August 1996.
  1242.  
  1243. Chair's Address
  1244.  
  1245.    The working group can be contacted via the current chair:
  1246.  
  1247.       Karl Fox
  1248.       Ascend Communications
  1249.       3518 Riverside Drive, Suite 101
  1250.       Columbus, Ohio  43221
  1251.  
  1252.       (614)451-1883
  1253.  
  1254.       EMail: karl@ascend.com
  1255.  
  1256.  
  1257.  
  1258. Editors' Addresses
  1259.  
  1260.    Craig Richards
  1261.    Shiva Corporation
  1262.    28 Crosby Drive
  1263.    Bedford, MA  01730
  1264.    VOICE   +1 617 270 8419
  1265.    FAX     +1 617 270 8599
  1266.  
  1267.    EMail: crich@us.shiva.com
  1268.  
  1269.  
  1270.    Kevin Smith
  1271.    Ascend Communications, Inc.
  1272.    1275 Harbor Bay Parkway
  1273.    Alameda, CA  94501
  1274.    CA
  1275.  
  1276.    EMail: kevin@ascend.com
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287. Richards & Smith            expires May 1997                   [Page 22]
  1288.  
  1289. RFC DRAFT                       PPP BACP                   November 1996
  1290.  
  1291.  
  1292.                            Table of Contents
  1293.  
  1294.  
  1295.      1.     Introduction ..........................................    1
  1296.         1.1       Specification of Requirements ...................    1
  1297.         1.2       Terminology .....................................    1
  1298.  
  1299.      2.     New LCP Configuration Option ..........................    2
  1300.         2.1       Link Discriminator ..............................    2
  1301.  
  1302.      3.     BACP Operation ........................................    3
  1303.  
  1304.      4.     BACP Configuration Options ............................    3
  1305.         4.1       Favored-Peer ....................................    4
  1306.  
  1307.      5.     BAP Operation .........................................    5
  1308.         5.1       Link Management .................................    5
  1309.         5.2       Bandwidth Management ............................    6
  1310.         5.3       BAP Packets .....................................    7
  1311.         5.4       Race Conditions .................................    7
  1312.         5.5       BAP Datagram Format .............................    8
  1313.            5.5.1  Call-Request ....................................   11
  1314.            5.5.2  Call-Response ...................................   11
  1315.            5.5.3  Callback-Request ................................   11
  1316.            5.5.4  Callback-Response ...............................   11
  1317.            5.5.5  Link-Drop-Query-Request .........................   12
  1318.            5.5.6  Link-Drop-Query-Response ........................   12
  1319.            5.5.7  Call-Status-Indication ..........................   12
  1320.            5.5.8  Call-Status-Response ............................   13
  1321.  
  1322.      6.     BAP Datagram Options ..................................   13
  1323.         6.1       Link-Type .......................................   14
  1324.         6.2       Phone-Delta .....................................   15
  1325.            6.2.1  Phone-Delta Sub-Options .........................   17
  1326.         6.3       No-Phone-Number-Needed ..........................   17
  1327.         6.4       Reason ..........................................   18
  1328.         6.5       Link-Discriminator ..............................   19
  1329.         6.6       Call-Status .....................................   20
  1330.  
  1331.      Appendix - List of BAP datagrams and associated fields .......   21
  1332.  
  1333.      ACKNOWLEDEMENTS ..............................................   21
  1334.  
  1335.      SECURITY CONSIDERATIONS ......................................   21
  1336.  
  1337.      REFERENCES ...................................................   21
  1338.  
  1339.      CHAIR'S ADDRESS ..............................................   22
  1340.  
  1341.  
  1342.  
  1343. Richards & Smith            expires May 1997                   [Page ii]
  1344.  
  1345. RFC DRAFT                       PPP BACP                   November 1996
  1346.  
  1347.  
  1348.      EDITORS'S ADDRESSES ..........................................   22
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.  
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399. Richards & Smith            expires May 1997                  [Page iii]
  1400.  
  1401.