Internet-Draft | BGP MTU Attribute | December 2024 |
Misell, et al. | Expires 15 June 2025 | [Page] |
This note is to be removed before publishing as an RFC.¶
Source for this draft and an issue tracker can be found at https://github.com/TheEnbyperor/draft-blahaj-idr-bgp-mtu.¶
A ford of BIRD implementing this draft can be found at https://github.com/theenbyperor/bird.¶
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 15 June 2025.¶
Copyright (c) 2024 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.¶
To help achieve the highest possible MTU end-to-end, this document extends BGP-4 to aid network operators in this effort by signalling the MTU for each route.¶
A new BGP capability declaring the link MTU is specified in Section 4.¶
An optional, non-transitive attribute, called "Path MTU", is specified in Section 5. It allows network administrators to use Path MTU in their route selection. The main focus/applicability is the Internet (IPv4 and IPv6 unicast route advertisements).¶
The BGP attribute defined in this document can be attached to prefixes from Multiprotocol BGP IPv4/IPv6 Labeled Unicast ([RFC4760]). Usage of this BGP attribute for other Address Family Identifier (AFI) / Subsequent Address Family Identifier (SAFI) combinations is not defined herein but may be specified in future specifications.¶
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 [BCP14] (RFC2119,RFC8174) when, and only when, they appear in all capitals, as shown here.¶
The terms "MTU" in this document signifies the Maximum Transmission Unit for a given BGP address family.¶
All MTU values are measured in bytes at layer 3.¶
Each BGP speaker is configured with the following values:¶
It is also assumed that the FIB used by the BGP speaker supports per-destination MTU values, such as is the case for the Linux kernel.¶
A BGP speaker advertises the link MTU capability as follows:¶
When establishing a session with a peer, a BGP speaker does the following:¶
When announcing a route:¶
Otherwise, if the route already has a path MTU attribute¶
If the route does not already have a path MTU attribute, add a new attribute with¶
When installing a route into the FIB:¶
A new BGP capability with ID XXX is defined with the following contents:¶
0 1 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |fl.| Link MTU | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+¶
A new optional, non-transitive BGP attribute with ID XXX is defined with the following contents:¶
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Origin ASN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |fl.| Path MTU | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+¶
Per this document, IANA is requested to add one new entry to the "Capability Codes" registry defined in [RFC5492]. This entry is defined below:¶
Value | Description | Reference |
---|---|---|
TBD | Link MTU | This document |
Per this document, IANA is requested to add one new entry to the "BGP Path Attributes" registry defined in [RFC4271]. This entry is defined below:¶
Value | Code | Reference |
---|---|---|
TBD | Path MTU | This document |
With thanks to the RIPE NCC for hosting their Green Tech Hackathon 2024 that prompted this document.¶