Network Working Group                                       P. Mohapatra
Internet-Draft                                                  K. Patel
Intended status: Standards Track                           Cisco Systems
Expires: June 11, 2013                                        J. Scudder
                                                        Juniper Networks
                                                                 D. Ward
                                                           Cisco Systems
                                                                 R. Bush
                                         Internet Initiative Japan, Inc.
                                                        December 8, 2012


         BGP Prefix Origin Validation State Extended Community
             draft-ietf-sidr-origin-validation-signaling-02

Abstract

   As part of the origination AS validation process, it can be desirable
   to automatically consider the validation state of routes in the BGP
   decision process.  The purpose of this document is to provide a
   specification for doing so.  The document also defines a new BGP
   opaque extended community to carry the validation state inside an
   autonomous system to influence the decision process of the IBGP
   speakers.

Status of this Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on June 11, 2013.

Copyright Notice

   Copyright (c) 2012 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal



Mohapatra, et al.         Expires June 11, 2013                 [Page 1]


Internet-Draft       BGP Origin Validation Signaling       December 2012


   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.


Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . . . 3
     1.1.  Requirements Language . . . . . . . . . . . . . . . . . . . 3
   2.  Origin Validation State Extended Community  . . . . . . . . . . 3
   3.  Changes to the BGP Decision Process . . . . . . . . . . . . . . 4
     3.1.  Policy Control  . . . . . . . . . . . . . . . . . . . . . . 4
   4.  Deployment Considerations . . . . . . . . . . . . . . . . . . . 4
   5.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . . . 4
   6.  IANA Considerations . . . . . . . . . . . . . . . . . . . . . . 4
   7.  Security Considerations . . . . . . . . . . . . . . . . . . . . 5
   8.  References  . . . . . . . . . . . . . . . . . . . . . . . . . . 5
     8.1.  Normative References  . . . . . . . . . . . . . . . . . . . 5
     8.2.  Informational References  . . . . . . . . . . . . . . . . . 5
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . . . 5


























Mohapatra, et al.         Expires June 11, 2013                 [Page 2]


Internet-Draft       BGP Origin Validation Signaling       December 2012


1.  Introduction

   As part of the origination AS validation process, it can be desirable
   to automatically consider the validation state of routes in the BGP
   decision process.  The purpose of this document is to provide a
   specification for doing so.  The document defines a new BGP opaque
   extended community to carry the validation state inside an autonomous
   system to influence the decision process of the IBGP speakers.

1.1.  Requirements Language

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in RFC 2119 [RFC2119].


2.  Origin Validation State Extended Community

   The origin validation state extended community is an opaque extended
   community [RFC4360] with the following encoding:


      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |       0x43    |      TBD      |             Reserved          |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |                    Reserved                   |validationstate|
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


   The value of the high-order octet of the extended Type Field is 0x43,
   which indicates it is non-transitive.  The value of the low-order
   octet of the extended type field for this community is TBD.  The last
   octet of the extended community encodes the route's validation
   state([I-D.ietf-sidr-pfx-validate].  It can assume the following
   values:

                  +-------+-----------------------------+
                  | Value | Meaning                     |
                  +-------+-----------------------------+
                  |   0   | Lookup result = "valid"     |
                  |   1   | Lookup result = "not found" |
                  |   2   | Lookup result = "invalid"   |
                  +-------+-----------------------------+

   If the router is configured to support the extensions defined in this
   draft, it SHOULD attach the origin validation state extended



Mohapatra, et al.         Expires June 11, 2013                 [Page 3]


Internet-Draft       BGP Origin Validation Signaling       December 2012


   community to BGP UPDATE messages sent to IBGP peers by mapping the
   computed validation state in the last octet of the extended
   community.  Similarly on the receiving IBGP speakers, the validation
   state of an IBGP route SHOULD be derived directly from the last octet
   of the extended community, if present.  Note that routers do not
   perform prefix origin validation (compute the validation state as
   defined in [I-D.ietf-sidr-pfx-validate]) for IBGP learnt routes.


3.  Changes to the BGP Decision Process

   If a BGP router supports prefix origin validation and is configured
   for the extensions defined in this document, the validation step MUST
   be performed prior to any of the steps defined in the decision
   process of [RFC4271].  The validation step is stated as follows:

      When comparing a pair of routes for a BGP destination, the route
      with the lowest "validation state" value is preferred.

   In all other respects, the decision process remains unchanged.

3.1.  Policy Control

   It MUST be possible to enable or disable the validation step as
   defined in Section 3 through configuration.  The default SHOULD be
   for the validation step to be disabled.


4.  Deployment Considerations

   In deployment scenarios where not all the speakers in an autonomous
   system are upgraded to support the extensions defined in this
   document, it is necessary to define policies that match on the origin
   validation extended community and set another BGP attribute
   [I-D.ietf-sidr-pfx-validate] that influences the best path selection
   the same way as what would have been enabled by an implementation of
   this extension.


5.  Acknowledgements

   The authors would like to acknowledge the valuable review and
   suggestions from Wesley George and Roque Gagliano on this document.


6.  IANA Considerations

   IANA shall assign a new value from the "BGP Opaque Extended



Mohapatra, et al.         Expires June 11, 2013                 [Page 4]


Internet-Draft       BGP Origin Validation Signaling       December 2012


   Community" type registry from the non-transitive range, to be called
   "BGP Origin Validation State Extended Community".


7.  Security Considerations

   This document introduces no new security concerns beyond what is
   described in [I-D.ietf-sidr-pfx-validate].


8.  References

8.1.  Normative References

   [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", BCP 14, RFC 2119, March 1997.

   [RFC4271]  Rekhter, Y., Li, T., and S. Hares, "A Border Gateway
              Protocol 4 (BGP-4)", RFC 4271, January 2006.

   [RFC4360]  Sangli, S., Tappan, D., and Y. Rekhter, "BGP Extended
              Communities Attribute", RFC 4360, February 2006.

8.2.  Informational References

   [I-D.ietf-sidr-pfx-validate]
              Mohapatra, P., Scudder, J., Ward, D., Bush, R., and R.
              Austein, "BGP Prefix Origin Validation",
              draft-ietf-sidr-pfx-validate-10 (work in progress),
              October 2012.

   [RFC6480]  Lepinski, M. and S. Kent, "An Infrastructure to Support
              Secure Internet Routing", RFC 6480, February 2012.

   [RFC6482]  Lepinski, M., Kent, S., and D. Kong, "A Profile for Route
              Origin Authorizations (ROAs)", RFC 6482, February 2012.


Authors' Addresses

   Pradosh Mohapatra
   Cisco Systems
   170 W. Tasman Drive
   San Jose, CA  95134
   USA

   Email: pmohapat@cisco.com




Mohapatra, et al.         Expires June 11, 2013                 [Page 5]


Internet-Draft       BGP Origin Validation Signaling       December 2012


   Keyur Patel
   Cisco Systems
   170 W. Tasman Drive
   San Jose, CA  95134
   USA

   Email: keyupate@cisco.com


   John Scudder
   Juniper Networks
   1194 N. Mathilda Ave
   Sunnyvale, CA  94089
   USA

   Email: jgs@juniper.net


   David Ward
   Cisco Systems
   170 W. Tasman Drive
   San Jose, CA  95134
   USA

   Email: dward@cisco.com


   Randy Bush
   Internet Initiative Japan, Inc.
   5147 Crystal Springs
   Bainbridge Island, Washington  98110
   USA

   Email: randy@psg.com

















Mohapatra, et al.         Expires June 11, 2013                 [Page 6]