home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / rfc / rfc1786 < prev    next >
Text File  |  1995-09-15  |  134KB  |  4,651 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Network Working Group                                           T. Bates
  8. Request for Comments: 1786            MCI Telecommunications Corporation
  9. Category: Informational                                        E. Gerich
  10.                                                              Merit, Inc.
  11.                                                             L. Joncheray
  12.                                                              Merit, Inc.
  13.                                                           J-M. Jouanigot
  14.                                                                     CERN
  15.                                                            D. Karrenberg
  16.                                                                 RIPE NCC
  17.                                                              M. Terpstra
  18.                                                       Bay Networks, Inc.
  19.                                                                    J. Yu
  20.                                                              Merit, Inc.
  21.                                                               March 1995
  22.  
  23.  
  24.                  Representation of IP Routing Policies
  25.                          in a Routing Registry
  26.                               (ripe-81++)
  27.  
  28. Status of this Memo
  29.  
  30.    This memo provides information for the Internet community. This memo
  31.    does not specify an Internet standard of any kind. Distribution of
  32.    this memo is unlimited.
  33.  
  34. Abstract
  35.  
  36.    This document was originally published as a RIPE document known as
  37.    ripe-181 but is also being published as an Informational RFC to reach
  38.    a larger audience than its original scope. It has received community
  39.    wide interest and acknowledgment throughout the Internet service
  40.    provider community and will be used as the basic starting point for
  41.    future work on Internet Routing Registries and routing policy
  42.    representation.  It can also be referred to as ripe-81++.  This
  43.    document is an update to the original `ripe-81'[1] proposal for
  44.    representing and storing routing polices within the RIPE database. It
  45.    incorporates several extensions proposed by Merit Inc.[2] and gives
  46.    details of a generalized IP routing policy representation to be used
  47.    by all Internet routing registries. It acts as both tutorial and
  48.    provides details of database objects and attributes that use and make
  49.    up a routing registry.
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58. Bates, et al.                                                   [Page 1]
  59.  
  60. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  61.  
  62.  
  63.  
  64.  
  65.  
  66.                            Table of Contents
  67.  
  68.  
  69.  
  70.  
  71.    1. Introduction ................................................    3
  72.  
  73.    2. Organization of this Document ...............................    3
  74.  
  75.    3.  General Representation of Policy Information ...............    5
  76.  
  77.    4. The Routing Registry and the RIPE Database ..................   11
  78.  
  79.    5. The Route Object ............................................   16
  80.  
  81.    6. The Autonomous System Object ................................   26
  82.  
  83.    7. AS Macros ...................................................   36
  84.  
  85.    8. The Community Object ........................................   38
  86.  
  87.    9. Representation of Routing Policies ..........................   41
  88.  
  89.    10. Future Extensions ..........................................   50
  90.  
  91.    11. References .................................................   51
  92.  
  93.    12. Security Considerations ....................................   52
  94.  
  95.    13. Authors' Addresses .........................................   53
  96.  
  97.    Appendix A - Syntax for the "aut-num" object ...................   55
  98.  
  99.    Appendix B - Syntax for the "community" object .................   68
  100.  
  101.    Appendix C - Syntax for the "as-macro" object ..................   72
  102.  
  103.    Appendix D - Syntax for the "route" object .....................   76
  104.  
  105.    Appendix E - List of reserved words ............................   80
  106.  
  107.    Appendix F - Motivations for RIPE-81++ .........................   81
  108.  
  109.    Appendix G - Transition strategy ...............................   83
  110.  
  111.  
  112.  
  113.  
  114. Bates, et al.                                                   [Page 2]
  115.  
  116. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  117.  
  118.  
  119. 1.  Introduction
  120.  
  121.    This document is a much revised version of the RIPE routing registry
  122.    document known as ripe-81 [1].  Since its inception in February, 1993
  123.    and the establishment of the RIPE routing registry, several additions
  124.    and clarifications have come to light which can be better presented
  125.    in a single updated document rather than separate addenda.
  126.  
  127.    Some of the text remains the same the as the original ripe-81
  128.    document keeping its tutorial style mixed with details of the RIPE
  129.    database objects relating to routing policy representation.  However
  130.    this document does not repeat the background and historical remarks
  131.    in ripe-81. For these please refer to the original document.  It
  132.    should be noted that whilst this document specifically references the
  133.    RIPE database and the RIPE routing registry one can easily read
  134.    "Regional routing registry" in place of RIPE as this representation
  135.    is certainly general and flexible enough to be used outside of the
  136.    RIPE community incorporating many ideas and features from other
  137.    routing registries in this update.
  138.  
  139.    This document was originally published as a RIPE document known as
  140.    ripe-181 but is also being published as an Informational RFC to reach
  141.    a larger audience than its original scope. It has received large
  142.    interest and acknowledgment within the Internet service provider
  143.    community and will be used as the basic starting point for future
  144.    work on Internet Routing Registries and routing policy
  145.    representation.  It but can also be referred to as ripe-81++.
  146.  
  147.    We would like to acknowledge many people for help with this document.
  148.    Specifically, Peter Lothberg who was a co-author of the original
  149.    ripe-81 document for his many ideas as well as Gilles Farrache,
  150.    Harvard Eidnes, Dale Johnson, Kannan Varadhan and Cengiz Alaettinoglu
  151.    who all provided valuable input.  We would also like to thank the
  152.    RIPE routing working group for their review and comment. Finally, we
  153.    like to thank Merit Inc. for many constructive comments and ideas and
  154.    making the routing registry a worldwide Internet service. We would
  155.    also like to acknowledge the funding provided by the PRIDE project
  156.    run in conjunction with the RARE Technical Program, RIPE and the RIPE
  157.    NCC without which this paper would not have been possible.
  158.  
  159. 2.  Organization of this Document
  160.  
  161.    This document acts as both a basic tutorial for understanding routing
  162.    policy and provides details of objects and attributes used within an
  163.    Internet routing registry to store routing policies. Section 3
  164.    describes general issues about IP routing policies and their
  165.    representation in routing registries. Experienced readers may wish to
  166.    skip this section.  Section 4 provides an overview of the RIPE
  167.  
  168.  
  169.  
  170. Bates, et al.                                                   [Page 3]
  171.  
  172. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  173.  
  174.  
  175.    database, its basic concepts, schema and objects which make up the
  176.    database itself.  It highlights the way in which the RIPE database
  177.    splits routing information from allocation information.  Sections 5,
  178.    6, 7 and 8 detail all the objects associated with routing policy
  179.    representation.  Section 9 gives a fairly extensive "walk through" of
  180.    how these objects are used for expressing routing policy and the
  181.    general principles behind their use. Section 10 provides a list of
  182.    references used throughout this document.  Appendix A, B, C and D
  183.    document the formal syntax for the database objects and attributes.
  184.    Appendix F details the main changes from ripe-81 and motivations for
  185.    these changes. Appendix G tackles the issues of transition from
  186.    ripe-81 to ripe-81++.
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226. Bates, et al.                                                   [Page 4]
  227.  
  228. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  229.  
  230.  
  231. 3.  General Representation of Policy Information
  232.  
  233.    Networks, Network Operators and Autonomous Systems
  234.  
  235.    Throughout this document an effort is made to be consistent with
  236.    terms so as not to confuse the reader.
  237.  
  238.    When we talk about "networks" we mean physical networks which have a
  239.    unique classless IP network number: Layer 3 entities. We do not mean
  240.    organizations.
  241.  
  242.    We call the organizations operating networks "network operators".
  243.    For the sake of the examples we divide network operators into two
  244.    categories: "service providers" and "customers". A "service provider"
  245.    is a network operator who operates a network to provide Internet
  246.    services to different organizations, its "customers".  The
  247.    distinction between service providers and customers is not clear cut.
  248.    A national research networking organization frequently acts as a
  249.    service provider to Universities and other academic organizations,
  250.    but in most cases it buys international connectivity from another
  251.    service provider. A University networking department is a customer of
  252.    the research networking organization but in turn may regard
  253.    University departments as its customers.
  254.  
  255.    An Autonomous System (AS) is a group of IP networks having a single
  256.    clearly defined routing policy which is run by one or more network
  257.    operators. Inside ASes IP packets are routed using one or more
  258.    Interior Routing Protocols (IGPs). In most cases interior routing
  259.    decisions are based on metrics derived from technical parameters like
  260.    topology, link speeds and load.  The entity we refer to as an AS is
  261.    frequently and more generally called a routing domain with the AS
  262.    just being an implementation vehicle. We have decided to use the term
  263.    AS exclusively because it relates more directly with the database
  264.    objects and routing tools. By using only one term we hope to reduce
  265.    the number of concepts and to avoid confusion. The academically
  266.    inclined reader may forgive us.
  267.  
  268.    ASes exchange routing information with other ASes using Exterior
  269.    Routing Protocols (EGPs).  Exterior routing decisions are frequently
  270.    based on policy based rules rather than purely on technical
  271.    parameters.  Tools are needed to configure complex policies and to
  272.    communicate those policies between ASes while still ensuring proper
  273.    operation of the Internet as a whole. Some EGPs like BGP-3 [8] and
  274.    BGP-4 [9] provide tools to filter routing information according to
  275.    policy rules and more. None of them provides a mechanism to publish
  276.    or communicate the policies themselves. Yet this is critical for
  277.    operational coordination and fault isolation among network operators
  278.    and thus for the operation of the global Internet as a whole.  This
  279.  
  280.  
  281.  
  282. Bates, et al.                                                   [Page 5]
  283.  
  284. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  285.  
  286.  
  287.    document describes a "Routing Registry" providing this functionality.
  288.  
  289.    Routing Policies
  290.  
  291.    The exchange of routing information between ASes is subject to
  292.    routing policies. Consider the case of two ASes, X and Y exchanging
  293.    routing information:
  294.  
  295.  
  296.                 NET1 ......  ASX  <--->  ASY  ....... NET2
  297.  
  298.  
  299.    ASX knows how to reach a network called NET1.  It does not matter
  300.    whether NET1 is belonging to ASX or some other AS which exchanges
  301.    routing information with ASX either directly or indirectly; we just
  302.    assume that ASX knows how to direct packets towards NET1. Likewise
  303.    ASY knows how to reach NET2.
  304.  
  305.    In order for traffic from NET2 to NET1 to flow between ASX and ASY,
  306.    ASX has to announce NET1 to ASY using an external routing protocol.
  307.    This states that ASX is willing to accept traffic directed to NET1
  308.    from ASY. Policy thus comes into play first in the decision of ASX to
  309.    announce NET1 to ASY.
  310.  
  311.    In addition ASY has to accept this routing information and use it.
  312.    It is ASY's privilege to either use or disregard the information that
  313.    ASX is willing to accept traffic for NET1. ASY might decide not to
  314.    use this information if it does not want to send traffic to NET1 at
  315.    all or if it considers another route more appropriate to reach NET1.
  316.  
  317.    So in order for traffic in the direction of NET1 to flow between ASX
  318.    and ASY, ASX must announce it to ASY and ASY must accept it from ASX:
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338. Bates, et al.                                                   [Page 6]
  339.  
  340. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  341.  
  342.  
  343.  
  344.                     resulting packet flow towards NET1
  345.                   <<===================================
  346.                                     |
  347.                                     |
  348.                      announce NET1  |  accept NET1
  349.                     --------------> + ------------->
  350.                                     |
  351.                         AS X        |    AS Y
  352.                                     |
  353.                      <------------- + <--------------
  354.                        accept NET2  |  announce NET2
  355.                                     |
  356.                                     |
  357.                    resulting packet flow towards NET2
  358.                    ===================================>>
  359.  
  360.  
  361.    Ideally, and seldom practically, the announcement and acceptance
  362.    policies of ASX and ASY are identical.
  363.  
  364.    In order for traffic towards NET2 to flow, announcement and
  365.    acceptance of NET2 must be in place the other way round. For almost
  366.    all applications connectivity in just one direction is not useful at
  367.    all.
  368.  
  369.    Usually policies are not configured for each network separately but
  370.    for groups of networks.  In practise these groups are almost always
  371.    defined by the networks forming one or more ASes.
  372.  
  373.  
  374.  
  375.    Routing Policy limitations
  376.  
  377.    It is important to realize that with current destination based
  378.    forwarding technology routing policies must eventually be expressed
  379.    in these terms. It is relatively easy to formulate reasonable
  380.    policies in very general terms which CANNOT be expressed in terms of
  381.    announcing and accepting networks. With current technology such
  382.    policies are almost always impossible to implement.
  383.  
  384.  
  385.    The generic example of a reasonable but un-implementable routing is a
  386.    split of already joined packet streams based on something other than
  387.    destination address.  Once traffic for the same destination network
  388.    passes the same router, or the same AS at our level of abstraction,
  389.    it will take exactly the same route to the destination (disregarding
  390.    special cases like "type of service" routing, load sharing and
  391.  
  392.  
  393.  
  394. Bates, et al.                                                   [Page 7]
  395.  
  396. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  397.  
  398.  
  399.    routing instabilities).
  400.  
  401.    In a concrete example AS Z might be connected to the outside world by
  402.    two links.  AS Z wishes to reserve these links for different kinds of
  403.    traffic, let's call them black and white traffic.  For this purpose
  404.    the management of AS Z keeps two lists of ASes, the black and the
  405.    white list.  Together these lists comprise all ASes in the world
  406.    reachable from AS Z.
  407.  
  408.                             "W"
  409.                            <--->
  410.                        ...           AS Z .... NET 3
  411.                            <--->
  412.                             "B"
  413.  
  414.    It is quite possible to implement the policy for traffic originating
  415.    in AS Z: AS Z will only accept announcements for networks in white
  416.    ASes on the white link and will only accept announcements for
  417.    networks in black ASes on the black link.  This causes traffic from
  418.    networks within AS Z towards white ASes to use the white link and
  419.    likewise traffic for black ASes to use the black link.
  420.  
  421.    Note that this way of implementing things makes it necessary to
  422.    decide on the colour of each new AS which appears before traffic can
  423.    be sent to it from AS Z.  A way around this would be to accept only
  424.    white announcements via the white link and to accept all but white
  425.    announcements on the black link.  That way traffic from new ASes
  426.    would automatically be sent down the black link and AS Z management
  427.    would only need to keep the list of white ASes rather than two lists.
  428.  
  429.    Now for the unimplementable part of the policy.  This concerns
  430.    traffic towards AS Z.  Consider the following topology:
  431.  
  432.            B AS ---)                    "W"
  433.            W AS ---)                    --->
  434.            B AS ---)>>  AS A  ---> ...           AS Z .... NET 3
  435.            B AS ---)                    --->
  436.            W AS ---)                    "B"
  437.  
  438.    As seen from AS Z there are both black and white ASes "behind" AS A.
  439.    Since ASes can make routing decisions based on destination only, AS A
  440.    and all ASes between AS A and the two links connecting AS Z can only
  441.    make the same decision for traffic directed at a network in AS Z, say
  442.    NET 3.  This means that traffic from both black and white ASes
  443.    towards NET 3 will follow the same route once it passes through AS A.
  444.    This will either be the black or the white route depending on the
  445.    routing policies of AS A and all ASes between it and AS Z.
  446.  
  447.  
  448.  
  449.  
  450. Bates, et al.                                                   [Page 8]
  451.  
  452. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  453.  
  454.  
  455.    The important thing to note is that unless routing and forwarding
  456.    decisions can be made based on both source and destination addresses,
  457.    policies like the "black and white" example cannot be implemented in
  458.    general because "once joined means joined forever".
  459.  
  460.  
  461.    Access Policies
  462.  
  463.    Access policies contrary to routing policies are not necessarily
  464.    defined in terms of ASes. The very simplest type of access policy is
  465.    to block packets from a specific network S from being forwarded to
  466.    another network D. A common example is when some inappropriate use of
  467.    resources on network D has been made from network S and the problem
  468.    has not been resolved yet. Other examples of access policies might be
  469.    resources only accessible to networks belonging to a particular
  470.    disciplinary group or community of interest.  While most of these
  471.    policies are better implemented at the host or application level,
  472.    network level access policies do exist and are a source of
  473.    connectivity problems which are sometimes hard to diagnose. Therefore
  474.    they should also be documented in the routing registry according to
  475.    similar requirements as outlined above.
  476.  
  477.  
  478.  
  479.    Routing vs. Allocation information
  480.  
  481.    The RIPE database contains both routing registry and address space
  482.    allocation registry information. In the past the database schema
  483.    combined this information. Because RIPE was tasked with running both
  484.    an allocation and routing registry it seemed natural to initially
  485.    combine these functions.  However, experience has shown that a clear
  486.    separation of routing information from allocation is desirable. Often
  487.    the maintainer of the routing information is not the same as the
  488.    maintainer of the allocation information.  Moreover, in other parts
  489.    of the world there are different registries for each kind of
  490.    information.
  491.  
  492.    Whilst the actual routing policy objects will be introduced in the
  493.    next section it is worthy of note that a transition from the current
  494.    objects will be required. Appendix G details the basic steps of such
  495.    a transition.
  496.  
  497.    This split in information represents a significant change in the
  498.    representational model of the RIPE database. Appendix F expands on
  499.    the reasons for this a little more.
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506. Bates, et al.                                                   [Page 9]
  507.  
  508. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  509.  
  510.  
  511.    Tools
  512.  
  513.    The network operators will need a series of tools for policy routing.
  514.    Some tools are already available to perform some of the tasks. Most
  515.    notably, the PRIDE tools [3] from the PRIDE project started in
  516.    September 1993 as well as others produced by Merit Inc [4] and CERN
  517.    [5].
  518.  
  519.    These tools will enable them to use the routing policy stored in the
  520.    RIPE routing registry to perform such tasks as check actual routing
  521.    against policies defined, ensure consistency of policies set by
  522.    different operators, and simulate the effects of policy changes.
  523.  
  524.    Work continues on producing more useful tools to service the Internet
  525.    community.
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562. Bates, et al.                                                  [Page 10]
  563.  
  564. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  565.  
  566.  
  567. 4.  The Routing Registry and the RIPE Database
  568.  
  569.    One of the activities of RIPE is to maintain a  database  of European
  570.    IP networks, DNS domains and their contact persons along with various
  571.    other kinds of network management information. The database content
  572.    is public and can be queried using the whois protocol as well as
  573.    retrieved as a whole.  This supports NICs/NOCs all over Europe  and
  574.    beyond  to  perform their respective tasks.
  575.  
  576.    The RIPE database combines both allocation registry and routing
  577.    registry functions.  The RIPE allocation registry contains data about
  578.    address space allocated to specific enterprises and/or delegated to
  579.    local registries as well as data about the domain name space. The
  580.    allocation registry is described in separate documents [6,7] and
  581.    outside the scope of this document.
  582.  
  583.  
  584.    Database Objects
  585.  
  586.    Each object in the database describes a single entity in the real
  587.    world.  This  basic  principle  means that information about  that
  588.    entity  should  only  be  represented  in   the corresponding
  589.    database  object and not be repeated in other objects.  The whois
  590.    service can automatically display referenced objects where
  591.    appropriate.
  592.  
  593.    The types of objects stored in the RIPE database are summarized in
  594.    the table below:
  595.  
  596.  
  597.    R   Object      Describes                        References
  598.    ____________________________________________________________________
  599.  
  600.    B   person      contact persons
  601.  
  602.    A   inetnum     IP address space                 person
  603.    A   domain      DNS domain                       person
  604.  
  605.    R   aut-num     autonomous system                person
  606.                                                     (aut-num,community)
  607.    R   as-macro    a group of autonomous systems    person, aut-num
  608.    R   community   community                        person
  609.    R   route       a route being announced          aut-num, community
  610.  
  611.    R   clns        CLNS address space and routing   person
  612.  
  613.  
  614.    The first column indicates whether the object is part of the
  615.    allocation registry (A), the routing registry (R) or both (B).  The
  616.  
  617.  
  618. Bates, et al.                                                  [Page 11]
  619.  
  620. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  621.  
  622.  
  623.    last column indicates the types of objects referenced by the
  624.    particular type of object.  It can be seen that almost all objects
  625.    reference contact persons.
  626.  
  627.    Objects are described by attributes  value  pairs,  one  per line.
  628.    Objects  are  separated by empty lines. An attribute that consists of
  629.    multiple lines should  have  the  attribute name  repeated on
  630.    consecutive lines.  The information stored about network 192.87.45.0
  631.    consists  of  three  objects,  one inetnum object and two person
  632.    objects and looks like this:
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674. Bates, et al.                                                  [Page 12]
  675.  
  676. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  677.  
  678.  
  679.  
  680.    inetnum:   192.87.45.0
  681.    netname:   RIPE-NCC
  682.    descr:     RIPE Network Coordination Centre
  683.    descr:     Amsterdam, Netherlands
  684.    country:   NL
  685.    admin-c:   Daniel Karrenberg
  686.    tech-c:    Marten Terpstra
  687.    rev-srv:   ns.ripe.net
  688.    rev-srv:   ns.eu.net
  689.    notify:    ops@ripe.net
  690.    changed:   tony@ripe.net 940110
  691.    source:    RIPE
  692.  
  693.    person:    Daniel Karrenberg
  694.    address:   RIPE Network Coordination Centre (NCC)
  695.    address:   Kruislaan 409
  696.    address:   NL-1098 SJ Amsterdam
  697.    address:   Netherlands
  698.    phone:     +31 20 592 5065
  699.    fax-no:    +31 20 592 5090
  700.    e-mail:    dfk@ripe.net
  701.    nic-hdl:   DK58
  702.    changed:   ripe-dbm@ripe.net 920826
  703.    source:    RIPE
  704.  
  705.    person:    Marten Terpstra
  706.    address:   RIPE Network Coordination Centre (NCC)
  707.    address:   PRIDE Project
  708.    address:   Kruislaan 409
  709.    address:   NL-1098 SJ Amsterdam
  710.    address:   Netherlands
  711.    phone:     +31 20 592 5064
  712.    fax-no:    +31 20 592 5090
  713.    e-mail:    Marten.Terpstra@ripe.net
  714.    nic-hdl:   MT2
  715.    notify:    marten@ripe.net
  716.    changed:   marten@ripe.net 931230
  717.    source:    RIPE
  718.  
  719.  
  720.  
  721.    Objects are stored and retrieved in this tag/value format.  The RIPE
  722.    NCC does not provide differently formatted reports because any
  723.    desired format can easily be produced from this generic one.
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730. Bates, et al.                                                  [Page 13]
  731.  
  732. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  733.  
  734.  
  735.    Routing Registry Objects
  736.  
  737.    The main objects comprising the routing registry are "aut-num" and
  738.    "route", describing an autonomous system and a route respectively. It
  739.    should be noted that routes not described in the routing registry
  740.    should never be routed in the Internet itself.
  741.  
  742.    The autonomous system (aut-num) object provides contact information
  743.    for the AS and describes the routing policy of that AS.  The routing
  744.    policy is described by enumerating all neighboring ASes with which
  745.    routing information is exchanged.  For each neighbor the routing
  746.    policy is described in terms of exactly what is being sent
  747.    (announced) and allowed in (accepted).  It is important to note that
  748.    this is exactly the part of the global policy over which an AS has
  749.    direct control. Thus each aut-num object describes what can indeed be
  750.    implemented and enforced locally by the AS concerned.  Combined
  751.    together all the aut-num objects provide the global routing graph and
  752.    permit to deduce the exact routing policy between any two ASes.
  753.  
  754.    While the aut-num objects describe how routing information is
  755.    propagated, the route object describes a single route injected into
  756.    the external routing mesh. The route object references the AS
  757.    injecting (originating) the route and thereby indirectly provides
  758.    contact information for the originating AS. This reference also
  759.    provides the primary way of grouping routes into larger collections.
  760.    This is necessary because describing routing policy on the level of
  761.    single routes would be awkward to impractical given the number of
  762.    routes in the Internet which is about 20,000 at the time of this
  763.    writing.  Thus routing policy is most often defined for groups of
  764.    routes by originating AS.  This method of grouping is well supported
  765.    by current exterior routing protocols.  The route object also
  766.    references community objects described below to provide another
  767.    method of grouping routes.  Modification of aut-num object itself and
  768.    the referencing by route objects is strictly protected to provide
  769.    network operators control over the routing policy description and the
  770.    routes originated by their ASes.
  771.  
  772.    Sometimes even keeping track of groups of routes at the AS level is
  773.    cumbersome. Consider the case of policies described at the transit
  774.    provider level which apply transitively to all customers of the
  775.    transit provider. Therefore another level of grouping is provided by
  776.    the as-macro object which provides groups of ASes which can be
  777.    referenced in routing policies just like single ASes. Membership of
  778.    as-macro groups is also strictly controlled.
  779.  
  780.    Sometimes there is a need to group routes on different criteria than
  781.    ASes for purposes like statistics or local access policies. This is
  782.    provided by the community object.  A community object is much like an
  783.  
  784.  
  785.  
  786. Bates, et al.                                                  [Page 14]
  787.  
  788. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  789.  
  790.  
  791.    AS but without a routing policy.  It just describes a group of
  792.    routes. This is not supported at all by exterior routing protocols
  793.    and depending on aggregation of routes may not be generally usable to
  794.    define routing policies.  It is suitable for local policies and non-
  795.    routing related purposes.
  796.  
  797.    These routing related objects will be described in detail in the
  798.    sections below.
  799.  
  800.  
  801.  
  802.  
  803.  
  804.  
  805.  
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842. Bates, et al.                                                  [Page 15]
  843.  
  844. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  845.  
  846.  
  847. 5.  The Route Object
  848.  
  849.    As stated in the previous chapter routing and address space
  850.    allocation information are now clearly separated.  This is performed
  851.    with the introduction of the route object. The route object will
  852.    contain all the information regarding a routing announcement.
  853.  
  854.    All routing related attributes are removed from the inetnum object.
  855.    Some old attributes are obsoleted: connect, routpr-l, bdryg-l, nsf-
  856.    in, nsf-out, gateway).  The currently useful routing attributes are
  857.    moved to the route object: aut-sys becomes origin, ias-int will be
  858.    encoded as part of the inet-rtr [15] object and comm-list simply
  859.    moves.  See [6] for detail of the "inetnum" object definition.
  860.  
  861.  
  862.    The information in the old inetnum object
  863.  
  864.    inetnum:   192.87.45.0
  865.    netname:   RIPE-NCC
  866.    descr:     RIPE Network Coordination Centre
  867.    descr:     Amsterdam, Netherlands
  868.    country:   NL
  869.    admin-c:   Daniel Karrenberg
  870.    tech-c:    Marten Terpstra
  871.    connect:   RIPE NSF WCW
  872.    aut-sys:   AS3333
  873.    comm-list: SURFNET
  874.    ias-int:   192.87.45.80  AS1104
  875.    ias-int:   192.87.45.6   AS2122
  876.    ias-int:   192.87.45.254 AS2600
  877.    rev-srv:   ns.ripe.net
  878.    rev-srv:   ns.eu.net
  879.    notify:    ops@ripe.net
  880.    changed:   tony@ripe.net 940110
  881.    source:    RIPE
  882.  
  883.  
  884.    will be distributed over two objects:
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898. Bates, et al.                                                  [Page 16]
  899.  
  900. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  901.  
  902.  
  903.  
  904.    inetnum:   192.87.45.0
  905.    netname:   RIPE-NCC
  906.    descr:     RIPE Network Coordination Centre
  907.    descr:     Amsterdam, Netherlands
  908.    country:   NL
  909.    admin-c:   Daniel Karrenberg
  910.    tech-c:    Marten Terpstra
  911.    rev-srv:   ns.ripe.net
  912.    rev-srv:   ns.eu.net
  913.    notify:    ops@ripe.net
  914.    changed:   tony@ripe.net 940110
  915.    source:    RIPE
  916.  
  917.    route:       192.87.45.0/24
  918.    descr:       RIPE Network Coordination Centre
  919.    origin:      AS3333
  920.    comm-list:   SURFNET
  921.    changed:     dfk@ripe.net 940427
  922.    source:      RIPE
  923.  
  924.  
  925.  
  926.    The route object is used to represent a single route originated into
  927.    the Internet routing mesh.  The actual syntax is given in Appendix D.
  928.    However, there are several important aspects of the attributes worthy
  929.    of note.
  930.  
  931.  
  932.    The value of the route attribute will be a classless address.  It
  933.    represents the exact route being injected into the routing mesh.  The
  934.    representation of classless addresses is described in [10].
  935.  
  936.  
  937.    The value of the origin attribute will be an AS reference of the form
  938.    AS1234 referring to an aut-num object.  It represents the AS
  939.    injecting this route into the routing mesh.  The "aut-num" object
  940.    (see below) thus referenced provides all the contact information for
  941.    this route.
  942.  
  943.  
  944.    Special cases: There can only be a single originating AS in each
  945.    route object.  However in todays Internet sometimes a route is
  946.    injected by more than one AS. This situation is potentially dangerous
  947.    as it can create conflicting routing policies for that route and
  948.    requires coordination between the originating ASes.  In the routing
  949.    registry this is represented by multiple route objects.
  950.  
  951.  
  952.  
  953.  
  954. Bates, et al.                                                  [Page 17]
  955.  
  956. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  957.  
  958.  
  959.    This is a departure from the one route (net), one AS principle of the
  960.    ripe-81 routing registry. The consequences for the different tools
  961.    based in the routing registry will need to be evaluated and possibly
  962.    additional consistency checking of the database is needed.
  963.  
  964.  
  965.    The examples below will illustrate the usage of the route object
  966.    further.  Suppose three chunks of address space of 2 different
  967.    enterprises represented by the following inetnum objects:
  968.  
  969.  
  970.    Examples
  971.  
  972.  
  973.    inetnum:   193.0.1.0
  974.    netname:   ENT-1
  975.    descr:     Enterprise 1
  976.     ...
  977.  
  978.    inetnum:   193.0.8.0
  979.    netname:   ENT-2
  980.    descr:     Enterprise 2
  981.     ...
  982.  
  983.    inetnum:   193.0.9.0
  984.    netname:   ENT-2-SPEC
  985.    descr:     Enterprise 2
  986.     ...
  987.  
  988.  
  989.    Supposing that the Enterprises have their own AS numbers straight
  990.    application of routing without aggregation would yield:
  991.  
  992.  
  993.    route:       193.0.1.0/24
  994.    descr:       Enterprise 1
  995.    origin:      AS1
  996.     ...
  997.  
  998.    route:       193.0.8.0/24
  999.    descr:       Enterprise 2
  1000.    origin:      AS2
  1001.     ...
  1002.  
  1003.    route:       193.0.9.0/24
  1004.    descr:       Enterprise 2
  1005.    origin:      AS2
  1006.     ...
  1007.  
  1008.  
  1009.  
  1010. Bates, et al.                                                  [Page 18]
  1011.  
  1012. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  1013.  
  1014.  
  1015.    NB: This representation can be achieved by straight translation from
  1016.    the ripe-81 representation. See Appendix G for more details.
  1017.  
  1018.  
  1019.    Homogeneous Aggregation
  1020.  
  1021.    The two chunks of address space of Enterprise 2 can be represented by
  1022.    one aggregate route turning two route objects into one and
  1023.    potentially saving routing table space for one route.
  1024.  
  1025.  
  1026.    route:       193.0.8.0/23
  1027.    descr:       Enterprise 2
  1028.    origin:      AS2
  1029.     ...
  1030.  
  1031.  
  1032.    Note that AS2 can also decide to originate all routes mentioned so
  1033.    far, two 24-bit prefixes and one 23-bit prefix. This case would be
  1034.    represented by storing all three route objects in the database. In
  1035.    this particular example the additional routes will not add any
  1036.    functionality however and only increase the amount of routes
  1037.    announced unnecessarily.
  1038.  
  1039.  
  1040.    Heterogeneous Aggregation
  1041.  
  1042.    Consider the following case however:
  1043.  
  1044.  
  1045.    route:       193.0.8.0/24
  1046.    descr:       Enterprise 2
  1047.    origin:      AS2
  1048.     ...
  1049.  
  1050.    route:       193.0.9.0/24
  1051.    descr:       Enterprise 2 / Special
  1052.    origin:      AS2
  1053.    comm-list:   SPECIAL
  1054.     ...
  1055.  
  1056.  
  1057.    Now the prefix 193.0.9.0/24 belongs to community SPECIAL (this
  1058.    community may well not be relevant to routing) and the other prefix
  1059.    originated by AS2 does not. If AS2 aggregates these prefixes into the
  1060.    193.0.8.0/23 prefix, routing policies based on the community value
  1061.    SPECIAL cannot be implemented in general, because there is no way to
  1062.    distinguish between the special and the not-so-special parts of AS2.
  1063.  
  1064.  
  1065.  
  1066. Bates, et al.                                                  [Page 19]
  1067.  
  1068. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  1069.  
  1070.  
  1071.    If another AS has the policy to accept only routes to members of
  1072.    community SPECIAL it cannot implement it, because accepting the route
  1073.    to 193.0.8.0/23 would also route to 193.0.8.0/24 and not accepting
  1074.    this route would lose connectivity to the special part 193.0.9.0/24.
  1075.    We call aggregate routes consisting of components belonging to
  1076.    different communities or even different ASes "heterogeneous
  1077.    aggregates".
  1078.  
  1079.    The major problem introduced with heterogeneous aggregates is that
  1080.    once the homogeneous more specific routes are withdrawn one cannot
  1081.    tell if a more specific part of the heterogeneous route has a
  1082.    different policy. However, it can be counter argued that knowing this
  1083.    policy is of little use since a routing policy based on the less
  1084.    specific heterogeneous aggregate only cannot be implemented. In fact,
  1085.    this displays a facet of CIDR itself in that one may actually trade
  1086.    off implementing slight policy variations over announcing a larger
  1087.    (albeit heterogeneous in terms of policy) aggregate to save routing
  1088.    table space.
  1089.  
  1090.    However, it is still useful to be able to document these variations
  1091.    in policy especially when this homogeneous more specific route is
  1092.    just being withdrawn. For this one can use the "withdrawn" attribute.
  1093.    The withdrawn attribute can serve to both indicate that a less
  1094.    specific aggregate is in fact heterogeneous and also allow the
  1095.    general documenting of route withdrawal.
  1096.  
  1097.    So there has to be a way for AS2 to document this even if it does not
  1098.    originate the route to 193.0.9.0/24 any more.  This can be done with
  1099.    the "withdrawn" attribute of the route object.  The aggregate route
  1100.    to 193.0.8.0/23 is now be registered as:
  1101.  
  1102.  
  1103.    route:       193.0.8.0/23
  1104.    descr:       Enterprise 2
  1105.    origin:      AS2
  1106.     ...
  1107.  
  1108.  
  1109.    With the two homogeneous routes marked as withdrawn from the Internet
  1110.    routing mesh but still preserving their original routing information.
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122. Bates, et al.                                                  [Page 20]
  1123.  
  1124. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  1125.  
  1126.  
  1127.  
  1128.    route:       193.0.8.0/24
  1129.    descr:       Enterprise 2
  1130.    origin:      AS2
  1131.    withdrawn:   940701
  1132.     ...
  1133.  
  1134.    route:       193.0.9.0/24
  1135.    descr:       Enterprise 2 / Special
  1136.    origin:      AS2
  1137.    comm-list:   SPECIAL
  1138.    withdrawn:   940701
  1139.     ...
  1140.  
  1141.  
  1142.    It should be noted that the date value used in the withdrawn
  1143.    attribute can only be in the past.
  1144.  
  1145.  
  1146.    Proxy Aggregation
  1147.  
  1148.    The next step of aggregation are aggregates consisting of more than
  1149.    one AS. This generally means one AS is aggregating on behalf of
  1150.    another. It is called proxy aggregation. Proxy aggregation should be
  1151.    done with great care and always be coordinated with other providers
  1152.    announcing the same route.
  1153.  
  1154.    Consider the following:
  1155.  
  1156.  
  1157.    route:       193.0.0.0/20
  1158.    descr:       All routes known by AS1 in a single package
  1159.    origin:      AS1
  1160.     ...
  1161.  
  1162.  
  1163.  
  1164.    route:       193.0.1.0/24
  1165.    descr:       Foo
  1166.    origin:      AS1
  1167.    withdrawn:   940310
  1168.     ...
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178. Bates, et al.                                                  [Page 21]
  1179.  
  1180. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  1181.  
  1182.  
  1183.  
  1184.    route:       193.0.8.0/24
  1185.    descr:       Bar
  1186.    origin:      AS2
  1187.    withdrawn:   940310
  1188.     ...
  1189.  
  1190.  
  1191.  
  1192.    route:       193.0.9.0/24
  1193.    descr:       Bar-2
  1194.    origin:      AS2
  1195.    withdrawn:   940310
  1196.    comm-list:   SPECIAL
  1197.     ...
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.    If AS1 announced no other routes to a single homed neighboring AS,
  1204.    that neighbor can in general either take that route or leave it but
  1205.    not differentiate between AS1 and AS2.
  1206.  
  1207.    Note: If the neighbor was previously configured to accept routes
  1208.    originating in AS2 but not in AS1 they lose connectivity to AS2 as
  1209.    well.  This means that proxy aggregation has to be done carefully and
  1210.    in a well coordinated fashion. The information in the withdrawn route
  1211.    object can help to achieve that.
  1212.  
  1213.  
  1214.    Aggregates with Holes
  1215.  
  1216.    If we assume that the world of our example still consists of only
  1217.    three chunks of address space the aggregate above contains what are
  1218.    called holes, parts of an aggregate that are not reachable via the
  1219.    originator of the route.  From the routing information itself one
  1220.    cannot tell whether these are holes and what part of the route falls
  1221.    inside one.  The only way to tell is to send a packet there and see
  1222.    whether it gets to the destination, or an ICMP message is received
  1223.    back, or there is silence.  On the other hand announcing aggregates
  1224.    with holes is quite legitimate.  Consider a 16-bit aggregate with
  1225.    only one 24-bit prefix unreachable.  The savings in routing table
  1226.    size by far outweigh the hole problem.
  1227.  
  1228.    For operational reasons however it is very useful to register these
  1229.    holes in the routing registry. Consider the case where a remote
  1230.    network operator experiences connectivity problems to addresses
  1231.  
  1232.  
  1233.  
  1234. Bates, et al.                                                  [Page 22]
  1235.  
  1236. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  1237.  
  1238.  
  1239.    inside an aggregate route.  If the packets are getting to the AS
  1240.    announcing the aggregate and there are no more specific routes, the
  1241.    normal cause of action is to get in touch with the originating AS of
  1242.    the aggregate route and ask them to fix the problem. If the address
  1243.    falls into a hole this is futile. Therefore problem diagnosis can be
  1244.    sped up and unnecessary calls prevented by registering the holes in
  1245.    the routing registry. We do this by using the "hole" attribute. In
  1246.    our example the representation would be:
  1247.  
  1248.  
  1249.    route:       193.0.0.0/20
  1250.    descr:       All routes known by AS1
  1251.    origin:      AS1
  1252.    hole:        193.0.0.0/24
  1253.    hole:        193.0.2.0/23
  1254.    hole:        193.0.4.0/22
  1255.    hole:        193.0.10.0/23
  1256.    hole:        193.0.12.0/22
  1257.     ...
  1258.  
  1259.  
  1260.    Note: there would also be two routes with the withdrawn attribute as
  1261.    displayed above (i.e. 193.0.8.0/24 and 193.0.9.0/24).  It is not
  1262.    mandatory to document all holes. It is recommended all holes routed
  1263.    by another service provider are documented.
  1264.  
  1265.    Multiple Proxy Aggregation
  1266.  
  1267.    Finally suppose that AS2 decides to announce the same aggregate, as
  1268.    in the previous example, they would add the following route object to
  1269.    the registry:
  1270.  
  1271.  
  1272.    route:       193.0.0.0/20
  1273.    descr:       All routes known by AS2
  1274.    origin:      AS2
  1275.    hole:        193.0.0.0/24
  1276.    hole:        193.0.2.0/23
  1277.    hole:        193.0.4.0/22
  1278.    hole:        193.0.10.0/23
  1279.    hole:        193.0.12.0/22
  1280.     ...
  1281.  
  1282.  
  1283.    Both AS1 and AS2 will be notified that there already is a route to
  1284.    the same prefix in the registry.
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290. Bates, et al.                                                  [Page 23]
  1291.  
  1292. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  1293.  
  1294.  
  1295.    This multiple proxy aggregation is very dangerous to do if the sub-
  1296.    aggregates of the route are not the same. It is still dangerous when
  1297.    the sub-aggregates are consistent but connectivity to the sub-
  1298.    aggregates varies widely between the originators.
  1299.  
  1300.  
  1301.  
  1302.    Route object update procedures
  1303.  
  1304.    Adding a route object will have to be authorised by the maintainer of
  1305.    the originating AS. The actual implementation of this is outside the
  1306.    scope of this document.  This guarantees that an AS guardian has full
  1307.    control over the registration of the routes it announces [11].
  1308.  
  1309.  
  1310.    What is an Inter-AS network ?
  1311.  
  1312.    An inter-AS network (Inter-AS IP networks are those networks are
  1313.    currently called FIXes, IXFs, DMZs, NAPs, GIX and many other
  1314.    acronyms) exists for the purpose of passing traffic and routing
  1315.    information between different autonomous systems.  The most simple
  1316.    example of an inter-AS network is a point-to-point link, connecting
  1317.    exactly two ASes.  Each end of such a link is connected to an
  1318.    interface of router belonging to each of the autonomous systems.
  1319.    More complex examples are broadcast type networks with multiple
  1320.    interfaces connecting multiple ASes with the possibility of more than
  1321.    one connection per AS.  Consider the following example of three
  1322.    routers 1, 2 and 3 with interfaces a through f  connected by two
  1323.    inter-AS networks X and Y:
  1324.  
  1325.  
  1326.                               X              Y
  1327.                      a1b     ---    c2d     ---    e3f
  1328.  
  1329.  
  1330.  
  1331.    Suppose that network X is registered in the routing registry as  part
  1332.    of AS1 and net Y as part of AS3. If traffic passes from left to right
  1333.    prtraceroute will report the following  sequence  of  interfaces  and
  1334.    ASes:
  1335.  
  1336.            a in AS1
  1337.            c in AS1
  1338.            e in AS3
  1339.  
  1340.  
  1341.    The traceroute algorithm enumerates only the receiving interfaces on
  1342.    the way to the destination.  In the example this leads to the passage
  1343.  
  1344.  
  1345.  
  1346. Bates, et al.                                                  [Page 24]
  1347.  
  1348. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  1349.  
  1350.  
  1351.    of AS2 going unnoticed.  This is confusing to the user and will also
  1352.    generate exceptions when the path found is checked against the
  1353.    routing registry.
  1354.  
  1355.  
  1356.    For operational monitoring tools such as prtraceroute it is necessary
  1357.    to know which interface on an inter-AS network belongs to which AS.
  1358.    If AS information is not known about interfaces on an inter-AS
  1359.    network, tools like prtraceroute cannot determine correctly which
  1360.    ASes are being traversed.
  1361.  
  1362.  
  1363.    All interfaces on inter-AS networks will are described in a separate
  1364.    object know as the `inet-rtr' object [15].
  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.  
  1400.  
  1401.  
  1402. Bates, et al.                                                  [Page 25]
  1403.  
  1404. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  1405.  
  1406.  
  1407. 6.  The Autonomous System Object
  1408.  
  1409.  
  1410.    Autonomous Systems
  1411.  
  1412.    An Autonomous System (AS) is a group of IP networks operated by one
  1413.    or more network operators which has a single and clearly defined
  1414.    external routing policy.
  1415.  
  1416.    An AS has a unique number associated with it which is used both in
  1417.    exchange of exterior routing information and as an identifier of the
  1418.    AS itself.  Exterior routing protocols such as BGP and EGP are used
  1419.    to exchange routing information between ASes.
  1420.  
  1421.    In routing terms an AS will normally use one or more interior gateway
  1422.    protocols (IGPs) in conjunction with some sort of common agreed
  1423.    metrics when exchanging network information within its own AS.
  1424.  
  1425.    The term AS is often confused or even misused as a convenient way of
  1426.    grouping together a set of networks which belong under the same
  1427.    administrative umbrella even if within that group of networks there
  1428.    are various different routing policies.  We provide the "community"
  1429.    concept for such use.  ASes can strictly have only one single
  1430.    external routing policy.
  1431.  
  1432.    The creation of an AS should be done in a conscious and well
  1433.    coordinated manner to avoid creating ASes for the sake of it, perhaps
  1434.    resulting in the worst case scenario of one AS per routing
  1435.    announcement.  It should be noted that there is a limited number of
  1436.    AS numbers available. Also creating an AS may well increase the
  1437.    number of AS paths modern EGPs will have to keep track of. This
  1438.    aggravates what is known as "the routing table growth problem".  This
  1439.    may mean that by applying the general rules for the creation and
  1440.    allocation of an AS below, some re-engineering may well be needed.
  1441.    However, this may be the only way to actually implement the desired
  1442.    routing policy anyway.  The creation and allocation of an AS should
  1443.    be done with the following recommendations in mind:
  1444.  
  1445.  
  1446.     +   Creation of an AS is only required when exchanging routing
  1447.         information with other ASes.  Some router implementations make
  1448.         use of an AS number as a form of tagging to identify the routing
  1449.         process.  However, it should be noted that this tag does not
  1450.         need to be unique unless routing information is indeed exchanged
  1451.         with other ASes.
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458. Bates, et al.                                                  [Page 26]
  1459.  
  1460. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  1461.  
  1462.  
  1463.     +   For a simple case of customer networks connected to a single
  1464.         service provider, the IP network should normally be a member of
  1465.         the service providers AS. In terms of routing policy the IP
  1466.         network has exactly the same policy as the service provider and
  1467.         there is no need to make any distinction in routing information.
  1468.         This idea may at first seem slightly alien to some, but it
  1469.         highlights the clear distinction in the use of the AS number as
  1470.         a representation of routing policy as opposed to some form of
  1471.         administrative use.
  1472.  
  1473.  
  1474.     +   If a network operator connects to more than one AS with
  1475.         different routing policies then they need to create their own
  1476.         AS.  In the case of multi-homed customer networks connected to
  1477.         two service providers there are at least two different routing
  1478.         policies to a given customer network.  At this point the
  1479.         customer networks will be part of a single AS and this AS would
  1480.         be distinct from either of the service providers ASes.  This
  1481.         allows the customer the ability of having a different
  1482.         representation of policy and preference to the different service
  1483.         providers.  This is the ONLY case where a network operator
  1484.         should create its own AS number.
  1485.  
  1486.  
  1487.     +   As a general rule one should always try to populate the AS with
  1488.         as many routes as possible, providing all routes conform to the
  1489.         same routing policy.
  1490.  
  1491.  
  1492.    Each AS is represented in the RIPE database by both an aut-num object
  1493.    and the route objects representing the routes originated by the AS.
  1494.    The aut-num object stores descriptive, administrative and contact
  1495.    information about the AS as well as the routing policies of the AS in
  1496.    relation to all neighboring ASes.
  1497.  
  1498.    The origin attributes of the route  objects define the set of routes
  1499.    originated by the AS. Each route object can have exactly one origin
  1500.    attribute.  Route objects can only be created and updated by the
  1501.    maintainer of the AS and not by those immediately responsible for the
  1502.    particular routes referenced therein.  This ensures that operators,
  1503.    especially service providers, remain in control of AS routing
  1504.    announcements.
  1505.  
  1506.  
  1507.    The AS object itself is used to represent a description of
  1508.    administrative details and the routing policies of the AS itself. The
  1509.    AS object definition is depicted as follows.
  1510.  
  1511.  
  1512.  
  1513.  
  1514. Bates, et al.                                                  [Page 27]
  1515.  
  1516. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  1517.  
  1518.  
  1519.  
  1520.    Example:
  1521.  
  1522.    aut-num:  AS1104
  1523.    descr:    NIKHEF-H Autonomous system
  1524.    as-in:    from AS1213 100 accept AS1213
  1525.    as-in:    from AS1913 100 accept AS1913
  1526.    as-in:    from AS1755 150 accept ANY
  1527.    as-out:   to AS1213 announce ANY
  1528.    as-out:   to AS1913 announce ANY
  1529.    as-out:   to AS1755 announce AS1104 AS1913 AS1213
  1530.    tech-c:   Rob Blokzijl
  1531.    admin-c:  Eric Wassenaar
  1532.    guardian: as-guardian@nikhef.nl
  1533.    changed:  ripe-dbm@ripe.net 920910
  1534.    source:   RIPE
  1535.  
  1536.  
  1537.  
  1538.    See Appendix A for a complete syntax definition of the "aut-num"
  1539.    object.
  1540.  
  1541.  
  1542.    It should be noted that this representation provides two things:
  1543.  
  1544.        + a set of routes.
  1545.  
  1546.        + a description of administrative details and routing policies.
  1547.  
  1548.    The set of routes can be used to generate network list based
  1549.    configuration information as well as configuration information for
  1550.    exterior routing protocols knowing about ASes. This means an AS can
  1551.    be defined and is useful even if it does not use routing protocols
  1552.    which know about the AS concept.
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570. Bates, et al.                                                  [Page 28]
  1571.  
  1572. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  1573.  
  1574.  
  1575.    Description of routing policies between ASs with multiple connections
  1576.    - "interas-in/interas-out"
  1577.  
  1578.    The following section is only relevant for ASes which use different
  1579.    policies on multiple links to the same neighboring AS. Readers not
  1580.    doing this may want to skip this section.
  1581.  
  1582.    Description of multiple connections between ASs defines how two ASs
  1583.    have chosen to set different policies for the use of each or some of
  1584.    the connections between the ASs.  This description is necessary only
  1585.    if the ASs are connected in more than one way and the routing policy
  1586.    and differs at these two connections.
  1587.  
  1588.  
  1589.  
  1590.    Example:
  1591.  
  1592.  
  1593.                    LINK1
  1594.       193.0.1.1 +----------+ 193.0.1.2
  1595.                 |          |
  1596.    AS1------AS2==           ==AS3-----AS4
  1597.                 |          |
  1598.       193.0.1.5 +----------+ 193.0.1.6
  1599.                     LINK2
  1600.  
  1601.  
  1602.  
  1603.         Note: LINK here denotes the peer connection points between
  1604.         ASs.  It is not necessarily just a serial link.  It could
  1605.         be ethernet or any other type of connection as well.  It
  1606.         can also be a peer session where the address is the same at
  1607.         one end and different at the other end.
  1608.  
  1609.  
  1610.    It may be that AS2 wants to use LINK2 only for traffic towards AS4.
  1611.    LINK1 is used for traffic to AS3 and as backup to AS4, should LINK2
  1612.    fail.  To implement this policy, one would use the attribute
  1613.    "interas-in" and "interas-out."  This attribute permits ASs to
  1614.    describe their local decisions based on its preference such as
  1615.    multi-exit-discriminators (MEDs) as used in some inter-domain routing
  1616.    protocols (BGP4, IDRP) and to communicate those routing decisions.
  1617.    This information would be useful in resolving problems when some
  1618.    traffic paths changed from traversing AS3's gateway in Timbuktu
  1619.    rather than the gateway in Mogadishu.  The exact syntax is given in
  1620.    Appendix A.  However, if we follow this example through in terms of
  1621.    AS2 we would represent this policy as follows:
  1622.  
  1623.  
  1624.  
  1625.  
  1626. Bates, et al.                                                  [Page 29]
  1627.  
  1628. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  1629.  
  1630.  
  1631.  
  1632.    Example:
  1633.  
  1634.    aut-num: AS2
  1635.    as-in: from AS3 10 accept AS3 AS4
  1636.    as-out: to AS3 announce AS1 AS2
  1637.    interas-in:from AS3 193.0.1.1/32 193.0.1.2/32 (pref=5) accept AS3
  1638.    interas-in:from AS3 193.0.1.1/32 193.0.1.2/32 (pref=9) accept AS4
  1639.    interas-in:from AS3 193.0.1.5/32 193.0.1.6/32 (pref=7) accept AS4
  1640.     ...
  1641.  
  1642.  
  1643.  
  1644.    Here we see additional policy information between two ASs in terms of
  1645.    the IP addresses of the connection.  The parentheses and keyword are
  1646.    syntactic placeholders to add the readability of the attributes.  If
  1647.    pref=MED is specified the preference indicated by the remote AS via
  1648.    the multi-exit- discriminator metric such as BGP is used.  Of course
  1649.    this type on inter-AS policy should always be bilaterally agreed upon
  1650.    to avoid asymmetry and in practice there may need  to be
  1651.    corresponding interas-out attributes in the policy representation of
  1652.    AS3.
  1653.  
  1654.  
  1655.    The interas-out attribute is similar to interas-in as as-out is to
  1656.    as-in.  The one major difference being that interas-out allows you to
  1657.    associate an outgoing metric with each route. It is important to note
  1658.    that this metric is just passed to the peer AS and it is at the peer
  1659.    AS's discretion to use or ignore it.  A special value of IGP
  1660.    specifies that the metric passed to the receiving AS will be derived
  1661.    from the IGP of the sending AS. In this way the peer AS can choose
  1662.    the optimal link for its traffic as determined by the sending AS.
  1663.  
  1664.    If we look at the corresponding interas-out for AS3 we would see the
  1665.    following:
  1666.  
  1667.    Example:
  1668.  
  1669. aut-num: AS3
  1670. as-in: from AS2 10 accept AS1 A2
  1671. as-out: to AS2 announce AS3 AS4
  1672. interas-out:to AS2 193.0.1.2/32 193.0.1.1/32 (metric-out=5) announce AS3
  1673. interas-out:to AS2 193.0.1.2/32 193.0.1.1/32 (metric-out=9) announce AS4
  1674. interas-out:to AS2 193.0.1.6/32 193.0.1.5/32 (metric-out=7) announce AS4
  1675.  ...
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682. Bates, et al.                                                  [Page 30]
  1683.  
  1684. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  1685.  
  1686.  
  1687.    Descriptions of interas policies do  not  replace  the  global
  1688.    policy described  in as-in, as-out and other policy attributes which
  1689.    should be specified too.  If the global policy mentions  more  routes
  1690.    than the combined local policies then local preferences for these
  1691.    routes are assumed to be equal for all links.
  1692.  
  1693.    Any route specified in interas-in/out and not specified in as-in/out
  1694.    is assumed not accepted/announced between the ASes concerned.
  1695.    Diagnostic tools should flag this inconsistency as an error.  It
  1696.    should be noted that if an interas-in or interas-out policy is
  1697.    specified then it is mandatory to specify the corresponding global
  1698.    policy in the as-in or as-out line. Please note there is no relevance
  1699.    in the cost associated with as-in and the preferences used in
  1700.    interas-in.
  1701.  
  1702.    The interaction of interas-in/interas-out with as-in/as-out
  1703.  
  1704.    Although formally defined above, the rules associated with policy
  1705.    described in terms of interas-in and interas-out with respect to as-
  1706.    in and as-out are worthy of clarification for implementation.
  1707.  
  1708.    When using interas-in or interas-out policy descriptions, one must
  1709.    always make sure the set of policies described between two ASes is
  1710.    always equal to or a sub-set of the policy described in the global
  1711.    as-in or as-out policy. When a sub-set is described remember the
  1712.    remaining routes are implicitly shared across all connections. It is
  1713.    an error for the interas policies to describe a superset of the
  1714.    global policies, i.e. to announce or accept more routes than the
  1715.    global policies.
  1716.  
  1717.    When defining complex interas based policies it is advisable to
  1718.    ensure that any possible ambiguities are not present by explicitly
  1719.    defining your policy with respect to the global as-in and as-out
  1720.    policy.
  1721.  
  1722.    If we look at a simple example, taking just in-bound announcements to
  1723.    simplify things. If we have the following global policy:
  1724.  
  1725.  
  1726.    aut-num: AS1
  1727.    as-in: from AS2 10 accept AS100 OR {10.0.0.0/8}
  1728.  
  1729.    Suppose there are three peerings between AS1 and AS2, known as L1-R1,
  1730.    L2-R2 and L3-R3 respectively. The actual policy of these connections
  1731.    is to accept AS100 equally on these three links and just route
  1732.    10.0.0.0/8 on L3-R3. The simple way to mention this exception is to
  1733.    just specify an interas policy for L3-R3:
  1734.  
  1735.  
  1736.  
  1737.  
  1738. Bates, et al.                                                  [Page 31]
  1739.  
  1740. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  1741.  
  1742.  
  1743.  
  1744.    interas-in: from AS2 L3 R3 (pref=100) accept {10.0.0.0/8}
  1745.  
  1746.  
  1747.    The implicit rule that all routes not mentioned in interas policies
  1748.    are accepted on all links with equal preference ensures the desired
  1749.    result.
  1750.  
  1751.    The same policy can be written explicitly as:
  1752.  
  1753.    interas-in: from AS2 L1 R1 (pref=100) accept AS100
  1754.    interas-in: from AS2 L2 R2 (pref=100) accept AS100
  1755.    interas-in: from AS2 L3 R3 (pref=100) accept AS100 OR {10.0.0.0/8}
  1756.  
  1757.  
  1758.    Whilst this may at first sight seem obvious, the problem arises when
  1759.    not all connections are mentioned. For example, if we specified only
  1760.    an interas-in line for L3-R3 as below:
  1761.  
  1762.    aut-num: AS1
  1763.    as-in: from AS2 10 accept AS100 OR {10.0.0.0/8}
  1764.    interas-in: from AS2 L3 R3 (pref=100) accept AS100 OR {10.0.0.0/8}
  1765.  
  1766.  
  1767.    then the policy for the other links according to the rules above
  1768.    would mean they were equal to the global policy minus the sum of the
  1769.    local policies (i.e. ((AS100 OR {10.0.0.0/0}) / (AS100 OR
  1770.    {10.0.0.0/0})) = empty) which in this case would mean nothing is
  1771.    accepted on connections L1-R1 and L2-R2 which is incorrect.
  1772.  
  1773.    Another example: If we only registered  the  policy  for  link  L2-
  1774.    R2:
  1775.  
  1776.    interas-in: from AS2 L2 R2 (pref=100) accept AS100
  1777.  
  1778.    The implicit policy for both L1-R1 and L3-R3 would be as follows:
  1779.  
  1780.    interas-in: from AS2 L1 R1 (pref=100) accept {10.0.0.0/8}
  1781.    interas-in: from AS2 L3 R3 (pref=100) accept {10.0.0.0/8}
  1782.  
  1783.  
  1784.    This is derived as the set of global policies minus the set of
  1785.    interas-in policies (in this case just accept AS100 as it was the
  1786.    L2-R2 interas-in policy we registered) with equal cost for the
  1787.    remaining connection. This again is clearly not what was intended.
  1788.  
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794. Bates, et al.                                                  [Page 32]
  1795.  
  1796. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  1797.  
  1798.  
  1799.    We strongly recommend that you always mention all policies for all
  1800.    interas connections explicitly, to avoid these possible errors. One
  1801.    should always ensure the set of the interas policies is equal to the
  1802.    global policy. Clearly if interas policies differ in complex ways it
  1803.    is worth considering splitting the AS in question into separate ASes.
  1804.    However, this is beyond the direct scope of this document.
  1805.  
  1806.    It should also be noted there is no direct relationship between the
  1807.    cost used in as-in and the preference used in interas-in.
  1808.  
  1809.  
  1810.  
  1811.  
  1812.  
  1813.  
  1814.  
  1815.  
  1816.  
  1817.  
  1818.  
  1819.  
  1820.  
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850. Bates, et al.                                                  [Page 33]
  1851.  
  1852. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  1853.  
  1854.  
  1855.    How to describe the exclusion policy of a certain AS - "as-exclude"
  1856.  
  1857.    Some ASes have a routing policy based on the exclusion of certain
  1858.    routes if for whatever reason a certain AS is used as transit.
  1859.    Whilst, this is in general not good practice as it makes implicit
  1860.    assumptions on topology with asymmetry a possible outcome if not
  1861.    coordinated, this case needs to be accommodated within the routing
  1862.    policy representation.
  1863.  
  1864.    The way this is achieved is by making use of the "as-exclude"
  1865.    attribute. The precise syntax of this attribute can be found in
  1866.    Appendix A along with the rest of the defined syntax for the "aut-
  1867.    num" object. However, some explanation of the use of this attribute
  1868.    is useful. If we have the following example topology.
  1869.  
  1870.    Example:
  1871.  
  1872.  
  1873.               AS4--------AS3
  1874.     |          |          |
  1875.     |          |          |
  1876.    AS1--------AS2--------AS5
  1877.  
  1878.  
  1879.    With a simple corresponding policy like so:
  1880.  
  1881.  
  1882.    Example:
  1883.  
  1884.    aut-num: AS1
  1885.    as-in:  from AS2 100 accept ANY
  1886.    as-out: to AS2 announce AS1
  1887.    as-exclude: exclude AS4 to ANY
  1888.     ....
  1889.  
  1890.  
  1891.    We see an interesting policy. What this says in simple terms is AS1
  1892.    doesn't want to reach anything if it transits AS4. This can be a
  1893.    perfectly valid policy. However, it should be realized that if for
  1894.    whatever reason AS2 decides to route to AS3 via AS4 then immediately
  1895.    AS1 has no connectivity to AS3 or if AS1 is running default to AS2
  1896.    packets from AS1 will still flow via AS4. The important point about
  1897.    this is that whilst AS1 can advise its neighbors of its policy it has
  1898.    no direct control on how it can enforce this policy to neighbors
  1899.    upstream.
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906. Bates, et al.                                                  [Page 34]
  1907.  
  1908. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  1909.  
  1910.  
  1911.    Another interesting scenario to highlight the unexpected result of
  1912.    using such an "as-exclude" policy. If we assume in the above example
  1913.    AS2 preferred AS4 to reach AS3 and AS1 did not use default routing
  1914.    then as stated AS1 would have no connectivity to AS3. Now lets
  1915.    suppose that for example the link between AS2 and AS4 went down for
  1916.    some reason. Like so:
  1917.  
  1918.    Example:
  1919.  
  1920.  
  1921.  
  1922.               AS4--------AS3
  1923.                           |
  1924.                           |
  1925.    AS1--------AS2--------AS5
  1926.  
  1927.  
  1928.    Suddenly AS1 now has connectivity to AS3. This unexpected behavior
  1929.    should be considered when created policies based on the "as-exclude"
  1930.    attribute.
  1931.  
  1932.    The second problem with this type of policy is the potential of
  1933.    asymmetry. In the original example we saw the correct policy from
  1934.    AS1's point of view but if ASes with connectivity through AS4 do not
  1935.    use a similar policy you have asymmetric traffic and policy.  If an
  1936.    AS uses such a policy they must be aware of the consequences of its
  1937.    use. Namely that the specified routes which transit the AS (i.e.
  1938.    routing announcements with this AS in the AS path information) in
  1939.    question will be excluded.  If not coordinated this can easily cause
  1940.    asymmetry or even worse loss of connectivity to unknown ASes behind
  1941.    (or in front for that matter) the transit AS in question.  With this
  1942.    in mind this attribute can only be viewed as a form of advisory to
  1943.    other service providers. However, this does not preclude its use with
  1944.    policy based tools if the attribute exists.
  1945.  
  1946.    By having the ability to specify a route keyword based on any of the
  1947.    four notations given in the syntax it allows the receiving AS to
  1948.    specify what routes it wishes to exclude through a given transit AS
  1949.    to a network granularity.
  1950.  
  1951.  
  1952.  
  1953.  
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962. Bates, et al.                                                  [Page 35]
  1963.  
  1964. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  1965.  
  1966.  
  1967. 7.  AS Macros
  1968.  
  1969.    It may be difficult to keep track of each and every new AS that is
  1970.    represented in the routing registry.  A convenient way around this is
  1971.    to define an `AS Macro' which essentially is a convenient way to
  1972.    group ASes. This is done so that each and every AS guardian does not
  1973.    have to add a new AS to it's routing policy as described by the as-in
  1974.    and as-out attributes of it's AS object.
  1975.  
  1976.    However, it should be noted that this creates an implicit trust on
  1977.    the guardian of the AS-Macro.
  1978.  
  1979.    An AS-Macro can be used in <routing policy expressions> for the "as-
  1980.    in" and "as-out" attributes in the aut-num object. The AS-Macro
  1981.    object is then used to derive the list or group of ASes.
  1982.  
  1983.    A simple example would be something like:
  1984.  
  1985.  
  1986.    Example:
  1987.  
  1988.    aut-num: AS786
  1989.    as-in:   from AS1755 100 accept AS-EBONE AND NOT AS1104
  1990.    as-out   to AS1755 announce AS786
  1991.     .....
  1992.  
  1993.  
  1994.    Where the as-macro object for AS-EBONE is as follows:
  1995.  
  1996.  
  1997.    as-macro:  AS-EBONE
  1998.    descr:     ASes routed by EBONE
  1999.    as-list:   AS2121 AS1104 AS2600 AS2122
  2000.    as-list:   AS1103 AS1755 AS2043
  2001.    guardian:  guardian@ebone.net
  2002.     ......
  2003.  
  2004.  
  2005.    So the policy would be evaluated to:
  2006.  
  2007.  
  2008.    aut-num: AS786
  2009.    as-in:   from AS1755 100 accept (AS2121 OR AS1104 OR AS2600 OR AS2122
  2010.    as-in:   from AS1755 100 accept AS1103 OR AS1755 OR
  2011.    as-in:   from AS1755 100 accept AS2043) AND NOT AS1104
  2012.     ......
  2013.  
  2014.  
  2015.  
  2016.  
  2017.  
  2018. Bates, et al.                                                  [Page 36]
  2019.  
  2020. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  2021.  
  2022.  
  2023.    It should be noted that the above examples incorporates the rule for
  2024.    line wrapping as defined in Appendix A for policy lines.  See
  2025.    Appendix C for a definition on the AS-Macro syntax.
  2026.  
  2027.  
  2028.  
  2029.  
  2030.  
  2031.  
  2032.  
  2033.  
  2034.  
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059.  
  2060.  
  2061.  
  2062.  
  2063.  
  2064.  
  2065.  
  2066.  
  2067.  
  2068.  
  2069.  
  2070.  
  2071.  
  2072.  
  2073.  
  2074. Bates, et al.                                                  [Page 37]
  2075.  
  2076. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  2077.  
  2078.  
  2079. 8.  The Community Object
  2080.  
  2081.    A community is a group of routes that cannot be represented by an AS
  2082.    or a group of ASes.  It is in some circumstances useful to define a
  2083.    group of routes that have something in common.  This could be a
  2084.    special access policy to a supercomputer centre, a group of routes
  2085.    used for a specific mission, or a disciplinary group that is
  2086.    scattered among several autonomous systems.  Also these communities
  2087.    could be useful to group routes for the purpose of network
  2088.    statistics.
  2089.  
  2090.    Communities do not exchange routing information, since they do not
  2091.    represent an autonomous system.  More specifically, communities do
  2092.    not define routing policies, but access or usage policies. However,
  2093.    they can be used as in conjunction with an ASes routing policy to
  2094.    define a set of routes the AS sets routing policy for.
  2095.  
  2096.    Communities should be defined in a strict manner, to avoid creating
  2097.    as many communities as there are routes, or even worse.  Communities
  2098.    should be defined following the two rules below;
  2099.  
  2100.  
  2101.     +   Communities must have a global meaning.  Communities that have
  2102.         no global meaning, are used only in a local environment and
  2103.         should be avoided.
  2104.  
  2105.  
  2106.     +   Communities  must not be defined to express non-local policies.
  2107.         It should be avoided that a community is created because some
  2108.         other organization forces a policy upon your organization.
  2109.         Communities must only be defined to express a policy defined by
  2110.         your organization.
  2111.  
  2112.  
  2113.  
  2114.    Community examples
  2115.  
  2116.    There are some clear examples of communities:
  2117.  
  2118.  
  2119.    BACKBONE -
  2120.         all customers of a given backbone service provider even though
  2121.         they can have various different routing policies and hence
  2122.         belong to different ASes. This would be extremely useful for
  2123.         statistics collection.
  2124.  
  2125.  
  2126.  
  2127.  
  2128.  
  2129.  
  2130. Bates, et al.                                                  [Page 38]
  2131.  
  2132. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  2133.  
  2134.  
  2135.    HEPNET -
  2136.         the High Energy Physics community partly shares infrastructure
  2137.         with other organizations, and the institutes it consists of are
  2138.         scattered all over Europe, often being part of a non HEPNET
  2139.         autonomous system. To allow statistics, access or part of a
  2140.         routing policy , a community HEPNET, consisting of all routes
  2141.         that are part of HEPNET, conveniently groups all these routes.
  2142.  
  2143.  
  2144.    NSFNET -
  2145.         the National Science Foundation Network imposes an acceptable
  2146.         use policy on routes that wish to make use of it. A community
  2147.         NSFNET could imply the set of routes that comply with this
  2148.         policy.
  2149.  
  2150.  
  2151.    MULTI -
  2152.         a large multinational corporation that does not have its own
  2153.         internal infrastructure, but connects to the various parts of
  2154.         its organizations by using local service providers that connect
  2155.         them all together, may decide to define a community to restrict
  2156.         access to their networks, only by networks that are part of this
  2157.         community. This way a corporate network could be defined on
  2158.         shared infrastructure. Also, this community could be used by any
  2159.         of the service providers to do statistics for the whole of the
  2160.         corporation, for instance to do topology or bandwidth planning.
  2161.  
  2162.  
  2163.    Similar to Autonomous systems, each community is represented in the
  2164.    RIPE database by both a community object and community tags on the
  2165.    route objects representing the routes belonging to the community.
  2166.    The community object stores descriptive, administrative and contact
  2167.    information about the community.
  2168.  
  2169.    The community tags on the route objects define the set of routes
  2170.    belonging to a community.  A route can have multiple community tags.
  2171.    The community tags can only be created and updated by the "guardian"
  2172.    of the community and not by those directly responsible for the
  2173.    particular network.  This ensures that community guardians remain in
  2174.    control of community membership.
  2175.  
  2176.    Here's an example of how this might be represented in terms of the
  2177.    community tags within the network object.  We have an example where
  2178.    the route 192.16.199.0/24 has a single routing policy (i.e.  that of
  2179.    AS 1104), but is part of several different communities of interest.
  2180.    We use the tag "comm-list" to represent the list of communities
  2181.    associated with this route.  NIKHEF-H uses the service provider
  2182.    SURFNET (a service provider with customers with more than one routing
  2183.  
  2184.  
  2185.  
  2186. Bates, et al.                                                  [Page 39]
  2187.  
  2188. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  2189.  
  2190.  
  2191.    policy), is also part of the High Energy Physics community as well as
  2192.    having the ability to access the Supercomputer at CERN (the community
  2193.    `CERN-SUPER', is somewhat national, but is intended as an example of
  2194.    a possible use of an access policy constraint).
  2195.  
  2196.  
  2197.    Example:
  2198.  
  2199.    route:     192.16.199.0/24
  2200.    descr:     Local Ethernet
  2201.    descr:     NIKHEF section H
  2202.    origin:    AS1104
  2203.    comm-list: HEPNET CERN-SUPER SURFNET
  2204.    changed:   ripe-dbm@ripe.net 920604
  2205.    source:    RIPE
  2206.  
  2207.  
  2208.  
  2209.    In the above examples some communities have been defined. The
  2210.    community object itself will take the following format:
  2211.  
  2212.  
  2213.    Example:
  2214.  
  2215.    community:  SURFNET
  2216.    descr:      Dutch academic research network
  2217.    authority:  SURFnet B.V.
  2218.    guardian:   comm-guardian@surfnet.nl
  2219.    admin-c:    Erik-Jan Bos
  2220.    tech-c:     Erik-Jan Bos
  2221.    changed:    ripe-dbm@ripe.net 920604
  2222.    source:     RIPE
  2223.  
  2224.    For a complete explanation of the syntax please refer to Appendix B.
  2225.  
  2226.  
  2227.  
  2228.  
  2229.  
  2230.  
  2231.  
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242. Bates, et al.                                                  [Page 40]
  2243.  
  2244. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  2245.  
  2246.  
  2247. 9.  Representation of Routing Policies
  2248.  
  2249.    Routing policies of an AS are represented in the autonomous system
  2250.    object. Initially we show some examples, so the reader is familiar
  2251.    with the concept of how routing information is represented, used and
  2252.    derived. Refer to Appendix A, for the full syntax of the "aut-num"
  2253.    object.
  2254.  
  2255.    The topology of routing exchanges is represented by listing how
  2256.    routing information is exchanged with each neighboring AS.  This is
  2257.    done separately for both incoming and outgoing routing information.
  2258.    In order to provide backup and back door paths a relative cost is
  2259.    associated with incoming routing information.
  2260.  
  2261.  
  2262.    Example 1:
  2263.  
  2264.  
  2265.                                AS1------AS2
  2266.  
  2267.  
  2268.    This specifies a simple routing exchange of two presumably isolated
  2269.    ASes.  Even if either of them has routing information about routes in
  2270.    ASes other than AS1 and AS2, none of that will be announced to the
  2271.    other.
  2272.  
  2273.    aut-num:   AS1
  2274.    as-out:    to AS2 announce AS1
  2275.    as-in:     from AS2 100 accept AS2
  2276.  
  2277.    aut-num:   AS2
  2278.    as-out:    to AS1 announce AS2
  2279.    as-in:     from AS1 100 accept AS1
  2280.  
  2281.  
  2282.    The number 100 in the in-bound specifications is a relative cost,
  2283.    which is used for backup and back door routes. The absolute value is
  2284.    of no significance. The relation between different values within the
  2285.    same AS object is.  A lower value means a lower cost. This is
  2286.    consciously similar to the cost based preference scheme used with DNS
  2287.    MX RRs.
  2288.  
  2289.  
  2290.    Example 2:
  2291.  
  2292.    Now suppose that AS2 is connected to one more AS, besides AS1, and
  2293.    let's call that AS3:
  2294.  
  2295.  
  2296.  
  2297.  
  2298. Bates, et al.                                                  [Page 41]
  2299.  
  2300. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  2301.  
  2302.  
  2303.  
  2304.  
  2305.                            AS1------AS2------AS3
  2306.  
  2307.  
  2308.  
  2309.    In this case there are two reasonable routing policies:
  2310.  
  2311.      a) AS2 just wants to exchange traffic with both AS1 and AS3 itself
  2312.         without passing traffic between AS1 and AS3.
  2313.  
  2314.      b) AS2 is willing to pass traffic between AS3 and AS1, thus acting
  2315.         as a transit AS
  2316.  
  2317.  
  2318.    Example 2a:
  2319.  
  2320.    In the first case AS1's representation in the routing registry will
  2321.    remain unchanged as will be the part of AS2's representation
  2322.    describing the routing exchange with AS1. A description of the
  2323.    additional routing exchange with AS3 will be added to AS2's
  2324.    representation:
  2325.  
  2326.  
  2327.    aut-num:   AS1
  2328.    as-out:    to AS2 announce AS1
  2329.    as-in:     from AS2 100 accept AS2
  2330.  
  2331.    aut-num:   AS2
  2332.    as-out:    to AS1 announce AS2
  2333.    as-in:     from AS1 100 accept AS1
  2334.    as-out:    to AS3 announce AS2
  2335.    as-in:     from AS3 100 accept AS3
  2336.  
  2337.    aut-num:   AS3
  2338.    as-out:    to AS2 announce AS3
  2339.    as-in:     from AS2 100 accept AS2
  2340.  
  2341.  
  2342.    Note that in this example, AS2 keeps full control over its resources.
  2343.    Even if AS3 and AS1 were to allow each others routes in from AS2, the
  2344.    routing information would not flow because AS2 is not announcing it.
  2345.    Of course AS1 and AS3 could just send traffic to each other to AS2
  2346.    even without AS2 announcing the routes, hoping that AS2 will forward
  2347.    it correctly. Such questionable practices however are beyond the
  2348.    scope of this document.
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354. Bates, et al.                                                  [Page 42]
  2355.  
  2356. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  2357.  
  2358.  
  2359.    Example 2b:
  2360.  
  2361.    If contrary to the previous case, AS1 and AS3 are supposed to have
  2362.    connectivity to each other via AS2, all AS objects have to change:
  2363.  
  2364.  
  2365.    aut-num:   AS1
  2366.    as-out:    to AS2 announce AS1
  2367.    as-in:     from AS2 100 accept AS2 AS3
  2368.  
  2369.    aut-num:   AS2
  2370.    as-out:    to AS1 announce AS2 AS3
  2371.    as-in:     from AS1 100 accept AS1
  2372.    as-out:    to AS3 announce AS2 AS1
  2373.    as-in:     from AS3 100 accept AS3
  2374.  
  2375.    aut-num:   AS3
  2376.    as-out:    to AS2 announce AS3
  2377.    as-in:     from AS2 100 accept AS1 AS2
  2378.  
  2379.  
  2380.  
  2381.    Note that the amount of routing information exchanged with a neighbor
  2382.    AS is defined in terms of routes belonging to ASes.  In BGP terms
  2383.    this is the AS where the routing information originates and the
  2384.    originating AS information carried in BGP could be used to implement
  2385.    the desired policy.  However, using BGP or the BGP AS-path
  2386.    information is not required to implement the policies thus specified.
  2387.    Configurations based on route lists can easily be generated from the
  2388.    database.  The AS path information, provided by BGP can then be used
  2389.    as an additional checking tool as desired.
  2390.  
  2391.    The specification understands one special expression and this can be
  2392.    expressed as a boolean expression:
  2393.  
  2394.  
  2395.    ANY - means any routing information known. For output this means that
  2396.         all routes an AS knows about are announced. For input it means
  2397.         that anything is accepted from the neighbor AS.
  2398.  
  2399.  
  2400.  
  2401.  
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407.  
  2408.  
  2409.  
  2410. Bates, et al.                                                  [Page 43]
  2411.  
  2412. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  2413.  
  2414.  
  2415.    Example 3:
  2416.  
  2417.    AS4 is a stub customer AS, which only talks to service provider
  2418.    AS123.
  2419.  
  2420.  
  2421.                                     |
  2422.                                     |
  2423.                             -----AS123------AS4
  2424.                                     |
  2425.                                     |
  2426.  
  2427.  
  2428.  
  2429.    aut-num: AS4
  2430.    as-out:  to AS123 announce AS4
  2431.    as-in:   from AS123 100 accept ANY
  2432.  
  2433.    aut-num: AS123
  2434.    as-in:   from AS4 100 accept AS4
  2435.    as-out:  to AS4 announce ANY
  2436.    <further neighbors>
  2437.  
  2438.  
  2439.  
  2440.    Since AS4 has no other way to reach the outside world than AS123 it
  2441.    is not strictly necessary for AS123 to send routing information to
  2442.    AS4.  AS4 can simply send all traffic for which it has no explicit
  2443.    routing information to AS123 by default.  This strategy is called
  2444.    default routing.  It is expressed in the routing registry by adding
  2445.    one or more default tags to the autonomous system which uses this
  2446.    strategy.  In the example above this would look like:
  2447.  
  2448.  
  2449.    aut-num: AS4
  2450.    as-out:  to AS123 announce AS4
  2451.    default: AS123 100
  2452.  
  2453.    aut-num: AS123
  2454.    as-in:   from AS4 100 accept AS4
  2455.    <further neighbors>
  2456.  
  2457.  
  2458.  
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465.  
  2466. Bates, et al.                                                  [Page 44]
  2467.  
  2468. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  2469.  
  2470.  
  2471.    Example 4:
  2472.  
  2473.    AS4 now connects to a different operator, AS5.  AS5 uses AS123 for
  2474.    outside connectivity but has itself no direct connection to AS123.
  2475.    AS5 traffic to and from AS123 thus has to pass AS4.  AS4 agrees to
  2476.    act as a transit AS for this traffic.
  2477.  
  2478.  
  2479.                               |
  2480.                               |
  2481.                        -----AS123------AS4-------AS5
  2482.                               |
  2483.                               |
  2484.  
  2485.  
  2486.  
  2487.    aut-num:    AS4
  2488.    as-out:     to AS123 announce AS4 AS5
  2489.    as-in:      from AS123 100 accept ANY
  2490.    as-out:     to AS5 announce ANY
  2491.    as-in:      from AS5 50 accept AS5
  2492.  
  2493.    aut-num:    AS5
  2494.    as-in:      from AS4 100 accept ANY
  2495.    as-out:     to AS4 announce AS5
  2496.  
  2497.    aut-num:    AS123
  2498.    as-in:      from AS4 100 accept AS4 AS5
  2499.    as-out:     to AS4 announce ANY
  2500.    <further neighbors>
  2501.  
  2502.  
  2503.  
  2504.    Now AS4 has two sources of external routing information. AS5 which
  2505.    provides only information about its own routes and AS123 which
  2506.    provides information about the external world. Note that AS4 accepts
  2507.    information about AS5 from both AS123 and AS5 although AS5
  2508.    information cannot come from AS123 since AS5 is connected only via
  2509.    AS4 itself. The lower cost of 50 for the announcement from AS5 itself
  2510.    compared to 100 from AS123 ensures that AS5 is still believed even in
  2511.    case AS123 will unexpectedly announce AS5.
  2512.  
  2513.    In this example too, default routing can be used by AS5 much like in
  2514.    the previous example.  AS4 can also use default routing towards
  2515.    AS123:
  2516.  
  2517.  
  2518.  
  2519.  
  2520.  
  2521.  
  2522. Bates, et al.                                                  [Page 45]
  2523.  
  2524. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  2525.  
  2526.  
  2527.  
  2528.    aut-num:    AS4
  2529.    as-out:     to AS123 announce AS4 AS5
  2530.    default:    AS123 11
  2531.    as-in:      from AS5 50 accept AS5
  2532.  
  2533.    Note no announcements to AS5, they default to us.
  2534.  
  2535.    aut-num:    AS5
  2536.    as-out:     to AS4 announce AS5
  2537.    default:    AS4 100
  2538.  
  2539.    aut-num:    AS123
  2540.    as-in:      from AS4 100 announce AS4 AS5
  2541.    <further neighbors>
  2542.  
  2543.  
  2544.    Note that the relative cost associated with default routing is
  2545.    totally separate from the relative cost associated with in-bound
  2546.    announcements.  The default route will never be taken if an explicit
  2547.    route is known to the destination.  Thus an explicit route can never
  2548.    have a higher cost than the default route.  The relative cost
  2549.    associated with the default route is only useful in those cases where
  2550.    one wants to configure multiple default routes for redundancy.
  2551.  
  2552.    Note also that in this example the configuration using default routes
  2553.    has a subtly different behavior than the one with explicit routes: In
  2554.    case the AS4-AS5 link fails AS4 will send traffic to AS5 to AS123
  2555.    when using the default configuration. Normally this makes not much
  2556.    difference as there will be no answer and thus little traffic.  With
  2557.    certain datagram applications which do not require acknowledgments
  2558.    however, significant amounts of traffic may be uselessly directed at
  2559.    AS123.  Similarly default routing should not be used if there are
  2560.    stringent security policies which prescribe any traffic intended for
  2561.    AS5 to ever touch AS123.
  2562.  
  2563.    Once the situation gets more complex using default routes can lead to
  2564.    unexpected results or even defeat the routing policies established
  2565.    when links fail. As an example consider how Example 5a) below could
  2566.    be implemented using default routing.  Therefore, generally it can be
  2567.    said that default routing should only be used in very simple
  2568.    topologies.
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578. Bates, et al.                                                  [Page 46]
  2579.  
  2580. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  2581.  
  2582.  
  2583.    Example 5:
  2584.  
  2585.    In a different example AS4 has a private connection to AS6 which in
  2586.    turn is connected to the service provider AS123:
  2587.  
  2588.  
  2589.                                    |
  2590.                                    |
  2591.                             -----AS123------AS4
  2592.                                    |          |
  2593.                                    |          |
  2594.                                    |          |
  2595.                                  AS6 ---------+
  2596.  
  2597.  
  2598.    There are a number of policies worth examining in this case:
  2599.  
  2600.  
  2601.      a) AS4 and AS6 wish to exchange traffic between themselves
  2602.         exclusively via the private link between themselves; such
  2603.         traffic should never pass through the backbone (AS123).  The
  2604.         link should never be used for transit traffic, i.e. traffic not
  2605.         both originating in and destined for AS4 and AS6.
  2606.  
  2607.  
  2608.      b) AS4 and AS6 wish to exchange traffic between themselves via the
  2609.         private link between themselves.  Should the link fail, traffic
  2610.         between AS4 and AS6 should be routed via AS123.  The link should
  2611.         never be used for transit traffic.
  2612.  
  2613.  
  2614.      c) AS4 and AS6 wish to exchange traffic between themselves via the
  2615.         private link between themselves.  Should the link fail, traffic
  2616.         between AS4 and AS6 should be routed via AS123.  Should the
  2617.         connection between AS4 and AS123 fail, traffic from AS4 to
  2618.         destinations behind AS123 can pass through the private link and
  2619.         AS6's connection to AS123.
  2620.  
  2621.  
  2622.      d) AS4 and AS6 wish to exchange traffic between themselves via the
  2623.         private link between themselves.  Should the link fail, traffic
  2624.         between AS4 and AS6 should be routed via AS123.  Should the
  2625.         backbone connection of either AS4 or AS6 fail, the traffic of
  2626.         the disconnected AS should flow via the other AS's backbone
  2627.         connection.
  2628.  
  2629.  
  2630.  
  2631.  
  2632.  
  2633.  
  2634. Bates, et al.                                                  [Page 47]
  2635.  
  2636. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  2637.  
  2638.  
  2639.    Example 5a:
  2640.  
  2641.  
  2642.  
  2643.    aut-num:   AS4
  2644.    as-in:     from AS123 100 accept NOT AS6
  2645.    as-out:    to AS123 announce AS4
  2646.    as-in:     from AS6 50 accept AS6
  2647.    as-out:    to AS6 announce AS4
  2648.  
  2649.    aut-num:   AS123
  2650.    as-in:     from AS4 100 accept AS4
  2651.    as-out:    to AS4 announce ANY
  2652.    as-in:     from AS6 100 accept AS6
  2653.    as-out:    to AS6 announce ANY
  2654.    <further neighbors>
  2655.  
  2656.    aut-num:    AS6
  2657.    as-in:      from AS123 100 accept NOT AS4
  2658.    as-out:     to AS123 announce AS6
  2659.    as-in:      from AS4 50 accept AS4
  2660.    as-out:     to AS4 announce AS6
  2661.  
  2662.  
  2663.  
  2664.    Note that here the configuration is slightly inconsistent. AS123 will
  2665.    announce AS6 to AS4 and AS4 to AS6. These announcements will be
  2666.    filtered out on the receiving end.  This will implement the desired
  2667.    policy.  Consistency checking tools might flag these cases however.
  2668.  
  2669.  
  2670.  
  2671.  
  2672.  
  2673.  
  2674.  
  2675.  
  2676.  
  2677.  
  2678.  
  2679.  
  2680.  
  2681.  
  2682.  
  2683.  
  2684.  
  2685.  
  2686.  
  2687.  
  2688.  
  2689.  
  2690. Bates, et al.                                                  [Page 48]
  2691.  
  2692. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  2693.  
  2694.  
  2695.    Example 5b:
  2696.  
  2697.  
  2698.  
  2699.    aut-num:   AS4
  2700.    as-in:     from AS123 100 accept ANY
  2701.    as-out:    to AS123 announce AS4
  2702.    as-in:     from AS6 50 accept AS6
  2703.    as-out:    AS6 AS4
  2704.  
  2705.    aut-num:   AS123
  2706.    as-in:     AS4 100 AS4
  2707.    as-out:    AS4 ANY
  2708.    as-in:     AS6 100 AS6
  2709.    as-out:    AS6 ANY
  2710.    <further neighbors>
  2711.  
  2712.    aut-num:   AS6
  2713.    as-in:     from AS123 100 accept ANY
  2714.    as-out:    to AS123 announce AS6
  2715.    as-in:     from AS4 50 accept AS4
  2716.    as-out:    to AS4 announce AS6
  2717.  
  2718.  
  2719.  
  2720.    The thing to note here is that in the ideal operational case, `all
  2721.    links working' AS4 will receive announcements for AS6 from both AS123
  2722.    and AS6 itself.  In this case the announcement from AS6 will be
  2723.    preferred because of its lower cost and thus the private link will be
  2724.    used as desired.  AS6 is configured as a mirror image.
  2725.  
  2726.  
  2727.  
  2728.  
  2729.  
  2730.  
  2731.  
  2732.  
  2733.  
  2734.  
  2735.  
  2736.  
  2737.  
  2738.  
  2739.  
  2740.  
  2741.  
  2742.  
  2743.  
  2744.  
  2745.  
  2746. Bates, et al.                                                  [Page 49]
  2747.  
  2748. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  2749.  
  2750.  
  2751.    Example 5c:
  2752.  
  2753.    The new feature here is that should the connection between AS4 and
  2754.    AS123 fail, traffic from AS4 to destinations behind AS123 can pass
  2755.    through the private link and AS6's connection to AS123.
  2756.  
  2757.  
  2758.    aut-num:  AS4
  2759.    as-in:    from AS123 100 accept ANY
  2760.    as-out:   to AS123 announce AS4
  2761.    as-in:    from AS6 50 accept AS6
  2762.    as-in:    from AS6 110 accept ANY
  2763.    as-out:   to AS6 AS4
  2764.  
  2765.    aut-num:  AS123
  2766.    as-in:    from AS4 1 accept AS4
  2767.    as-out:   to AS4 announce ANY
  2768.    as-in:    from AS6 1 accept AS6
  2769.    as-in:    from AS6 2 accept AS4
  2770.    as-out:   to AS6 announce ANY
  2771.    <further neighbors>
  2772.  
  2773.    aut-num:  AS6
  2774.    as-in:    from AS123 100 accept ANY
  2775.    as-out:   to AS123 AS6 announce AS4
  2776.    as-in:    from AS4 50 accept AS4
  2777.    as-out:   to AS4 announce ANY
  2778.  
  2779.  
  2780.  
  2781.    Note that it is important to make sure to propagate routing
  2782.    information for both directions in backup situations like this.
  2783.    Connectivity in just one direction is not useful at all for almost
  2784.    all applications.
  2785.  
  2786.    Note also that in case the AS6-AS123 connection breaks, AS6 will only
  2787.    be able to talk to AS4. The symmetrical case (5d) is left as an
  2788.    exercise to the reader.
  2789.  
  2790. 10.  Future Extensions
  2791.  
  2792.    We envision that over time the requirements for describing routing
  2793.    policy will evolve. The routing protocols will evolve to support the
  2794.    requirements and the routing policy description syntax will need to
  2795.    evolve as well. For that purpose, a separate document will describe
  2796.    experimental syntax definitions for policy description.  This
  2797.    document [14] will be updated when new objects or attributes are
  2798.    proposed or modified.
  2799.  
  2800.  
  2801.  
  2802. Bates, et al.                                                  [Page 50]
  2803.  
  2804. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  2805.  
  2806.  
  2807. 11.  References
  2808.  
  2809.    [1]  Bates, T., Jouanigot, J-M., Karrenberg, D., Lothberg, P.,
  2810.         Terpstra, M., "Representation of IP Routing Policies in the RIPE
  2811.         Database", RIPE-81, February 1993.
  2812.  
  2813.    [2]  Merit Network Inc.,"Representation of Complex Routing Policies
  2814.         of an Autonomous System", Work in Progress, March 1994.
  2815.  
  2816.    [3]  PRIDE Tools Release 1.
  2817.         See ftp.ripe.net:pride/tools/pride-tools-1.tar.Z.
  2818.  
  2819.    [4]  Merit Inc. RRDB Tools.
  2820.         See rrdb.merit.edu:pub/meritrr/*
  2821.  
  2822.    [5]  The Network List Compiler.
  2823.         See dxcoms.cern.ch:pub/ripe-routing-wg/nlc-2.2d.tar
  2824.  
  2825.    [6]  Lord, A., Terpstra, M., "RIPE Database Template for Networks and
  2826.         Persons", RIPE-119, October 1994.
  2827.  
  2828.    [7]  Karrenberg, D., "RIPE Database Template for Domains", RIPE-49,
  2829.         April 1992.
  2830.  
  2831.    [8]  Lougheed, K., Rekhter, Y., "A Border Gateway Protocol 3 (BGP-
  2832.         3)", RFC1267, October 1991.
  2833.  
  2834.    [9]  Rekhter, Y., Li, T., "A Border Gateway Protocol 4 (BGP-4)",
  2835.         RFC-1654, May 1994.
  2836.  
  2837.    [10] Bates, T., Karrenberg, D., Terpstra, M., "Support for Classless
  2838.         Internet Addresses in the RIPE Database", RIPE-121, October
  2839.         1994.
  2840.  
  2841.    [11] Karrenberg, D., "Authorisation and Notification of Changes in
  2842.         the RIPE Database", RIPE-120, October 1994.
  2843.  
  2844.    [12] Bates, T., "Support of Guarded fields within the RIPE Database",
  2845.         ripe-117, July 1994.
  2846.  
  2847.    [13] Estrin, D., Li, T., Rekhter, Y., Varadhan, K., Zappala, D.,
  2848.         "Source Demand Routing: Packet Format and Forwarding
  2849.         Specification (Version 1)", Work in Progress, March 1994.
  2850.  
  2851.    [14] Joncheray, L., "Experimental Objects and attributes for the
  2852.         Routing Registry", RIPE-182, October1994.
  2853.  
  2854.    [15] Bates, T., "Specifying an `Internet Router' in the Routing
  2855.  
  2856.  
  2857.  
  2858. Bates, et al.                                                  [Page 51]
  2859.  
  2860. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  2861.  
  2862.  
  2863.         Registry", RIPE-122, October 1994.
  2864.  
  2865.    [16] Bates, T., Karrenberg, D., Terpstra, M., "RIPE Database
  2866.         Transition Plan", RIPE-123, October 1994.
  2867.  
  2868. 12.  Security Considerations
  2869.  
  2870.    Security issues are beyond the scope of this memo.
  2871.  
  2872.  
  2873.  
  2874.  
  2875.  
  2876.  
  2877.  
  2878.  
  2879.  
  2880.  
  2881.  
  2882.  
  2883.  
  2884.  
  2885.  
  2886.  
  2887.  
  2888.  
  2889.  
  2890.  
  2891.  
  2892.  
  2893.  
  2894.  
  2895.  
  2896.  
  2897.  
  2898.  
  2899.  
  2900.  
  2901.  
  2902.  
  2903.  
  2904.  
  2905.  
  2906.  
  2907.  
  2908.  
  2909.  
  2910.  
  2911.  
  2912.  
  2913.  
  2914. Bates, et al.                                                  [Page 52]
  2915.  
  2916. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  2917.  
  2918.  
  2919. 13.  Authors' Addresses
  2920.  
  2921.  
  2922.    Tony Bates
  2923.    MCI Telecommunications Corporation
  2924.    2100 Reston Parkway
  2925.    Reston, VA 22094
  2926.    USA
  2927.    +1 703 715 7521
  2928.    Tony.Bates@mci.net
  2929.  
  2930.  
  2931.    Elise Gerich
  2932.    The University of Michigan
  2933.    Merit Computer Network
  2934.    1075 Beal Avenue
  2935.    Ann Arbor, MI 48109
  2936.    USA
  2937.    +1 313 936 2120
  2938.    epg@merit.edu
  2939.  
  2940.  
  2941.    Laurent Joncheray
  2942.    The University of Michigan
  2943.    Merit Computer Network
  2944.    1075 Beal Avenue
  2945.    Ann Arbor, MI 48109
  2946.    USA
  2947.    +1 313 936 2065
  2948.    lpj@merit.edu
  2949.  
  2950.  
  2951.    Jean-Michel Jouanigot
  2952.    CERN, European Laboratory for Particle Physics
  2953.    CH-1211 Geneva 23
  2954.    Switzerland
  2955.    +41 22 767 4417
  2956.    Jean-Michel.Jouanigot@cern.ch
  2957.  
  2958.  
  2959.    Daniel Karrenberg
  2960.    RIPE Network Coordination Centre
  2961.    Kruislaan 409
  2962.    NL-1098 SJ Amsterdam
  2963.    The Netherlands
  2964.    +31 20 592 5065
  2965.    D.Karrenberg@ripe.net
  2966.  
  2967.  
  2968.  
  2969.  
  2970. Bates, et al.                                                  [Page 53]
  2971.  
  2972. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  2973.  
  2974.  
  2975.  
  2976.    Marten Terpstra
  2977.    Bay Networks, Inc.
  2978.    2 Federal St
  2979.    Billerica, MA 01821
  2980.    USA
  2981.    +1 508 436 8036
  2982.    marten@BayNetworks.com
  2983.  
  2984.  
  2985.    Jessica Yu
  2986.    The University of Michigan
  2987.    Merit Computer Network
  2988.    1075 Beal Avenue
  2989.    Ann Arbor, MI 48109
  2990.    USA
  2991.    +1 313 936 2655
  2992.    jyy@merit.edu
  2993.  
  2994.  
  2995.  
  2996.  
  2997.  
  2998.  
  2999.  
  3000.  
  3001.  
  3002.  
  3003.  
  3004.  
  3005.  
  3006.  
  3007.  
  3008.  
  3009.  
  3010.  
  3011.  
  3012.  
  3013.  
  3014.  
  3015.  
  3016.  
  3017.  
  3018.  
  3019.  
  3020.  
  3021.  
  3022.  
  3023.  
  3024.  
  3025.  
  3026. Bates, et al.                                                  [Page 54]
  3027.  
  3028. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  3029.  
  3030.  
  3031. Appendix A - Syntax for the aut-num object.
  3032.  
  3033.    Here is a summary of the tags associated with aut-num object itself
  3034.    and their status. The first column specifies the attribute, the
  3035.    second column whether this attribute is mandatory in the aut-num
  3036.    object, and the third column whether this specific attribute can
  3037.    occur only once per object [single], or more than once [multiple].
  3038.    When specifying multiple lines per attribute, the attribute name must
  3039.    be repeated. See [6] the example for the descr: attribute.
  3040.  
  3041.  
  3042.    aut-num:      [mandatory]          [single]
  3043.    as-name:      [optional]           [single]
  3044.    descr:        [mandatory]          [multiple]
  3045.    as-in:        [optional]           [multiple]
  3046.    as-out:       [optional]           [multiple]
  3047.    interas-in:   [optional]           [multiple]
  3048.    interas-out:  [optional]           [multiple]
  3049.    as-exclude:   [optional]           [multiple]
  3050.    default:      [optional]           [multiple]
  3051.    tech-c:       [mandatory]          [multiple]
  3052.    admin-c:      [mandatory]          [multiple]
  3053.    guardian:     [mandatory]          [single]
  3054.    remarks:      [optional]           [multiple]
  3055.    notify:       [optional]           [multiple]
  3056.    mnt-by:       [optional]           [multiple]
  3057.    changed:      [mandatory]          [multiple]
  3058.    source:       [mandatory]          [single]
  3059.  
  3060.  
  3061.    Each attribute has the following syntax:
  3062.  
  3063.  
  3064.    aut-num:
  3065.         The autonomous system number.  This must be a uniquely allocated
  3066.         autonomous system number from an AS registry (i.e. the RIPE NCC,
  3067.         the Inter-NIC, etc).
  3068.  
  3069.         Format:
  3070.              AS<positive integer between 1 and 65535>
  3071.  
  3072.         Example:
  3073.  
  3074.              aut-num: AS1104
  3075.  
  3076.         Status: mandatory, only one line allowed
  3077.  
  3078.  
  3079.  
  3080.  
  3081.  
  3082. Bates, et al.                                                  [Page 55]
  3083.  
  3084. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  3085.  
  3086.  
  3087. as-name:
  3088.      The name associated with this AS. This should as short but as
  3089.      informative as possible.
  3090.  
  3091.      Format:
  3092.           Text consisting of capitals, dashes ("-") and digits, but must
  3093.           start with a capital.
  3094.  
  3095.      Example:
  3096.  
  3097.           as-name: NIKHEF-H
  3098.  
  3099.      Status: single, only one line allowed
  3100.  
  3101. descr:
  3102.      A short description of the Autonomous System.
  3103.  
  3104.      Format:
  3105.           free text
  3106.  
  3107.      Example:
  3108.  
  3109.           descr: NIKHEF section H
  3110.           descr: Science Park Watergraafsmeer
  3111.           descr: Amsterdam
  3112.  
  3113.      Status: mandatory, multiple lines allowed
  3114.  
  3115. as-in:
  3116.      A description of accepted routing information between AS peers.
  3117.  
  3118.      Format:
  3119.           from <aut-num> <cost> accept <routing policy expression>
  3120.  
  3121.           The keywords from and accept are optional and can be omitted.
  3122.  
  3123.           <aut-num> refers to your AS neighbor.
  3124.  
  3125.           <cost> is a positive integer used to express a relative cost
  3126.           of routes learned. The lower the cost the more preferred the
  3127.           route.
  3128.  
  3129.           <routing policy expression> can take the following formats.
  3130.  
  3131.           1.   A list of one or more ASes, AS Macros, Communities or
  3132.                Route Lists.
  3133.  
  3134.                A Route List is a list of routes in prefix length format,
  3135.  
  3136.  
  3137.  
  3138. Bates, et al.                                                  [Page 56]
  3139.  
  3140. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  3141.  
  3142.  
  3143.                separated by commas, and surrounded by curly brackets
  3144.                (braces, i.e. `{' and '}').
  3145.  
  3146.  
  3147.                Examples:
  3148.  
  3149.                     as-in: from AS1103 100 accept AS1103
  3150.                     as-in: from AS786  105 accept AS1103
  3151.                     as-in: from AS786   10 accept AS786 HEPNET
  3152.                     as-in: from AS1755 110 accept AS1103 AS786
  3153.                     as-in: from AS3333 100 accept {192.87.45.0/16}
  3154.  
  3155.  
  3156.           2.   A set of KEYWORDS.  The following KEYWORD is currently
  3157.                defined:
  3158.  
  3159.  
  3160.                ANY  this means anything the neighbor AS knows.
  3161.  
  3162.           3.   A logical expression of either 1 or 2 above The current
  3163.                logical operators are defined as:
  3164.  
  3165.                AND
  3166.                OR
  3167.                NOT
  3168.  
  3169.                This operators are defined as true BOOLEAN operators even
  3170.                if the operands themselves do not appear to be BOOLEAN.
  3171.                Their operations are defined as follows:
  3172.  
  3173.                Operator       Operation      Example
  3174.  
  3175.                   OR          UNION          AS1 OR AS2
  3176.                                              |
  3177.                                              +-> all routes in AS1
  3178.                                                  or AS2.
  3179.  
  3180.                   AND         INTERSECTION   AS1 AND HEPNET
  3181.                                              |
  3182.                                              +-> a route in AS1 and
  3183.                                                  belonging to
  3184.                                                  community HEPNET.
  3185.  
  3186.                   NOT         COMPLEMENT     NOT AS3
  3187.                                              |
  3188.                                              +-> any route except
  3189.                                                  AS3 routes.
  3190.  
  3191.  
  3192.  
  3193.  
  3194. Bates, et al.                                                  [Page 57]
  3195.  
  3196. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  3197.  
  3198.  
  3199.                Rules are grouped together using parenthesis i.e "(" and
  3200.                ")".
  3201.  
  3202.                The ordering of evaluation of operators and there
  3203.                association is as follows:
  3204.  
  3205.                Operator        Associativity
  3206.  
  3207.                   ()           left to right
  3208.                  NOT           right to left
  3209.                  AND           left to right
  3210.                   OR           left to right
  3211.  
  3212.  
  3213.                NOTE: if no logical operator is given between ASes, AS-
  3214.                macros, Communities, Route Lists and KEYWORDS it is
  3215.                implicitly evaluated as an `OR' operation.  The OR can be
  3216.                left out for conciseness. However, please note the
  3217.                operators are still evaluated as below so make sure you
  3218.                include parentheses whenever needed.  To highlight this
  3219.                here is a simple example. If we denoted a policy of for
  3220.                example; from AS1755 I accept all routes except routes
  3221.                from AS1, A2 and AS3 and you enter the following as-in
  3222.                line.
  3223.  
  3224.  
  3225.                as-in: from AS1755 100 accept NOT AS1 AS2 AS3
  3226.  
  3227.  
  3228.                This will be evaluated as:
  3229.  
  3230.  
  3231.                as-in: from AS1755 100 accept NOT AS1 OR AS2 OR AS3
  3232.  
  3233.  
  3234.                Which in turn would be evaluated like this:
  3235.  
  3236.                (NOT AS1) OR AS2 OR AS3
  3237.                -> ((ANY except AS1) union AS2) union AS3)
  3238.                --> (ANY except AS1)
  3239.  
  3240.                This is clearly incorrect and not the desired result. The
  3241.                correct syntax should be:
  3242.  
  3243.  
  3244.                as-in: from AS1755 100 accept NOT (AS1 AS2 AS3)
  3245.  
  3246.  
  3247.  
  3248.  
  3249.  
  3250. Bates, et al.                                                  [Page 58]
  3251.  
  3252. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  3253.  
  3254.  
  3255.                Producing the following evaluation:
  3256.  
  3257.  
  3258.                NOT (AS1 OR AS2 OR AS3)
  3259.                -> (ANY) except (union of AS1, AS2, AS3)
  3260.  
  3261.  
  3262.                Which depicts the desired routing policy.
  3263.                Note that can also be written as below which is perhaps
  3264.                somewhat clearer:
  3265.  
  3266.  
  3267.                as-in: from AS1755 100 accept ANY AND NOT
  3268.                as-in: from AS1755 100 accept (AS1 OR AS2 OR AS3)
  3269.  
  3270.  
  3271.      Examples:
  3272.  
  3273.           as-in: from AS1755 100 accept ANY AND NOT (AS1234 OR AS513)
  3274.           as-in: from AS1755 150 accept AS1234 OR {35.0.0.0/8}
  3275.  
  3276.           A rule can be wrapped over lines providing the associated
  3277.           <aut-num>, <cost> values and from and accept keywords are
  3278.           repeated and occur on consecutive lines.
  3279.  
  3280.      Example:
  3281.  
  3282.           as-in: from AS1755 100 accept ANY AND NOT (AS1234 AS513)
  3283.  
  3284.              and
  3285.  
  3286.           as-in: from AS1755 100 accept ANY AND NOT (
  3287.           as-in: from AS1755 100 accept AS1234 AS513)
  3288.  
  3289.           are evaluated to the same result. Please note that the
  3290.           ordering of these continuing lines is significant.
  3291.  
  3292.      Status: optional, multiple lines allowed
  3293.  
  3294.  
  3295.  
  3296.  
  3297.  
  3298.  
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304.  
  3305.  
  3306. Bates, et al.                                                  [Page 59]
  3307.  
  3308. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  3309.  
  3310.  
  3311. as-out:
  3312.      A description of generated routing information sent to other AS
  3313.      peers.
  3314.  
  3315.      Format:
  3316.           to <aut-num> announce <routing policy expression
  3317.  
  3318.           The to and announce keywords are optional and can be omitted.
  3319.  
  3320.           <aut-num> refers to your AS neighbor.
  3321.  
  3322.           <routing policy expression> is explained in the as-in
  3323.           attribute definition above.
  3324.  
  3325.      Example:
  3326.  
  3327.           as-out: to AS1104 announce AS978
  3328.           as-out: to AS1755 announce ANY
  3329.           as-out: to AS786 announce ANY AND NOT (AS978)
  3330.  
  3331.      Status: optional, multiple lines allowed
  3332.  
  3333. interas-in:
  3334.      Describes incoming local preferences on an inter AS connection.
  3335.  
  3336.      Format:
  3337.           from <aut-num> <local-rid> <neighbor-rid> <preference> accept
  3338.           <routing policy expression>
  3339.  
  3340.           The keywords from and accept are optional and can be omitted.
  3341.  
  3342.           <aut-num> is an autonomous system as defined in as-in.
  3343.  
  3344.           <local-rid> contains the IP address of the border router in
  3345.           the AS describing the policy.  IP address must be in prefix
  3346.           length format.
  3347.  
  3348.           <neighbor-rid> contains the IP address of neighbor AS's border
  3349.           router from which this AS accept routes defined in the
  3350.           <routing policy expression>.  IP addresses must be in prefix
  3351.           length format.
  3352.  
  3353.           <preference> is defined as follows:
  3354.  
  3355.           (<pref-type>=<value>)
  3356.  
  3357.           It should be noted the parenthesis "(" and ")" and the
  3358.           "<pref-type>" keyword must be present for this preference to
  3359.  
  3360.  
  3361.  
  3362. Bates, et al.                                                  [Page 60]
  3363.  
  3364. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  3365.  
  3366.  
  3367.           be valid.
  3368.  
  3369.           <pref-type> currently only supports "pref".  It could be
  3370.           expanded to other type of preference such as TOS/QOS as
  3371.           routing technology matures.
  3372.  
  3373.           <value> can take one of the following values:
  3374.  
  3375.           <cost>
  3376.                <cost> is a positive integer used to express a relative
  3377.                cost of routes learned. The lower the cost the more
  3378.                preferred the route. This <cost> value is only comparable
  3379.                to other interas-in attributes, not to as-in attributes.
  3380.  
  3381.           MED
  3382.                This indicates the AS will use the
  3383.                MUTLI_EXIT_DISCRIMINATOR (MED) metric, as implemented in
  3384.                BGP4 and IDRP, sent from its neighbor AS.
  3385.  
  3386.                NOTE: Combinations of MED and <cost> should be avoided
  3387.                for the same destinations.
  3388.  
  3389.                CAVEAT: The pref-type values may well be enhanced in the
  3390.                future as more inter-ASs routing protocols introduce
  3391.                other metrics.
  3392.  
  3393.                Any route specified in interas-in and not specified in
  3394.                as-in is assumed not accepted between the ASes concerned.
  3395.                Diagnostic tools should flag this inconsistency as an
  3396.                error.  It should be noted that if an interas-in policy
  3397.                is specified then it is mandatory to specify the
  3398.                corresponding global policy in the as-in line. Please
  3399.                note there is no relevance in the cost associated with
  3400.                as-in and the preferences used in interas-in.
  3401.           <routing policy expression> is an expression as defined in
  3402.           as-in above.
  3403.  
  3404.      Examples:
  3405.  
  3406.           NB: This line is wrapped for readability.
  3407.           interas-in: from AS1104 192.(pref=10)/accept.AS786.AS987
  3408.           interas-in: from AS1104 192.87.45.(pref=20)2accept.AS987
  3409.           interas-in: from AS1103 192.87.45.2(pref=MED)8accept2ANY
  3410.  
  3411.      Status: optional, multiple lines allowed
  3412.  
  3413.  
  3414.  
  3415.  
  3416.  
  3417.  
  3418. Bates, et al.                                                  [Page 61]
  3419.  
  3420. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  3421.  
  3422.  
  3423. interas-out:
  3424.  
  3425.      Format:
  3426.           to <aut-num> <local-rid> <neighbor-rid> [<metric>] announce
  3427.           <routing policy expression>
  3428.  
  3429.           The keywords to and announce are optional and can be omitted.
  3430.  
  3431.           The definitions of <aut-num>, <local-rid> <neighbor-rid>, and
  3432.           <routing policy expression> are identical to those defined in
  3433.           interas-in.
  3434.  
  3435.           <metric> is optional and is defined as follows:
  3436.  
  3437.           (<metric-type>=<value>)
  3438.  
  3439.           It should be noted the parenthesis "(" and ")" and the
  3440.           keywords of "<metric-type>" must be present for this metric to
  3441.           be valid.
  3442.  
  3443.           <metric-type> currently only supports "metric-out".  It could
  3444.           be expanded to other type of preference such as TOS/QOS as
  3445.           routing technology matures.
  3446.           <value> can take one of the following values:
  3447.  
  3448.           <num-metric>
  3449.                <num-metric> is a pre-configured metric for out-bound
  3450.                routes. The lower the cost the more preferred the route.
  3451.                This <num-metric> value is literally passed by the
  3452.                routing protocol to the neighbor. It is expected that it
  3453.                is used there which is indicated by pref=MED on the
  3454.                corresponding interas-in attribute.  It should be noted
  3455.                that whether to accept the outgoing metric or not is
  3456.                totally within the discretion of the neighbor AS.
  3457.  
  3458.           IGP
  3459.                This indicates that the metric reflects the ASs internal
  3460.                topology cost. The topology is reflected here by using
  3461.                MED which is derived from the AS's IGP metric.
  3462.  
  3463.                NOTE: Combinations of IGP and <num-metric> should be
  3464.                avoided for the same destinations.
  3465.  
  3466.                CAVEAT: The metric-out values may well be enhanced in the
  3467.                future as more interas protocols make use of metrics.
  3468.  
  3469.                Any route specified in interas-out and not specified in
  3470.                as-out is assumed not announced between the ASes
  3471.  
  3472.  
  3473.  
  3474. Bates, et al.                                                  [Page 62]
  3475.  
  3476. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  3477.  
  3478.  
  3479.                concerned. Diagnostic tools should flag this
  3480.                inconsistency as an error.  It should be noted that if an
  3481.                interas-out policy is specified then it is mandatory to
  3482.                specify the corresponding global policy in the as-out
  3483.                line.
  3484.  
  3485.      Examples:
  3486.  
  3487.           interas-out:ntoiAS1104p192.87.45.254/32t192.87.45.80/32
  3488.           interas-out: to AS1104m192.87.45.254/32n192.87.45.80/32
  3489.           interas-out: to AS1103 192.87.45.254/325192.87.45.80/32
  3490.                                     (metric-out=IGP) announce ANY
  3491.  
  3492.      Status: optional, multiple lines allowed
  3493.  
  3494. as-exclude:
  3495.      A list of transit ASes to ignore all routes from.
  3496.  
  3497.      Format:
  3498.           exclude <aut-num> to <exclude-route-keyword>
  3499.  
  3500.           Keywords exclude and to are optional and can again be omitted.
  3501.  
  3502.           <aut-num> refers to the transit AS in question.
  3503.  
  3504.           an <exclude-route-keyword> can be ONE of the following.
  3505.  
  3506.           1.   <aut-num>
  3507.  
  3508.           2.   AS macro
  3509.  
  3510.           3.   Community
  3511.  
  3512.           4.   ANY
  3513.  
  3514.      Examples:
  3515.  
  3516.           as-exclude: exclude AS690 to HEPNET
  3517.  
  3518.           This means exclude any HEPNET routes which have a route via
  3519.           AS690.
  3520.  
  3521.           as-exclude: exclude AS1800 to AS-EUNET
  3522.  
  3523.           This means exclude any AS-EUNET routes which have a route via
  3524.           AS1800.
  3525.  
  3526.           as-exclude: exclude AS1755 to AS1104
  3527.  
  3528.  
  3529.  
  3530. Bates, et al.                                                  [Page 63]
  3531.  
  3532. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  3533.  
  3534.  
  3535.           This means exclude any AS1104 route which have a route via
  3536.           AS1755.
  3537.  
  3538.           as-exclude: exclude AS1104 to ANY
  3539.  
  3540.           This means exclude all routes which have a route via AS1104.
  3541.  
  3542.      Status: optional, multiple lines allowed
  3543.  
  3544. default:
  3545.      An indication of how default routing is done.
  3546.  
  3547.      Format:
  3548.           <aut-num> <relative cost> <default-expression>
  3549.  
  3550.           where <aut-num> is the AS peer you will default route to,
  3551.  
  3552.           and <relative cost> is the relative cost is a positive integer
  3553.           used to express a preference for default. There is no
  3554.           relationship to the cost used in the as-in tag. The AS peer
  3555.           with the lowest cost is used for default over ones with higher
  3556.           costs.
  3557.  
  3558.           <default-expression> is optional and provides information on
  3559.           how a default route is selected. It can take the following
  3560.           formats:
  3561.  
  3562.           1.   static. This indicates that a default is statically
  3563.                configured to this AS peer.
  3564.  
  3565.           2.   A route list with the syntax as described in the as-in
  3566.                attribute. This indicates that this list of routes is
  3567.                used to generate a default route. A special but valid
  3568.                value in this is the special route used by some routing
  3569.                protocols to indicate default: 0.0.0.0/0
  3570.  
  3571.           3.   default. This is the same as {0.0.0.0/0}. This means that
  3572.                the routing protocol between these two peers generates a
  3573.                true default.
  3574.  
  3575.      Examples:
  3576.  
  3577.           default: AS1755 10
  3578.           default: AS786   5 {140.222.0.0/16, 192.87.45.0/24}
  3579.           default: AS2043 15 default
  3580.  
  3581.      Status: optional, multiple lines allowed
  3582.  
  3583.  
  3584.  
  3585.  
  3586. Bates, et al.                                                  [Page 64]
  3587.  
  3588. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  3589.  
  3590.  
  3591. tech-c:
  3592.      Full name or uniquely assigned NIC-handle of a technical contact
  3593.      person. This is someone to be contacted for technical problems such
  3594.      as misconfiguration.
  3595.  
  3596.      Format:
  3597.           <firstname> <initials> <lastname> or <nic-handle>
  3598.  
  3599.      Example:
  3600.  
  3601.           tech-c: John E Doe
  3602.           tech-c: JED31
  3603.  
  3604.      Status: mandatory, multiple lines allowed
  3605.  
  3606. admin-c:
  3607.      Full name or uniquely assigned NIC-handle of an administrative
  3608.      contact person. In many cases this would be the name of the
  3609.      guardian.
  3610.  
  3611.      Format:
  3612.           <firstname> <initials> <lastname>  or  <nic-handle>
  3613.  
  3614.      Example:
  3615.  
  3616.           admin-c: Joe T Bloggs
  3617.           admin-c: JTB1
  3618.  
  3619.      Status: mandatory, multiple lines allowed
  3620.  
  3621. guardian:
  3622.      Mailbox of the guardian of the Autonomous system.
  3623.  
  3624.      Format:
  3625.           <email-address>
  3626.  
  3627.           The <email-address> should be in RFC822 domain format wherever
  3628.           possible.
  3629.  
  3630.      Example:
  3631.  
  3632.           guardian: as1104-guardian@nikhef.nl
  3633.  
  3634.      Status: mandatory, only one line and e-mail address allowed
  3635.  
  3636.  
  3637.  
  3638.  
  3639.  
  3640.  
  3641.  
  3642. Bates, et al.                                                  [Page 65]
  3643.  
  3644. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  3645.  
  3646.  
  3647. remarks:
  3648.      Remarks/comments, to be used only for clarification.
  3649.  
  3650.      Format:
  3651.           free text
  3652.  
  3653.      Example:
  3654.  
  3655.           remarks: Multihomed AS talking to AS1755 and AS786
  3656.           remarks: Will soon connect to AS1104 also.
  3657.  
  3658.      Status: optional, multiple lines allowed
  3659.  
  3660. notify:
  3661.      The notify attribute contains an email address to which
  3662.      notifications of changes to this object should be sent. See also
  3663.      [11].
  3664.  
  3665.      Format:
  3666.           <email-address>
  3667.  
  3668.           The <email-address> should be in RFC822 domain syntax wherever
  3669.           possible.
  3670.  
  3671.      Example:
  3672.  
  3673.           notify: Marten.Terpstra@ripe.net
  3674.  
  3675.      Status: optional, multiple lines allowed
  3676.  
  3677. mnt-by:
  3678.      The mnt-by attribute contains a registered maintainer name.  See
  3679.      also [11].
  3680.  
  3681.      Format:
  3682.           <registered maintainer name>
  3683.  
  3684.      Example:
  3685.  
  3686.           mnt-by: RIPE-DBM
  3687.  
  3688.      Status: optional, multiple lines allowed
  3689.  
  3690. changed:
  3691.      Who changed this object last, and when was this change made.
  3692.  
  3693.      Format:
  3694.           <email-address> YYMMDD
  3695.  
  3696.  
  3697.  
  3698. Bates, et al.                                                  [Page 66]
  3699.  
  3700. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  3701.  
  3702.  
  3703.           <email-address> should be the address of the person who made
  3704.           the last change. YYMMDD denotes the date this change was made.
  3705.  
  3706.      Example:
  3707.  
  3708.           changed: johndoe@terabit-labs.nn 900401
  3709.  
  3710.      Status: mandatory, multiple lines allowed
  3711.  
  3712. source:
  3713.      Source of the information.
  3714.  
  3715.      This is used to separate information from different sources kept by
  3716.      the same database software. For RIPE database entries the value is
  3717.      fixed to RIPE.
  3718.  
  3719.      Format:
  3720.           RIPE
  3721.      Status: mandatory, only one line allowed
  3722.  
  3723.  
  3724.  
  3725.  
  3726.  
  3727.  
  3728.  
  3729.  
  3730.  
  3731.  
  3732.  
  3733.  
  3734.  
  3735.  
  3736.  
  3737.  
  3738.  
  3739.  
  3740.  
  3741.  
  3742.  
  3743.  
  3744.  
  3745.  
  3746.  
  3747.  
  3748.  
  3749.  
  3750.  
  3751.  
  3752.  
  3753.  
  3754. Bates, et al.                                                  [Page 67]
  3755.  
  3756. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  3757.  
  3758.  
  3759. Appendix B - Syntax details for the community object.
  3760.  
  3761.    Here is a summary of the tags associated with community object itself
  3762.    and their status. The first column specifies the attribute, the
  3763.    second column whether this attribute is mandatory in the community
  3764.    object, and the third column whether this specific attribute can
  3765.    occur only once per object [single], or more than once [multiple].
  3766.    When specifying multiple lines per attribute, the attribute name must
  3767.    be repeated. See [6] the example for the descr: attribute.
  3768.  
  3769.  
  3770.    community:      [mandatory]          [single]
  3771.    descr:          [mandatory]          [multiple]
  3772.    authority:      [mandatory]          [single]
  3773.    guardian:       [mandatory]          [single]
  3774.    tech-c:         [mandatory]          [multiple]
  3775.    admin-c:        [mandatory]          [multiple]
  3776.    remarks:        [optional]           [multiple]
  3777.    notify:         [optional]           [multiple]
  3778.    mnt-by:         [optional]           [multiple]
  3779.    changed:        [mandatory]          [multiple]
  3780.    source:         [mandatory]          [single]
  3781.  
  3782.  
  3783.    Each attribute has the following syntax:
  3784.  
  3785.  
  3786.    community:
  3787.         Name of the community. The name of the community should be
  3788.         descriptive of the community it describes.
  3789.  
  3790.         Format:
  3791.              Upper case text string which cannot start with "AS" or any
  3792.              of the <routing policy expression> KEYWORDS. See Appendix
  3793.              A.
  3794.  
  3795.         Example:
  3796.  
  3797.              community: WCW
  3798.  
  3799.         Status: mandatory, only one line allowed
  3800.  
  3801.  
  3802.  
  3803.  
  3804.  
  3805.  
  3806.  
  3807.  
  3808.  
  3809.  
  3810. Bates, et al.                                                  [Page 68]
  3811.  
  3812. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  3813.  
  3814.  
  3815.    descr:
  3816.         A short description of the community represented.
  3817.  
  3818.         Format:
  3819.              free text
  3820.  
  3821.         Example:
  3822.  
  3823.              descr: Science Park Watergraafsmeer
  3824.              descr: Amsterdam
  3825.  
  3826.         Status: mandatory, multiple lines allowed
  3827.  
  3828.    authority:
  3829.         The formal authority for this community. This could be an
  3830.         organisation, institute, committee, etc.
  3831.  
  3832.         Format:
  3833.              free text
  3834.  
  3835.         Example:
  3836.  
  3837.              authority:  WCW LAN Committee
  3838.  
  3839.         Status: mandatory, only one line allowed
  3840.  
  3841.    guardian:
  3842.         Mailbox of the guardian of the community.
  3843.  
  3844.         Format:
  3845.              <email-address>
  3846.  
  3847.              The <email-address> should be in RFC822 domain format
  3848.              wherever possible.
  3849.  
  3850.         Example:
  3851.  
  3852.              guardian: wcw-guardian@nikhef.nl
  3853.  
  3854.         Status: mandatory, only one line and email address allowed
  3855.  
  3856.    tech-c:
  3857.         Full name or uniquely assigned NIC-handle of an technical
  3858.         contact person for this community.
  3859.  
  3860.  
  3861.  
  3862.  
  3863.  
  3864.  
  3865.  
  3866. Bates, et al.                                                  [Page 69]
  3867.  
  3868. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  3869.  
  3870.  
  3871.         Format:
  3872.              <firstname> <initials> <lastname> or <nic-handle>
  3873.  
  3874.         Example:
  3875.  
  3876.              tech-c: John E Doe
  3877.              tech-c: JED31
  3878.  
  3879.         Status: mandatory, multiple lines allowed
  3880.  
  3881.    admin-c:
  3882.         Full name or uniquely assigned NIC-handle of an administrative
  3883.         contact person. In many cases this would be the name of the
  3884.         guardian.
  3885.  
  3886.         Format:
  3887.              <firstname> <initials> <lastname> or <nic-handle>
  3888.  
  3889.         Example:
  3890.  
  3891.              admin-c: Joe T Bloggs
  3892.              admin-c: JTB1
  3893.  
  3894.         Status: mandatory, multiple lines allowed
  3895.  
  3896.    remarks:
  3897.         Remarks/comments, to be used only for clarification.
  3898.  
  3899.         Format:
  3900.              free text
  3901.  
  3902.         Example:
  3903.  
  3904.              remarks: Temporary community
  3905.              remarks: Will be removed after split into ASes
  3906.  
  3907.         Status: optional, multiple lines allowed
  3908.  
  3909.    notify:
  3910.         The notify attribute contains an email address to which
  3911.         notifications of changes to this object should be send. See also
  3912.         [11].
  3913.  
  3914.         Format:
  3915.              <email-address>
  3916.  
  3917.              The <email-address> should be in RFC822 domain syntax
  3918.              wherever possible.
  3919.  
  3920.  
  3921.  
  3922. Bates, et al.                                                  [Page 70]
  3923.  
  3924. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  3925.  
  3926.  
  3927.         Example:
  3928.  
  3929.              notify: Marten.Terpstra@ripe.net
  3930.  
  3931.         Status: optional, multiple lines allowed
  3932.  
  3933.    mnt-by:
  3934.         The mnt-by attribute contains a registered maintainer name.  See
  3935.         also [11].
  3936.  
  3937.         Format:
  3938.              <registered maintainer name>
  3939.  
  3940.         Example:
  3941.  
  3942.              mnt-by: RIPE-DBM
  3943.  
  3944.         Status: optional, multiple lines allowed
  3945.  
  3946.    changed:
  3947.         Who changed this object last, and when was this change made.
  3948.  
  3949.         Format:
  3950.              <email-address> YYMMDD
  3951.  
  3952.              <email-address> should be the address of the person who
  3953.              made the last change. YYMMDD denotes the date this change
  3954.              was made.
  3955.  
  3956.         Example:
  3957.  
  3958.              changed: johndoe@terabit-labs.nn 900401
  3959.  
  3960.         Status: mandatory, multiple lines allowed
  3961.  
  3962.    source:
  3963.         Source of the information.
  3964.  
  3965.         This is used to separate information from different sources kept
  3966.         by the same database software. For RIPE database entries the
  3967.         value is fixed to RIPE.
  3968.  
  3969.         Format:
  3970.              RIPE
  3971.         Status: mandatory, only one line allowed
  3972.  
  3973.  
  3974.  
  3975.  
  3976.  
  3977.  
  3978. Bates, et al.                                                  [Page 71]
  3979.  
  3980. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  3981.  
  3982.  
  3983. Appendix C - AS Macros syntax definition.
  3984.  
  3985.    Here is a summary of the tags associated with as-macro object itself
  3986.    and their status. The first column specifies the attribute, the
  3987.    second column whether this attribute is mandatory in the as-macro
  3988.    object, and the third column whether this specific attribute can
  3989.    occur only once per object [single], or more than once [multiple].
  3990.    When specifying multiple lines per attribute, the attribute name must
  3991.    be repeated. See [6] the example for the descr: attribute.
  3992.  
  3993.  
  3994.    as-macro:     [mandatory]          [single]
  3995.    descr:        [mandatory]          [multiple]
  3996.    as-list:      [mandatory]          [multiple]
  3997.    guardian:     [mandatory]          [single]
  3998.    tech-c:       [mandatory]          [multiple]
  3999.    admin-c:      [mandatory]          [multiple]
  4000.    remarks:      [optional]           [multiple]
  4001.    notify:       [optional]           [multiple]
  4002.    mnt-by:       [optional]           [multiple]
  4003.    changed:      [mandatory]          [multiple]
  4004.    source:       [mandatory]          [single]
  4005.  
  4006.  
  4007.    Each attribute has the following syntax:
  4008.  
  4009.  
  4010.    as-macro:
  4011.         The name of a macro containing at least two Autonomous Systems
  4012.         grouped together for ease of administration.
  4013.  
  4014.         Format:
  4015.              AS-<string>
  4016.  
  4017.              The <string> should be in upper case and not contain any
  4018.              special characters.
  4019.  
  4020.         Example:
  4021.  
  4022.              as-macro: AS-EBONE
  4023.  
  4024.         Status: mandatory, only one line allowed
  4025.  
  4026.    descr:
  4027.         A short description of the Autonomous System Macro.
  4028.  
  4029.         Format:
  4030.              free text
  4031.  
  4032.  
  4033.  
  4034. Bates, et al.                                                  [Page 72]
  4035.  
  4036. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  4037.  
  4038.  
  4039.         Example:
  4040.  
  4041.              descr:  Macro for EBONE connected ASes
  4042.  
  4043.         Status: mandatory, multiple lines allowed
  4044.  
  4045.    as-list:
  4046.         The list of ASes or other AS macros that make up this macro. It
  4047.         should be noted that recursive use of AS macros is to be
  4048.         encouraged.
  4049.  
  4050.         Format:
  4051.              <aut-num> <as-macro> ...
  4052.  
  4053.              See Appendix A for <aut-num> definition.
  4054.  
  4055.         Example:
  4056.  
  4057.              as-list: AS786 AS513 AS1104
  4058.              as-list: AS99 AS-NORDUNET
  4059.  
  4060.         Status: mandatory, multiple lines allowed
  4061.  
  4062.    guardian:
  4063.         Mailbox of the guardian of this AS macro.
  4064.  
  4065.         Format:
  4066.              <email-address>
  4067.  
  4068.              The <email-address> should be in RFC822 domain format
  4069.              wherever possible.
  4070.  
  4071.         Example:
  4072.  
  4073.              guardian: as-ebone-guardian@ebone.net
  4074.  
  4075.         Status: mandatory, only one line and e-mail address allowed
  4076.  
  4077.    tech-c:
  4078.         Full name or uniquely assigned NIC-handle of a technical contact
  4079.         person for this macro. This is someone to be contacted for
  4080.         technical problems such as misconfiguration.
  4081.  
  4082.         Format:
  4083.              <firstname> <initials> <lastname> or <nic-handle>
  4084.  
  4085.  
  4086.  
  4087.  
  4088.  
  4089.  
  4090. Bates, et al.                                                  [Page 73]
  4091.  
  4092. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  4093.  
  4094.  
  4095.         Examples:
  4096.  
  4097.              tech-c: John E Doe
  4098.              tech-c: JED31
  4099.  
  4100.         Status: mandatory, multiple lines allowed
  4101.  
  4102.    admin-c:
  4103.         Full name or uniquely assigned NIC-handle of an administrative
  4104.         contact person. In many cases this would be the name of the
  4105.         guardian.
  4106.  
  4107.         Format:
  4108.              <firstname> <initials> <lastname> or <nic-handle>
  4109.  
  4110.         Examples:
  4111.  
  4112.              admin-c: Joe T Bloggs
  4113.              admin-c: JTB1
  4114.  
  4115.         Status: mandatory, multiple lines allowed
  4116.  
  4117.    remarks:
  4118.         Remarks/comments, to be used only for clarification.
  4119.  
  4120.         Format:
  4121.              free text
  4122.  
  4123.         Example:
  4124.  
  4125.              remarks: AS321 will be removed from this Macro shortly
  4126.  
  4127.         Status: optional, multiple lines allowed
  4128.  
  4129.    notify:
  4130.         The notify attribute contains an email address to which
  4131.         notifications of changes to this object should be send. See also
  4132.         [11].
  4133.  
  4134.         Format:
  4135.              <email-address>
  4136.  
  4137.              The <email-address> should be in RFC822 domain syntax
  4138.              wherever possible.
  4139.  
  4140.         Example:
  4141.  
  4142.              notify: Marten.Terpstra@ripe.net
  4143.  
  4144.  
  4145.  
  4146. Bates, et al.                                                  [Page 74]
  4147.  
  4148. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  4149.  
  4150.  
  4151.         Status: optional, multiple lines allowed
  4152.  
  4153.    mnt-by:
  4154.         The mnt-by attribute contains a registered maintainer name.  See
  4155.         also [11].
  4156.  
  4157.         Format:
  4158.              <registered maintainer name>
  4159.  
  4160.         Example:
  4161.  
  4162.              mnt-by: RIPE-DBM
  4163.  
  4164.         Status: optional, multiple lines allowed
  4165.  
  4166.    changed:
  4167.         Who changed this object last, and when was this change made.
  4168.  
  4169.         Format:
  4170.              <email-address> YYMMDD
  4171.  
  4172.              <email-address> should be the address of the person who
  4173.              made the last change. YYMMDD denotes the date this change
  4174.              was made.
  4175.  
  4176.         Example:
  4177.  
  4178.              changed: johndoe@terabit-labs.nn 900401
  4179.  
  4180.         Status: mandatory, multiple lines allowed
  4181.  
  4182.    source:
  4183.         Source of the information.
  4184.  
  4185.         This is used to separate information from different sources kept
  4186.         by the same database software. For RIPE database entries the
  4187.         value is fixed to RIPE.
  4188.  
  4189.         Format:
  4190.              RIPE
  4191.         Status: mandatory, only one line allowed
  4192.  
  4193.  
  4194.  
  4195.  
  4196.  
  4197.  
  4198.  
  4199.  
  4200.  
  4201.  
  4202. Bates, et al.                                                  [Page 75]
  4203.  
  4204. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  4205.  
  4206.  
  4207. Appendix D - Syntax for the "route" object.
  4208.  
  4209.    There is a summary of the tags associated with route object itself
  4210.    and their status. The first column specifies the attribute, the
  4211.    second column whether this attribute is mandatory in the community
  4212.    object, and the third column whether this specific attribute can
  4213.    occur only once per object [single], or more than once [multiple].
  4214.    When specifying multiple lines per attribute, the attribute name must
  4215.    be repeated. See [6] the example for the descr: attribute.
  4216.  
  4217.  
  4218.    route:          [mandatory]          [single]
  4219.    descr:          [mandatory]          [multiple]
  4220.    origin:         [mandatory]          [single]
  4221.    hole:           [optional]           [multiple]
  4222.    withdrawn:      [optional]           [single]
  4223.    comm-list:      [optional]           [multiple]
  4224.    remarks:        [optional]           [multiple]
  4225.    notify:         [optional]           [multiple]
  4226.    mnt-by:         [optional]           [multiple]
  4227.    changed:        [mandatory]          [multiple]
  4228.    source:         [mandatory]          [single]
  4229.  
  4230.  
  4231.    Each attribute has the following syntax:
  4232.  
  4233.  
  4234.    route:
  4235.         Route being announced.
  4236.  
  4237.         Format:
  4238.              Classless representation of a route with the RIPE database
  4239.              known as the "prefix length" representation. See [10] for
  4240.              more details on classless representations.
  4241.  
  4242.         Examples:
  4243.  
  4244.              route: 192.87.45.0/24
  4245.  
  4246.              This represents addressable bits 192.87.45.0 to
  4247.              192.87.45.255.
  4248.  
  4249.              route: 192.1.128.0/17
  4250.  
  4251.              This represents addressable bits 192.1.128.0 to
  4252.              192.1.255.255.
  4253.  
  4254.         Status: mandatory, only one line allowed
  4255.  
  4256.  
  4257.  
  4258. Bates, et al.                                                  [Page 76]
  4259.  
  4260. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  4261.  
  4262.  
  4263.    origin:
  4264.         The autonomous system announcing this route.
  4265.  
  4266.         Format:
  4267.              <aut-num>
  4268.  
  4269.              See Appendix A for <aut-num> syntax.
  4270.  
  4271.         Example:
  4272.  
  4273.              origin: AS1104
  4274.  
  4275.         Status: mandatory, only one line allowed
  4276.  
  4277.    hole:
  4278.         Denote the parts of the address space covered this route object
  4279.         to which the originator does not provide connectivity. These
  4280.         holes may include routes that are being currently routed by
  4281.         another provider (e.g., a customer using that space has moved to
  4282.         a different service provider).  They may also include space that
  4283.         has not yet been assigned to any customer.
  4284.  
  4285.         Format:
  4286.              Classless representation of a route with the RIPE database
  4287.              known as the "prefix length" representation. See [10] for
  4288.              more details on classless representations. It should be
  4289.              noted that this sub-aggregate must be a component of that
  4290.              registered in the route object.
  4291.  
  4292.         Example:
  4293.  
  4294.              hole: 193.0.4.0/24
  4295.  
  4296.         Status: optional, multiple lines allowed
  4297.  
  4298.    withdrawn:
  4299.         Used to denote the day this route has been withdrawn from the
  4300.         Internet routing mesh. This will be usually be used when a less
  4301.         specific aggregate route is now routed the more specific (i.e.
  4302.         this route) is not need anymore.
  4303.  
  4304.         Format:
  4305.              YYMMDD
  4306.  
  4307.              YYMMDD denotes the date this route was withdrawn.
  4308.  
  4309.  
  4310.  
  4311.  
  4312.  
  4313.  
  4314. Bates, et al.                                                  [Page 77]
  4315.  
  4316. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  4317.  
  4318.  
  4319.         Example:
  4320.  
  4321.              withdrawn: 940711
  4322.  
  4323.         Status: optional, one line allowed.
  4324.  
  4325.    comm-list:
  4326.         List of one or more communities this route is part of.
  4327.  
  4328.         Format:
  4329.              <community> <community> ...
  4330.  
  4331.              See Appendix B for <community> definition.
  4332.  
  4333.         Example:
  4334.  
  4335.              comm-list: HEP LEP
  4336.  
  4337.         Status: optional, multiple lines allowed
  4338.  
  4339.    remarks:
  4340.         Remarks/comments, to be used only for clarification.
  4341.  
  4342.         Format:
  4343.              free text
  4344.  
  4345.         Example:
  4346.  
  4347.              remarks: Multihomed AS talking to AS1755 and AS786
  4348.              remarks: Will soon connect to AS1104 also.
  4349.  
  4350.         Status: optional, multiple lines allowed
  4351.  
  4352.    notify:
  4353.         The notify attribute contains an email address to which
  4354.         notifications of changes to this object should be send. See also
  4355.         [11].
  4356.  
  4357.         Format:
  4358.              <email-address>
  4359.  
  4360.              The <email-address> should be in RFC822 domain syntax
  4361.              wherever possible.
  4362.  
  4363.         Example:
  4364.  
  4365.              notify: Marten.Terpstra@ripe.net
  4366.  
  4367.  
  4368.  
  4369.  
  4370. Bates, et al.                                                  [Page 78]
  4371.  
  4372. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  4373.  
  4374.  
  4375.         Status: optional, multiple lines allowed
  4376.  
  4377.    mnt-by:
  4378.         The mnt-by attribute contains a registered maintainer name.  See
  4379.         also [11].
  4380.  
  4381.         Format:
  4382.              <registered maintainer name>
  4383.  
  4384.         Example:
  4385.  
  4386.              mnt-by: RIPE-DBM
  4387.  
  4388.         Status: optional, multiple lines allowed
  4389.  
  4390.    changed:
  4391.         Who changed this object last, and when was this change made.
  4392.  
  4393.         Format:
  4394.              <email-address> YYMMDD
  4395.  
  4396.              <email-address> should be the address of the person who
  4397.              made the last change. YYMMDD denotes the date this change
  4398.              was made.
  4399.  
  4400.         Example:
  4401.  
  4402.              changed: johndoe@terabit-labs.nn 900401
  4403.  
  4404.         Status: mandatory, multiple lines allowed
  4405.  
  4406.    source:
  4407.         Source of the information.
  4408.  
  4409.         This is used to separate information from different sources kept
  4410.         by the same database software. For RIPE database entries the
  4411.         value is fixed to RIPE.
  4412.  
  4413.         Format:
  4414.              RIPE
  4415.         Status: mandatory, only one line allowed
  4416.  
  4417.  
  4418.  
  4419.  
  4420.  
  4421.  
  4422.  
  4423.  
  4424.  
  4425.  
  4426. Bates, et al.                                                  [Page 79]
  4427.  
  4428. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  4429.  
  4430.  
  4431. Appendix E - List of reserved words
  4432.  
  4433.    The following list of words are reserved for use within the
  4434.    attributes of the AS object. The use of these words is solely for the
  4435.    purpose of clarity. All keywords must be lower case.
  4436.  
  4437.  
  4438.            accept
  4439.            announce
  4440.            exclude
  4441.            from
  4442.            to
  4443.            transit
  4444.  
  4445.  
  4446.    Examples of the usage of the reserved words are:
  4447.  
  4448.    as-in: from <neighborAS> accept <route>
  4449.  
  4450.    as-out: to <neighborAS> announce <route>
  4451.  
  4452.    as-exclude: exclude <ASpath> to <destination>
  4453.  
  4454.    as-transit: transit <ASpath> to <destination>
  4455.  
  4456.    default: from <neighborAS> accept <route>
  4457.  
  4458.    default: to <neighborAS> announce <route>
  4459.  
  4460.  
  4461.    Note: that as-transit is an experimental attribute. See section 10.
  4462.  
  4463.  
  4464.  
  4465.  
  4466.  
  4467.  
  4468.  
  4469.  
  4470.  
  4471.  
  4472.  
  4473.  
  4474.  
  4475.  
  4476.  
  4477.  
  4478.  
  4479.  
  4480.  
  4481.  
  4482. Bates, et al.                                                  [Page 80]
  4483.  
  4484. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  4485.  
  4486.  
  4487. Appendix F - Motivations for RIPE-81++
  4488.  
  4489.    This appendix gives motivations for the major changes in this
  4490.    proposal from ripe-81.
  4491.  
  4492.    The main goals of the routing registry rework are:
  4493.  
  4494.  
  4495.      SPLIT
  4496.         Separate the allocation and routing registry functions into
  4497.         different database objects. This will facilitate data management
  4498.         if the Internet registry and routing registry functions are
  4499.         separated (like in other parts of the world). It will also make
  4500.         more clear what is part of the routing registry and who has
  4501.         authority to change allocation vs. routing data.
  4502.  
  4503.  
  4504.       CIDR
  4505.         Add the possibility to specify classless routes in the routing
  4506.         registry.  Classless routes are being used in Internet
  4507.         production now.  Aggregation information in the routing registry
  4508.         is necessary for network layer troubleshooting. It is also
  4509.         necessary because aggregation influences routing policies
  4510.         directly.
  4511.  
  4512.  
  4513.      CALLOC
  4514.         Add the possibility to allocate address space on classless
  4515.         boundaries in the allocation registry. This is a way to preserve
  4516.         address space.
  4517.  
  4518.  
  4519.      CLEAN
  4520.         To clean up some of the obsolete and unused parts of the routing
  4521.         registry.
  4522.  
  4523.  
  4524.    The major changes are now discussed in turn:
  4525.  
  4526.  
  4527.    Introduce Classless Addresses
  4528.  
  4529.    CIDR, CALLOC
  4530.  
  4531.  
  4532.    Introduce route object.
  4533.  
  4534.    SPLIT, CIDR and CALLOC.
  4535.  
  4536.  
  4537.  
  4538. Bates, et al.                                                  [Page 81]
  4539.  
  4540. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  4541.  
  4542.  
  4543.    Delete obsolete attributes from inetnum.
  4544.  
  4545.    CLEAN.
  4546.  
  4547.  
  4548.    Delete RIPE-DB and LOCAL from routing policy expressions.
  4549.  
  4550.    CLEAN
  4551.  
  4552.  
  4553.    Allow multiple ASes to originate the same route
  4554.  
  4555.    Because it is being done. CIDR. Made possible by SPLIT.
  4556.  
  4557.  
  4558.  
  4559.  
  4560.  
  4561.  
  4562.  
  4563.  
  4564.  
  4565.  
  4566.  
  4567.  
  4568.  
  4569.  
  4570.  
  4571.  
  4572.  
  4573.  
  4574.  
  4575.  
  4576.  
  4577.  
  4578.  
  4579.  
  4580.  
  4581.  
  4582.  
  4583.  
  4584.  
  4585.  
  4586.  
  4587.  
  4588.  
  4589.  
  4590.  
  4591.  
  4592.  
  4593.  
  4594. Bates, et al.                                                  [Page 82]
  4595.  
  4596. RFC 1786        Representing IP Routing Policies in a RR      March 1995
  4597.  
  4598.  
  4599. Appendix G - Transition strategy from RIPE-81 to RIPE-81++
  4600.  
  4601. Transition from the routing registry described by ripe-81 to the routing
  4602. registry described in this document is a straightforward process once
  4603. the new registry functions have been implemented in the database
  4604. software and are understood by the most commonly used registry tools.
  4605. The routing related attributes in the classful inetnum objects of ripe-
  4606. 81 can be directly translated into new routing objects. Then these
  4607. attributes can be deleted from the inetnum object making that object if
  4608. conform to the new schema.
  4609.  
  4610. Proposed transition steps:
  4611.  
  4612.  
  4613.   1) Implement classless addresses and new object definition in the
  4614.      database software.
  4615.  
  4616.  
  4617.   2) Make common tools understand the new schema and prefer it if both
  4618.      old and new are present.
  4619.  
  4620.  
  4621.   3) Invite everyone to convert their data to the new format.  This can
  4622.      be encouraged by doing conversions automatically and proposing them
  4623.      to maintainers.
  4624.  
  4625.  
  4626.   4) At a flag day remove all remaining routing information from the
  4627.      inetnum objects.  Before the flag day all usage of obsoleted
  4628.      inetnum attributes has to cease and all other routing registry
  4629.      functions have to be taken over by the new objects and attributes.
  4630.  
  4631.  
  4632.  
  4633.  
  4634.  
  4635.  
  4636.  
  4637.  
  4638.  
  4639.  
  4640.  
  4641.  
  4642.  
  4643.  
  4644.  
  4645.  
  4646.  
  4647.  
  4648.  
  4649.  
  4650. Bates, et al.                                                  [Page 83]
  4651.