Internet-Draft | Anycast Property advertisement | June 2025 |
Chen, et al. | Expires 4 December 2025 | [Page] |
Both SR-MPLS prefix-SID and IPv4 prefix may be configured as anycast and as such the same value can be advertised by multiple routers. It is useful for other routers to know that the advertisement is for an anycast identifier.¶
Each prefix is advertised along with an 8-bit field of capabilities,by using the flag flield in the OSPFv2 Extended Prefix TLV, but the definition of anycast flag to identify the prefix as anycast has not yet been defined.¶
This document defines a new flag in the OSPFv2 Extended Prefix TLV Flags to advertise the anycast property.¶
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 https://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 4 December 2025.¶
Copyright (c) 2025 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 (https://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 Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
Both SR-MPLS prefix-SID and IPv4 prefix may be configured as anycast and as such the same value can be advertised by multiple routers. It is useful for other routers to know that the advertisement is for an anycast identifier.¶
[RFC7684] defines OSPFv2 Opaque LSAs based on Type-Length-Value (TLV) tuples that can be used to associate additional attributes with prefixes or links. The OSPFv2 Extended Prefix TLV that is contained in the OSPFv2 Extended Prefix Opaque LSA is used to advertise additional attributes associated with the prefix, but the definition of anycast flag to identify the prefix as anycast has not yet been defined.¶
This document updates [RFC7684], by defining a new flag in the OSPFv2 Extended Prefix TLV Flags [RFC7684] to advertise the anycast property.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "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.¶
In the absence of the N-flag, the node specific prefixes need to be identified from the anycast prefixs. A prefix that is advertised by a single node and without an AC-flag MUST be considered node specific.¶
The prefix may be configured as anycast and it is useful for other routers to know that the advertisement is for an anycast identifier.¶
[RFC7684] defines one-octet field contains flags applicable to the prefix, and it has been defines the below flags:¶
Value | Description | Reference |
---|---|---|
0x80 | A | [RFC7684] |
0x40 | N | [RFC7684] |
0x02 | E-Flag | [RFC9089] |
A new bit in OSPFv2 Extended Prefix TLV Flags[RFC7684] is defined to advertise the anycast property:¶
Value: TBD¶
Description:Anycast (AC-Flag)¶
When the prefix is configured as anycast, the AC-Flag SHOULD be set. Otherwise, this flag MUST be clear.¶
The AC-Flag and the N-bit MUST NOT both be set. If both N-flag and AC-Flag are set, the receiving routers MUST ignore the N-flag.¶
The AC-Flag MUST be preserved when re-advertising the prefix across areas.¶
The same prefix can be advertised by multiple routers, and that if at least one of them sets the AC-Flag in its advertisement, the prefix SHOULD be considered as anycast.¶
A prefix that is advertised by a single node and without an AC-flag MUST be considered node specific prefix.¶
[RFC9085] defines the Prefix Attribute Flags TLV carries IPv4 prefix attribute flags information, and the Flags field of this TLV is interpreted according to OSPFv2 [RFC7684]. This section extends the interpretation of the Flags field of the Prefix Attribute Flags TLV.¶
Flags:¶
TBD.¶
This document requests allocation for the following registry.¶
This document adds a new bit in the "OSPFv2 Extended Prefix TLV Flags"registry:¶
AC-Flag (Anycast Flag).¶
Procedures and protocol extensions defined in this document do not affect the OSPFv2 security model. See the "Security Considerations"section of [RFC7684] for a discussion of OSPFv2 security.¶