Resource Public Key Infrastructure (RPKI) Origin Validation for BGP Export
RFC 8893

Document Type RFC - Proposed Standard (September 2020; No errata)
Updates RFC 6811
Authors Randy Bush  , Rüdiger Volk  , Jakob Heitz 
Last updated 2020-09-25
Replaces draft-ymbk-sidrops-ov-egress
Stream IETF
Formats plain text html xml pdf htmlized bibtex
Stream WG state Submitted to IESG for Publication
Document shepherd Keyur Patel
Shepherd write-up Show (last changed 2020-03-01)
IESG IESG state RFC 8893 (Proposed Standard)
Consensus Boilerplate Yes
Telechat date
Responsible AD Warren Kumari
Send notices to,,,
IANA IANA review state IANA OK - No Actions Needed
IANA action state No IANA Actions

Internet Engineering Task Force (IETF)                           R. Bush
Request for Comments: 8893            Internet Initiative Japan & Arrcus
Updates: 6811                                                    R. Volk
Category: Standards Track                                               
ISSN: 2070-1721                                                 J. Heitz
                                                          September 2020

  Resource Public Key Infrastructure (RPKI) Origin Validation for BGP


   A BGP speaker may perform Resource Public Key Infrastructure (RPKI)
   origin validation not only on routes received from BGP neighbors and
   routes that are redistributed from other routing protocols, but also
   on routes it sends to BGP neighbors.  For egress policy, it is
   important that the classification use the 'effective origin AS' of
   the processed route, which may specifically be altered by the
   commonly available knobs, such as removing private ASes,
   confederation handling, and other modifications of the origin AS.
   This document updates RFC 6811.

Status of This Memo

   This is an Internet Standards Track document.

   This document is a product of the Internet Engineering Task Force
   (IETF).  It represents the consensus of the IETF community.  It has
   received public review and has been approved for publication by the
   Internet Engineering Steering Group (IESG).  Further information on
   Internet Standards is available in Section 2 of RFC 7841.

   Information about the current status of this document, any errata,
   and how to provide feedback on it may be obtained at

Copyright Notice

   Copyright (c) 2020 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
   Provisions Relating to IETF Documents
   ( 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
   2.  Suggested Reading
   3.  Egress Processing
   4.  Operational Considerations
   5.  Security Considerations
   6.  IANA Considerations
   7.  References
     7.1.  Normative References
     7.2.  Informative References
   Authors' Addresses

1.  Introduction

   This document does not change the protocol or semantics of [RFC6811],
   BGP prefix origin validation.  It highlights an important use case of
   origin validation in external BGP (eBGP) egress policies, explaining
   specifics of correct implementation in this context.

   The term 'effective origin AS' as used in this document refers to the
   Route Origin Autonomous System Number (ASN) [RFC6811] of the UPDATE
   to be sent to neighboring BGP speakers.

   The effective origin AS of a BGP UPDATE is decided by configuration
   and outbound policy of the BGP speaker.  A validating BGP speaker
   MUST apply Route Origin Validation policy semantics (see Section 2 of
   [RFC6811] and Section 4 of [RFC8481]) after applying any egress
   configuration and policy.

   This effective origin AS of the announcement might be affected by
   removal of private ASes, confederation [RFC5065], migration
   [RFC7705], etc.  Any AS_PATH modifications resulting in effective
   origin AS change MUST be taken into account.

   This document updates [RFC6811] by clarifying that implementations
   must use the effective origin AS to determine the Origin Validation
   state when applying egress policy.

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "OPTIONAL" in this document are to be interpreted as described in
   BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all
   capitals, as shown here.

2.  Suggested Reading

   It is assumed that the reader understands BGP [RFC4271], the RPKI
   [RFC6480], Route Origin Authorizations (ROAs) [RFC6482], RPKI-based
   Prefix Validation [RFC6811], and Origin Validation Clarifications

3.  Egress Processing

   BGP implementations supporting RPKI-based origin validation MUST
   provide the same policy configuration primitives for decisions based
   on the validation state available for use in ingress, redistribution,
   and egress policies.  When applied to egress policy, validation state
   MUST be determined using the effective origin AS of the route as it
   will (or would) be announced to the peer.  The effective origin AS
Show full document text