Support for multiple transport options for Border Gateway Protocol
By selecting common transport layer protocols and negotiating transport layer protocols between BGP routers, the problems of HOL blocking and protocol negotiation restrictions in BGP sessions are solved, and NLRI-type independent transmission and security protocol support is achieved, which is suitable for a variety of network scenarios.
Patent Information
- Application Number
- CN202111209875.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-10-20
- Filing Date
- 2021-10-18
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2041-10-18
AI Technical Summary
There is a problem of end-of-line blocking (HOL blocking) in existing BGP sessions, which results in delay or congestion of TCP packets of different NLRI types. Conventional BGP deployment cannot be effectively expanded to support negotiation of transport layer protocols and security protocols other than TCP.
By selecting a common transport layer protocol between BGP routers, establishing multiple TCP connections to support independent transmissions of different NLRI types, adopting QUIC or SCTP protocols to independently handle flow and congestion control, eliminating HOL blocking, and negotiating within the BGP session Transport layer protocols to support secure transmission.
It achieves independent transmission of different NLRI types, eliminates HOL blocking, improves network flexibility and scalability, and supports security protocol negotiation in addition to TCP, making it suitable for cloud computing and data center networks.
Smart Images

Figure CN114448859B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates generally to communications, and particularly to supporting multiple transport options for a Border Gateway Protocol. Background Art
[0002] The Border Gateway Protocol (BGP) is a control plane protocol for exchanging routing information, for example, between autonomous systems (AS) through a network. A BGP peer operation between a pair of BGP routers is called a BGP session, and peer BGP routers can be connected directly or through multiple hops in the network. A BGP session between two routers in the same AS is called internal BGP (i-BGP), and a BGP session between routers in different ASs is called external BGP (e-BGP), which is used as an external gateway protocol to exchange routing information among different ASs. BGP sessions run as an application on the Transmission Control Protocol (TCP), which provides lossless, reliable and ordered delivery of BGP messages in a BGP session. Peer BGP routers exchange keep-alive messages at predetermined time intervals to maintain the activity of the session. Many different types of information are transmitted using BGP sessions. For example, a BGP session can exchange thirty or more different types of network layer reachability information (NLRI), including NLRI types used to establish layer 3 communications, layer 2 virtual private networks (VPNs), multi-protocol label switching (MPLS) through label switching paths (LSPs), etc. The distribution and characteristics of packets of different NLRIs transmitted over a BGP session are not necessarily uniform. For example, NLRIs serve different purposes for different applications and require different priority levels within the convergence time. Summary of the invention
[0003] According to a first aspect of the present disclosure, a method is provided, comprising: selecting a common transport layer protocol from a subset of transport layer protocols that are common to a first set of transport layer protocols and a second set of transport layer protocols, the first set of transport layer protocols and the second set of transport layer protocols being supported by a first router and a second router, respectively; and at the first router, establishing a Border Gateway Protocol (BGP) session with the second router through the common transport layer protocol.
[0004] According to a second aspect of the present disclosure, a first router is provided, comprising: a transceiver configured to send a first message, the first message including information identifying a first set of transport layer protocols supported by the first router, and receive a second message, the second message including information identifying a second set of transport layer protocols supported by a second router, wherein a common transport layer protocol is selected from a subset of transport layer protocols that are common to the first set of transport layer protocols and the second set of transport layer protocols; and a processor configured to establish a Border Gateway Protocol (BGP) session with the second router via the common transport layer protocol.
[0005] According to a third aspect of the present disclosure, there is provided an apparatus comprising at least one processor; and at least one memory, comprising computer program code; the at least one memory and the computer program code are configured to, together with the at least one processor, cause the apparatus to at least perform the method of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] By referencing the accompanying drawings, the present disclosure may be better understood, and its numerous features and advantages apparent to those skilled in the art. The use of the same reference numerals in different drawings indicates similar or identical items.
[0007] Figure 1 is a block diagram of a network supporting multiple transport layer protocols for a Border Gateway Protocol (BGP) session, according to some embodiments.
[0008] Figure 2 is a block diagram of a communication system that supports tunneling of data from multiple protocols at multiple layers over a QUIC connection in accordance with some embodiments.
[0009] Figure 3 is a block diagram illustrating a protocol stack including a Transport Layer Security (TLS) protocol stack in accordance with some embodiments.
[0010] Figure 4 is a message header of a Border Gateway Protocol (BGP) User Datagram Protocol (UDP) message according to some embodiments.
[0011] Figure 5 is a BGP Hello message according to some embodiments.
[0012] Figure 6 is a flag field according to some embodiments.
[0013] Figure 7 is a generic type-length-value (TLV) format according to some embodiments.
[0014] Figure 8is a transport option TLV used to communicate the supported transport layer set according to some embodiments.
[0015] Fig. 9 is a general-purpose transmission unit according to some embodiments.
[0016] Fig.10 is an alternative encoding of the Transport Options TLV according to some embodiments.
[0017] Fig.11 is a flow chart of a method of sending a transport options TLV in a BGP Hello message according to some embodiments.
[0018] Fig.12 is a flow chart of a first portion of a method of processing a Transport Options TLV included in a BGP Hello message received from a peer BGP router according to some embodiments.
[0019] Fig.13 is a flow chart of a second portion of a method of processing a Transport Options TLV included in a BGP Hello message received from a peer BGP router according to some embodiments.
[0020] Fig.14 is a block diagram of a network function virtualization (NFV) architecture supporting multiple transport layer protocols for BGP sessions according to some embodiments. DETAILED DESCRIPTION
[0021] End of line (HOL) blocking is a significant problem in conventional BGP deployment. For example, delay or congestion in sending a TCP packet for transmitting one NLRI type will affect the TCP packets of all other NLRI types conveyed by the BGP session, because the BGP session uses a single TCP connection. In addition, a single TCP connection allows low priority NLRI packets to block higher priority NLRI packets, which leads to HOL blocking. This problem can be improved by establishing different BGP sessions through different TCP connections for each NLRI type. However, due to the formation of a large number of BGP sessions and corresponding TCP connections, this method is not scalable. For example, if a router supports 12 NLRI types and has a BGP session with 50 peers, 600 BGP sessions and 600 TCP connections will be required to provide separate BGP sessions and TCP connections for each NLRI type.
[0022] Several protocols are more efficient than TCP. For example, the QUIC protocol (note that QUIC is not an acronym) or the Stream Control Transmission Protocol (SCTP) is used to establish a multiplexed sub-connection (also referred to herein as a stream) set through a single connection between two endpoints to improve the performance of connection-oriented applications. Supporting multiple streams through a single connection allows data conveyed by different streams to arrive at the endpoints of the connection independently, and is therefore independent of packet loss or delays involving other streams. The QUIC and SCTP protocols do not require dependencies between packets in the sorting stream, and these protocols perform error correction and loss recovery independently for different streams. Therefore, the HOL blocking delay experienced in TCP does not occur between different streams, because packets lost or delayed in one stream do not affect packets conveyed in other streams of the connection. Congestion and flow control are applied independently to streams in QUIC or SCTP connections. The endpoints of a QUIC or SCTP connection can initiate a stream in the connection at any time without any handshake to start the stream. The stream can be bidirectional or unidirectional. In addition to reliable delivery and congestion control based on each stream, QUIC integrates a security protocol. The initial QUIC handshake includes the exchange of security keys and supported security protocols, which speeds up the connection establishment process.
[0023] Despite the potential benefits of transport layer protocols other than TCP (such as QUIC and SCTP), conventional BGP sessions cannot be implemented using protocols other than TCP and do not support protocol negotiation to select preferred protocol options from a set of protocols. These constraints also prevent conventional BGP sessions from being transported over secure protocols (such as the Transport Layer Security (TLS) encryption protocol). The above shortcomings of conventional BGP affect many network scenarios, including service provider networks and data centers for cloud computing.
[0024] Many data centers utilize BGP as an underlying routing protocol, supporting flexible policy-based routing between sets of interconnected routers that receive information from clients, distribute the information to appropriate servers, collect information from servers, and forward the collected information back to clients. For example, routers can be deployed in a Clos topology that creates a leaf and spine system of interconnected leaf routers and spine routers. BGP is superior to other link-state routing protocols, such as Open Shortest Path First (OSPF, OSPFv3) and Intermediate System to Intermediate System (IS-IS), because these link-state protocols force all traffic between source and destination to follow the same path. Leaf routers are assigned different autonomous system numbers (ASNs), and a single ASN is assigned to all spine routers in the backbone. BGP sessions are formed between entities associated with each ASN. To form a BGP session, a BGP router performs neighbor discovery to determine neighbor Internet Protocol (IP) addresses and ASs for each BGP neighbor on all links of the BGP router, as well as to generate and distribute information such as the router's AS, the liveness of the neighboring router / trunk, link attributes such as addresses, maximum transmission units (MTUs), etc. A BGP router initiates neighbor discovery by multicasting a "Hello" message on all its links. The Hello message includes the router's ASN and BGP identifier, the retention time of the Hello message, and in some cases, one or more type-length values (TLVs) to represent other parameters. Adjacent BGP routers establish a TCP connection in response to one of the BGP routers receiving a Hello message from another BGP router and establishing an adjacency between the BGP routers. A BGP session is then established on top of the TCP connection.
[0025] The service provider network typically establishes BGP sessions between routers separated by multiple hops. Multi-hop BGP neighbor discovery is performed by the router performing the target neighbor discovery using a unicast target neighbor discovery message. For example, a first router receives a unicast target neighbor discovery message from a second router that is multiple hops away from the first router. The target neighbor discovery message includes an IP address monitored by the first router and transport layer parameters, as well as an ASN and a BGP identifier of the second router. Examples of transport layer parameters include an IP address for a transport layer connection between the first router and the second router.
[0026] The first router evaluates transport layer parameters and, if the parameters are acceptable, forms a target adjacency with the second router. As used herein, the term "acceptable" refers to parameters that are shared or compatible by the operation of the first router and the second router. For example, the second router may send information indicating parameters (such as a timeout interval), and the first router determines that the proposed parameters are acceptable if the proposed parameters are the same as those implemented in the first router or can be used to configure the operation of the first router. In response to the formation of the target adjacency, a transport layer connection is established based on the negotiated transport layer parameters.
[0027] Figures 1 to 14 A technique for selecting a transport layer protocol from a candidate set of transport layer protocols to support a Border Gateway Protocol (BGP) session by exchanging messages during neighbor discovery, the message including information identifying a set of transport layer protocols that can be used as candidate transport layer protocols for routers involved in the BGP session. In some embodiments, a first router sends a first neighbor discovery message (sometimes referred to as a Hello message) including information identifying a first set of transport layer protocols supported by the first router. The message is broadcast or multicast over all links between the first router and other routers in the network (including a second router), or the message is unicast to the second router via a single link / hop or multiple links / hops using a targeted Hello message. The first router receives a second neighbor discovery message from the second router. The second neighbor discovery message includes information identifying a second set of transport layer protocols supported by the second router. The transport layer protocol is selected from a subset of transport layer protocols common to the first set of transport layer protocols and the second set of transport layer protocols. In some embodiments, the first set of transport layer protocols and the second set of transport layer protocols are sorted based on the preferences of the first router and the second router, respectively, and the transport layer protocol with the highest preference in the common transport layer protocol subset is selected for the BGP session. In some embodiments, the first router and the second router are prioritized based on the first and second identifiers, respectively, and the highest priority router selects a transport layer protocol. For example, if the first router has a higher BGP identifier than the second router, the first router selects a transport layer protocol with the highest priority for the first router to support the BGP session. Examples of transport layer protocols that operate as underlying protocols for BGP sessions include, but are not limited to, Transmission Control Protocol (TCP), QUIC, Stream Control Transmission Protocol (SCTP), and Transport Layer Security (TLS) protocols.
[0028] In response to successfully negotiating the transport layer protocol, the router establishes a BGP session through the negotiated transport layer protocol. The configuration of the BGP session is performed based on the parameters of the negotiated transport layer protocol. For example, if the negotiated transport layer protocol is a QUIC protocol or SCTP protocol that supports multiple streams, the router maps different NLRI types, feature sets, or other characteristics to separate streams in a QUIC or SCTP connection. Transport layer packets associated with different NLRI types or feature sets are communicated through different streams based on the mapping. The streams independently apply packet loss / recovery techniques and congestion control to packets. HOL blocking between different NLRI types or feature sets is therefore eliminated. In addition, security protocols can be selectively applied to streams based on the requirements of the NLRI type or feature set communicated by the stream connected by QUIC.
[0029] In some embodiments, BGP is used as an external gateway protocol to exchange routing information between ASs. In other embodiments, BGP is used as a control plane protocol in large-scale data centers to support network virtualization overlays, such as virtual extensible LAN (VXLAN), network virtualization using generic routing encapsulation (NVGRE), and overlays based on MPLS user datagram protocol (MPLSoUDP). BGP can also be used as an underlying routing protocol instead of link state routing protocols such as IS-IS and OSPF in some large-scale data centers. Conventional link state protocols use the shortest path first (SPF) algorithm to calculate paths. Therefore, all services between the source and the destination follow the same SPF path, which does not provide the routing flexibility required in the data center. In a data center, the network topology frequently grows (horizontally expanded) due to the continuous addition of servers and other systems to the network. BGP supports policy-based routing so that services can be routed along different paths based on policies associated with different types of services. This aspect of BGP is a reason for it to be deployed as an underlying routing protocol in a data center. Some embodiments of BGP also support link state and SPF capabilities, such as IS-IS and OSPF.
[0030] Figure 1is a block diagram of a network 100 that supports multiple transport layer protocols for a Border Gateway Protocol (BGP) session in accordance with some embodiments. The network 100 includes a set of routers 101, 102, 103, 104, 105, 106, 107, 108, 109, which are collectively referred to herein as "routers 101-109". Routers 101-109 establish sessions for communication based on BGP, which is a widely used control plane protocol to exchange routing information, especially between autonomous systems (AS). Some embodiments of BGP are extended to support the exchange of network layer reachability information (NLRI), which is used to establish different types of layer 3, layer 2 virtual private networks (VPNs), multiprotocol label switching (MPLS) over label switched paths (LSPs), etc. An extended version of BGP is called multiprotocol BGP (MP-BGP),
[0031] Routers 101 to 109 use information exchanged via BGP to establish BGP peering between a pair of BGP routers. BGP peering is also referred to as a BGP session. Peer BGP routers may be directly connected or may be multiple hops apart. In the illustrated embodiment, the BGP session 110 between router 101 and router 102 is a single-hop session because routers 101 and 102 are directly connected via a link. The BGP session 115 between router 102 and router 108 is a multi-hop session because the BGP session 115 traverses multiple routers, such as router 104 and router 106.
[0032] The BGP sessions 110, 115 run as applications on a transport layer protocol negotiated during the setup of the BGP sessions 110, 115. Examples of transport layer protocols that may be negotiated during the setup of the BGP sessions 110, 115 include, but are not limited to, the QUIC protocol, the Stream Control Transmission Protocol (SCTP), the Transmission Control Protocol (TCP), the Transport Layer Security (TLS), and the like.
[0033] To negotiate a transport layer protocol for BGP session 110, router 101 sends a first message including information identifying a first set of transport layer protocols supported by router 101. The first message may be unicast to router 102 or broadcast / multicast to a set of routers including router 102. In response to receiving the first message, router 102 generates a second message including information identifying a second set of transport layer protocols supported by router 102. The second message is sent to router 101. The common transport layer protocol is selected from a subset of transport layer protocols common to the first set of transport layer protocols and the second set of transport layer protocols. In some embodiments, initiating router 101 selects the common transport layer protocol, and in other embodiments, receiving router 102 selects the common transport layer protocol (e.g., based on a priority or preference associated with routers 101, 102 as discussed herein). Router 101 then establishes BGP session 110 with the second router via the common transport layer protocol. To negotiate a transport layer protocol for BGP session 115, router 101 may send a target message identifying the first set of transport layer protocols to router 108. The transport layer protocol used by BGP session 115 is then selected from the subset of transport layer protocols that are common to the first set of transport layer protocols supported by router 108 and the third set of transport layer protocols.
[0034] After a BGP session is established, peer routers exchange reachability information (as messages) through the BGP session. In some embodiments, the BGP router periodically sends 19-byte keep-alive messages every 60 seconds to maintain the session. A BGP session between two routers in the same autonomous system (AS) is called internal BGP or internal border gateway protocol (i-BGP). A BGP session between routers in different ASs is called external BGP or external border gateway protocol (e-BGP).
[0035] Figure 2 2 is a block diagram of a communication system 200 that supports tunneling of data from multiple protocols at multiple layers over a QUIC connection in accordance with some embodiments. The communication system 200 includes a client 205 and a server 210 that communicate via a network 215. The client 205 and the server 210 have established a QUIC connection 220 that includes streams 221, 222, 223, which are collectively referred to herein as "streams 221-223." Note that the reference numerals associated with the QUIC connection 220 refer to portions of the QUIC connection 220 on both sides of the network 215. Although Figure 2 Three streams 221 to 223 are shown in FIG. Figure 1 Three streams 221-223 are shown in FIG. Figure 2As shown, a QUIC connection 220 may include any number of streams, and streams may be established by either the client 205 or the server 210 at any time during the lifetime of the QUIC connection 220.
[0036] Stream identifiers are assigned to streams by the client 205 and the server 210. In some embodiments, the client 205 and the server 210 observe stream identifier parity. For example, the client 205 uses an even number as a stream identifier and the server 210 uses an odd number as a stream identifier. The parity of the stream identifier allows QUIC to generate a new stream at the client 205 or the server 210 without going through a negotiation between each party to decide the stream identifier. QUIC streams support unidirectional and bidirectional streams, and the directionality of streams 221 to 223 is determined by setting the second to least significant bit in the stream identifier to a value indicating the directionality. For example, a bit value of (0) indicates a unidirectional stream, and a bit value of (1) indicates a bidirectional stream. Bit reservation allows streams 221 to 223 to be started at any time during the life of the connection 220 without negotiation. The client 205 and the server 210 are limited to non-overlapping ranges of stream identifiers, thereby avoiding stream identifier negotiation to avoid conflicts.
[0037] The information in streams 221 to 223 is sent on a per-stream basis (datagram mode) or by aggregating bytes from multiple streams 221 to 223 into packets. If a QUIC packet sent over QUIC connection 220 is dropped, each stream in the packet is blocked. For example, if a packet sent over QUIC connection 220 includes bytes from stream 221 and stream 222, then if the packet is dropped, both stream 221 and stream 222 are blocked. The QUIC implementations in client 205 and server 210 determine the number of streams sent per packet to limit the occurrence of blocking. The QUIC implementation weighs the flexibility of sending data for multiple streams in a single packet with the possibility of multiple streams being blocked when dropped packets occur. Once the endpoint of a stream has finished sending data, the endpoint sets the FIN bit on its last stream frame or a frame after the last stream frame to indicate that the stream is closed in the direction of the endpoint, resulting in a half-closed stream. Once both endpoints have sent stream frames with the FIN bit set, the stream is completely closed.
[0038] In some embodiments, one or more of the streams 221 to 223 of the QUIC connection 220 are used to support the BGP session 230. To establish the BGP session 230, the client 205 and the server 210 negotiate a version of the QUIC protocol that supports the QUIC connection 220 between the client 205 and the server 210. The client generates an encrypted handshake (e.g., in accordance with TLS) and embeds an extension in the encrypted handshake. The extension includes a structure indicating a set of protocols supported by the client 205 at a set of layers. As discussed herein, the client 205 and the server 210 negotiate parameters for the BGP session 230, and then establish the BGP session 230 based on the negotiated parameters.
[0039] Figure 3 300 is a block diagram illustrating a protocol stack 300 including a TLS protocol stack 305 according to some embodiments. In the illustrated embodiment, the TLS protocol stack 305 is implemented in the context of an open system interconnection (OSI) model 310 including multiple protocol layers. The application layer 315 is closest to the end user and can interact directly with the software application or program. The application layer performs functions including identifying communication partners, determining resource availability, and synchronizing communications. The presentation layer 316 establishes contexts between application layer entities and provides mappings between syntax and semantics used by different entities in some cases. The session layer 317 establishes, manages, and terminates connections between local and remote applications. In the illustrated embodiment, the TLS protocol stack 305 is implemented as part of the session layer 317. The transport layer 318 provides functions to support the delivery of variable length data sequences from a source to a destination host while maintaining quality of service (QoS), reliability, and air control. The network layer 319 provides the function of delivering variable length data sequences between nodes connected to different networks. The data link layer 320 supports node-to-node data delivery between directly connected nodes. Some embodiments of the data link layer 320 are subdivided into a media access control (MAC) layer and a logical link control (LLC) layer. The physical layer 321 is responsible for transmitting and receiving unstructured raw data between devices and physical transmission media, for example, by converting digital bits into electrical, radio or optical signals.
[0040] TLS is a cryptographic protocol designed to provide communication security over computer networks. TLS is widely used in applications such as web browsing, email, instant messaging, Voice over IP (VoIP), etc. Websites can use TLS to protect communications between their servers and web browsers. TLS falls into the session layer in the seven-layer OSI model of computer networks. However, in some embodiments, TLS is considered a transport layer protocol for BGP sessions. TLS operates on reliable transport layer protocols such as TCP and is also suitable for running on datagram protocols such as UDP. The Datagram Transport Layer Security (DTLS) protocol is based on the TLS protocol and provides similar security guarantees while retaining the datagram delivery model.
[0041] The TLS protocol is designed to provide three services to applications running on top of the TLS protocol: encryption, authentication, and data integrity.
[0042] Encryption: A mechanism for obscuring what is sent from one computer to another.
[0043] Authentication: A mechanism for verifying the validity of provided identity information.
[0044] Integrity: Mechanisms to detect message tampering and forgery.
[0045] TLS protocol stack 305 includes protocol stack 325, which includes application layer 326, alert layer 327, layer for changing cipher specification 328, and handshake layer 329. TLS protocol stack 305 also includes record 330, which includes information or parameters indicating segmentation 331, compression 332, integrity 333, authentication 334, and encryption 335. The values of the parameters in record 330 are used to create messages for transmission according to the TLS protocol.
[0046] As discussed herein, BGP neighbor discovery techniques are utilized to support multiple transport protocol options for BGP sessions. In some embodiments, a BGP router directly discovers BGP neighbors connected by a link or hop using a UDP-based Hello message, which is broadcast / multicast on each link connected to the BGP router. In the message, the UDP destination port is encoded as "179", and the destination address in the IP header of the message is encoded as the "all routers on this subnet" group multicast address (e.g., using the destination address 224.0.0.2 in the case of IPv4 and FF02::2 in the case of IPv6). The IP source address is set to the interface address from which the message is sent. In some embodiments, a BGP router uses a target BGP Hello message to discover BGP neighbors that are multiple hops away. The BGP router listens for Hello messages from potential neighbors outside of multiple routing hops on a local IP address. For each potential multi-hop neighbor, the BGP router is configured to unicast periodic Hello messages to the IP address in the neighbor that is listening for Hello messages. These Hello messages are called "target Hellos". The Target Hello message carries various parameters for the negotiation of the multi-hop BGP session.
[0047] The BGP Hello message includes the following:
[0048] The ASN and BGP identifier of the sending router.
[0049] • The hold time specifies the time that a receiving BGP router maintains its record of a Hello from a sending BGP router without receiving another Hello.
[0050] (Optional) TLV (Type-Length-Value format) describes various other parameters, such as TCP connection specific parameters, etc.
[0051] After receiving a Hello message from a neighbor, the BGP router negotiates the parameters included in the message. If the parameters are acceptable, a target adjacency is formed with the neighbor. After the target adjacency is formed, a BGP connection is established through a negotiated transport layer protocol (such as TCP, QUIC, TLS, or TCP). Therefore, neighbor discovery can be performed regardless of whether the neighbor is directly connected or multiple hops apart. In order to support transport layer protocol negotiation, the Hello message sent from the BGP router includes an additional parameter called "transport options". The transport option parameter includes a list of reliable transport protocols sorted by their preference. An example of a transport option parameter that can be included in a Hello message is {quic, sctp, tls, tcp}, which indicates that QUIC is the first preference, SCTP is the second preference, TLS is the third preference, and TCP is the fourth / last preference.
[0052] When a first BGP router receives a Hello message including a transport options field from a second BGP router, a transport protocol is selected based on the highest common preference relative to the transport preferences of the BGP router with a lower BGP identifier. For example, if the first BGP router has a lower BGP identifier than the second BGP router, and the first BGP router sends the transport options {quic, sctp, tls, tcp} in its Hello. In response to sending the Hello message, the first BGP router receives a Hello message including the transport options field {sctp, quic, tls, tcp} from the second BGP router. In this case, all listed protocols are common between the first BGP router and the second BGP router. Since the first BGP router has a lower BGP identifier, the common preference set for its tunnel preferences is: {quic, sctp, tls, tcp}. Therefore, both BGP routers select the highest preferred protocol (QUIC) as the transport protocol for the BGP session. For another example, assume that a first BGP router sends transport options {quic, sctp, tls, tcp} in its Hello message and receives {sctp, tcp} in a Hello message from a second BGP router. The first BGP router has a lower BGP identifier, so the set of common preferences for its transport options is {sctp, tcp}. In this case, SCTP is selected by both BGP routers for establishing a BGP session.
[0053] In response to successfully negotiating a transport layer protocol, a connection is established between the BGP routers via the negotiated transport layer protocol. The transport protocol indicates BGP as a user application. If the transport protocol supports multiple streams (e.g., QUIC or SCTP), each BGP router independently maps the NLRI type or feature set to an independent stream in the connection (in this case, the stream is unidirectional). This eliminates HOLs between NLRI types or competing features. Some embodiments of the technology disclosed herein are backward compatible with previous BGP implementations. In a pair of peer BGP routers, if the first BGP router has implemented negotiation of the transport layer protocol and includes a transport option in a Hello message sent from the first BGP router, but the second BGP router does not include a transport option in a Hello message sent from the second BGP router, the transport protocol negotiation mechanism falls back to using TCP as the transport protocol.
[0054] Figure 4is a message header 400 of a BGP User Datagram Protocol (UDP) message according to some embodiments. The BGP neighbor discovery mechanism operates using UDP messages with a destination port of "179" and uses the format shown in the message header 400. The fields in the message header 400 are:
[0055] Version: This 1-octet unsigned integer indicates the protocol version number of the message. The current BGP version number is 4.
[0056] Type: The type of BGP message. Hello messages are assigned type 1.
[0057] Message Length: This 2-octet unsigned integer specifies the length in octets of the entire BGP UDP message including the header 400.
[0058] AS number: The AS number of the sender of the UDP message.
[0059] BGP Identifier: The BGP identifier of the sender of the UDP message.
[0060] BGP UDP messages can be sent using IPv4 or IPv6 depending on the address.
[0061] Figure 5 is a BGP Hello message 500 according to some embodiments. The first 12-octets of the BGP Hello message 500 are Figure 4 The remaining fields in the BGP Hello message 500 are:
[0062] Adjacency Hold Time: The adjacency hold time in seconds for a Hello. The adjacency hold time specifies how long the receiving BGP neighboring router should keep the adjacency state for it without receiving another Hello. A value of 0 means that the receiving BGP peer should immediately mark the adjacency with the sender as going down.
[0063] Flags: The currently defined bits are as follows Figure 6 As shown, other bits should be cleared by the sender and ignored by the receiver.
[0064] Reserved: This field shall be set to 0 by the sender and ignored by the receiver.
[0065] TLVs: This field contains one or more TLVs (Type-Length-Value).
[0066] Figure 6 is a flag field 600 according to some embodiments. The flag field 600 is used in Figure 5In some embodiments of the BGP hello message 500 shown. In the illustrated embodiment, the flag field 600 includes an S bit indicating that this is a state change Hello message when SET and a normal periodic Hello message when CLEAR. Based on the setting of the S flag, there are two variations of the Hello message:
[0067] 1) State Change Hello Messages: These Hello messages include TLVs that convey the state and parameters of local interfaces and adjacencies to other routers on the link. They are generated only in response to some parameter changes at the adjacency state or interface level.
[0068] 2) Periodic Hello messages: These are normal periodic Hello messages, do not include TLVs, and are used to maintain adjacency on a link during steady-state conditions.
[0069] Figure 7 is a general type-length-value (TLV) format 700 according to some embodiments. The TLV format 700 is used in Figure 5 In some embodiments of the BGP hello message 500 are shown.
[0070] The fields in TLV format 700 are:
[0071] • Type - a 16-octet field indicating the type of the TLV.
[0072] Length - A 16-octet field indicating the length of the Value field in octets.
[0073] Value: A value field that depends on the type of the variable size. The Hello message carries one or more of the following 6 TLVs.
[0074] Accepted ANS List TLV
[0075] The optional TLV is used to signal an unordered list of AS numbers from which the BGP router will accept BGP sessions. If not signaled, it indicates that the router will accept BGP peers from any ASN that it is a neighbor of. Indicating a list of ASNs helps prevent the neighbor discovery process from getting stuck in a one-way state where one side keeps trying to establish an adjacency while the other side does not accept because the ASN is incorrect.
[0076] Peer Address TLV
[0077] The Peer Address TLV is used to indicate to the neighbor the address used to establish the BGP TCP session. Along with the peer address, the router can specify the routing types (AFI / SAFI(s)) that it supports. When the AFI / SAFI value is specified as 0 / 0, then it indicates that the neighbor can attempt negotiation for any AFI / SAFI. Multiple instances of this TLV can be included in the Hello message, one for each peer address (e.g., IPv4 and IPv6 or multiple IPv4 addresses for different AFI / SAFI sessions).
[0078] Local Prefix TLV
[0079] In specific cases, the BGP neighbor discovery mechanism requires a BGP router to program routes in its local routing table for prefixes belonging to its neighboring routers. This is the case when a BGP TCP peer is established between loopback addresses on neighboring routers. This requires that the routers can reach each other's loopback addresses before the TCP session is brought up. The Local Prefix TLV is an optional TLV that enables a BGP router to explicitly send its local prefix to its neighbors for the purpose of establishing such a local route entry that points to the underlying link over which the signal is being sent.
[0080] Link Attribute TLV
[0081] The Link Attributes TLV is a mandatory TLV in the State Change Hello message that signals the link attributes of the interface on the local router to the neighbor. One and only one instance of this TLV must be included in the State Change Hello message. State Change Hello messages that do not contain this TLV must be discarded and logged with the same error. This TLV enables a BGP router to learn the IP addresses of all its neighbors on a particular link and their link identifiers.
[0082] Adjacent TLV
[0083] Neighbor TLV used by a BGP router to indicate the state of its Hello adjacency with its neighbor(s) on a particular link. A neighbor is identified by its AS number and BGP identifier. A router must include a Neighbor TLV for each neighbor it discovers on that link, regardless of its state.
[0084] Encryption Authentication TLV
[0085] The Crypto-Authentication TLV is an optional TLV that is used as part of the authentication mechanism for BGP Hello messages by preventing spoofing attacks.
[0086] Figure 8is a transport option TLV 800 used to communicate the supported transport layer protocol set according to some embodiments. The transport option TLV 800 is used Figure 5 The BGP hello messages 500 and Figure 7 In some embodiments of the TLV format 700, the fields in the TLV are as follows:
[0087] Type: This field is set to the type value assigned for the Transport Options TLV. In some embodiments, the value 0x8 is assigned to the Type field. Other embodiments assign other available values. If the invention is standardized, this value is reserved in IANA.
[0088] Length: This field encodes the total length of the transport elements 1 to n.
[0089] Transport Element 1 to Transport Element n: A list of transport protocols ordered by preference. There can be several types of transport elements, each type carrying information about a specific transport protocol type. The encoding of the transport element depends on the type. A transport element is encoded as a 1-octet field specifying the element type, and a variable length field for the element value that depends on the type.
[0090] Fig. 9 is a universal transmission element 900 according to some embodiments. The universal transmission element 900 is Figure 8 The transport option TLV 800 shown is used in some embodiments. The generic transport element 900 is encoded as:
[0091] Transfer element type value
[0092] Type Name Generic 0x01 The value portion has a 1-octet protocol type field. This field indicates a specific transport protocol type. In some embodiments of the generic transport element 900, the following types are used:
[0093] 1=TCP, 2=SCTP, 3=QUIC, 4=TLS.
[0094] Some transport protocol types may be assigned values in the range 4 - 255. Note that the selection of the IP address used to establish a transport connection for the protocol type encoded in the generic transport element 900 follows conventional BGP neighbor discovery, as follows:
[0095] If the Peer Address TLV is present, the address(es) to be used for the sending BGP router when opening the TCP connection for the BGP session are encoded. If this optional TLV is not present, the source address in the IP header of the BGP Hello message should be used.
[0096] The same rules as above apply to Generic Transport Element 900. If the Peer Address TLV is present, it specifies the address(es) to be used for the sending BGP router when opening a connection(s) for the protocol type in Generic Transport Element 900. If the Peer Address TLV is not present, the source address of the IP header of the Hello message should be used for the protocol type in the connection Generic Transport Element 900.
[0097] Fig.10 is an alternative encoding of the transport option TLV 1000 according to some embodiments. The alternative encoding of the transport option TLV 1000 is used in Figure 5 The BGP hello message 500 and Figure 7 Some embodiments of the TLV format 700 are shown. In the embodiment shown, the value field is a bit string and each transport protocol type is assigned a specific bit position.
[0098] The preference is implicit in the bit position assigned to the protocol in the transport options TLV 1000. For example, the higher the bit position, the higher the preference. In this case, the BGP router does not have the flexibility to change the relative priority of the protocols. For example, TCP is assigned bit position 1, SCTP is assigned bit position 2, TLS is assigned bit position 3, and QUIC is assigned bit position 4. Therefore, QUIC always gets a higher preference relative to TLS, SCTP, and TCP protocols. The alternative encoding of the transport options TLV 1000 is simple and compact. The receiving BGP router performs a bitwise AND operation between the received transport bit string and the transport bit string contained in the Hello message sent by the BGP router. The receiving BGP router then selects the highest bit position as the transport protocol for the BGP session.
[0099] Fig.11 is a flow chart of a method 1100 for sending a transport option TLV in a Hello message according to some embodiments. Figure 1 The communication system 100 and Figure 2 The communication system 200 is shown implemented in a router such as a router in some embodiments.
[0100] Method 1100 begins at block 1101. A router receives input 1105 including a Hello message and a list of transport layer protocols supported by the router. In some embodiments, the list of transport protocols is sorted based on a preference or priority of the transport protocols. For example, the list of transport protocols can be displayed in descending order of preference. If applicable, the Hello message is encoded with other TLVs or parameters for the BGP neighbor discovery procedure.
[0101] At block 1110, the router creates an empty transport options TLV. At block 1115, the router obtains the first entry in the ordered list of transport protocols. At block 1120, the router encodes the protocol type into the value of the transport options TLV. The value is encoded as a transport unit, a transport bit string, or another format.
[0102] At decision block 1125, the router determines whether there are additional entries in the ordered list of transport protocol options. If so, the method 1100 proceeds to block 1130. If there are no additional entries in the ordered list, the method 1100 proceeds to block 1135.
[0103] At block 1130 , the router obtains the next entry in the ordered list of transport protocols. Method 1100 then flows to block 1120 .
[0104] At block 1135, the router pushes the transport options TLV onto the hello message. At block 1140, the router sends the Hello message over the appropriate link or to the target peer BGP router. The method 1100 ends at block 1145.
[0105] During the Hello message exchange between a pair of peer BGP routers, if the first BGP router includes a transport option TLV in the Hello message sent to the second BGP router, and then the first BGP router receives a Hello message from the second BGP router that does not include the transport option TLV, the first BGP router continues under the assumption that the second BGP router intends to use TCP as the transport protocol. Therefore, the first BGP router operates as if the second BGP router sends the transport preference TLV in its Hello message. Therefore, the implementation of the transport option TLV is backward compatible with the conventional BGP implementation. However, if the first BGP router does not encode TCP as an option in the transport option TLV, there is no common choice between adjacent BGP routers, and therefore peering is not possible. In this case, if the second BGP router initiates a TCP connection request to the first BGP router, the first BGP router should reject the connection. If the BGP session has already started running over the selected transport protocol and the BGP router detects that the peer BGP router has modified the transport option in its Hello message, the BGP router re-evaluates the preference. If the selected protocol after the re-evaluation is different from the currently active protocol, neither BGP router should take any action. The new protocol is adopted after the current BGP session is terminated due to an operational failure or by administrative action.
[0106] Fig.12is a flow chart of a first portion of a method 1200 for processing a transport options TLV included in a Hello message received from a peer BGP router according to some embodiments. The method 1200 may be used in a manner such as Figure 1 The communication system 100 and Figure 2 The method 1200 is implemented in a router such as a router in some embodiments of the communication system 200 shown. Figure 5 Some embodiments of the Hello message 500 are implemented as shown. However, other embodiments of the method 1200 are implemented using alternative encodings as discussed herein.
[0107] Method 1200 begins at block 1201. A router receives input 1205 including a Hello message received from a peer BGP router.
[0108] At decision block 1210, the router determines whether a Transport Options TLV is included in the received Hello message. If so, the method 1200 flows to block 1215. Otherwise, the method 1200 flows to block 1220.
[0109] At block 1215 , the router extracts the received ordered list of transport protocols from the received transport options TLV. The method 1200 then flows to decision block 1225 .
[0110] At block 1220 , the router creates a pseudo list representing an ordered list of transport protocols that includes only TCP as a transport protocol option since no transport options TLV was received from a peer BGP router. The method then flows to decision block 1225 .
[0111] At decision block 1225, the router determines whether the Transport Options TLV is included in the Hello message sent by the router. If so, the method 1200 flows to block 1230. Otherwise, the method 1200 flows to block 1235.
[0112] At block 1230, the router extracts the ordered list of transport protocols sent from the transport options TLV in the Hello message sent to the peer BGP router. Method 1200 then flows to node 1, which is connected to Fig.13 Node 1 in .
[0113] At block 1235, the router creates a pseudo list representing an ordered list of transport protocols that includes only TCP as a transport protocol option because no transport option TLVs are sent to peer BGP routers. Method 1200 then flows to node 1, which is connected to Fig.13 Node 1 in .
[0114] Fig.13is a flow chart of a second portion of a method 1200 for processing a transport options TLV included in a Hello message received from a peer BGP router according to some embodiments. Decision block 1305 connects to the peer BGP router via node 1. Fig.12 Blocks 1230, 1235 in.
[0115] At decision block 1305, the router determines whether the BGP identifier of the router is lower than the BGP identifier of the peer BGP router. The BGP identifier is encoded in the hello messages exchanged by the router and the peer BGP router. If so, the ordered list of transport protocols sent by the router is the basis for the negotiation of the transport protocol used by the BGP session, and the method 1300 flows to block 1310. If the BGP identifier of the router is higher than the BGP identifier of the peer GPU router, the ordered list of transport protocols received from the peer BGP router is the basis for the negotiation of the transport protocol, and the method 1300 flows to 1315.
[0116] At block 1310, the router calculates the common transport options by identifying the transport protocols that are not common to the ordered list of transmission and reception of the transport protocols. The router then resets the protocols that are not common to the ordered list of transmission and reception of the transport protocols in the sent ordered list. The method 1300 then flows to decision block 1320.
[0117] At block 1315, the router calculates the common transport options by identifying the transport protocols that are not common to the ordered list of transmission and reception of the transport protocols. The router then resets the protocols that are not common to the ordered list of transmission and reception of the transport protocols in the sent ordered list. The method 1300 then flows to decision block 1320.
[0118] At decision block 1320, the router determines whether there is no transport protocol that the ordered list sent by the router shares with the ordered list received from the peer BGP router. If there is at least one transport protocol that is common to the sent / received ordered list, the method 1300 flows to block 1325. Otherwise, the method flows to block 1330.
[0119] At block 1325, the router selects a common transport protocol with the highest preference or priority as the transport protocol for the BGP session between the router and the peer BGP router. For example, the router may select the first protocol in the ordered list of protocols shared by the sent and received ordered lists. The method 1300 then flows to block 1335 and the method 1300 ends.
[0120] At block 1330, the router determines that connectivity is not possible because there is no common transport protocol between the router and the peer BGP router, i.e., the transport option set indicated in the sent ordered list is mutually exclusive with the transport option set indicated in the received ordered list. Method 1300 then flows to block 1335 and method 1300 ends.
[0121] Fig.14 is a block diagram of a network function virtualization (NFV) architecture 1400 supporting multiple transport layer protocols for a BGP session according to some embodiments. The NFV architecture 1400 is used to implement Figure 1 The network 100 and Figure 2 Some embodiments of the Clean Acacia system 200 are shown. The NFV architecture 1400 includes hardware resources 1401, including computing hardware 1402, storage hardware 1403, and network hardware 1404. The computing hardware 1402 is implemented using one or more processors, the storage hardware 1403 is implemented using one or more memories, and the network hardware 1404 is implemented using one or more transceivers, transmitters, receivers, interfaces, etc.
[0122] The virtualization layer 1405 provides an abstract representation of the hardware resources 1401. The abstract representation supported by the virtualization layer 1405 can be managed using a virtualization infrastructure manager 1410, which is part of the NFV management and orchestration (M&O) module 1415. Some embodiments of the manager 1410 are configured to collect and forward performance measurements and events that may occur in the NFV architecture 1400. For example, performance measurements can be forwarded to an orchestrator (ORCH) 1417 implemented in the NFV M&O 1415. The hardware resources 1401 and the virtualization layer 1405 can be used to implement virtual resources 1420, including virtual computing resources 1421, virtual memory resources 1422, and virtual network resources 1423.
[0123] The virtual network functions (VNF1, VNF2, VNF3) run on the NFV infrastructure (e.g., hardware resources 1801) and utilize virtual resources 1420. For example, the virtual network functions (VNF1, VNF2, VNF3) can be implemented using virtual machines supported by virtual computing resources 1421, virtual storage supported by virtual storage resources 1422, or virtual networks supported by virtual network resources 1423. The element management system (EMS1, EMS2, EMS3) is responsible for managing the virtual network functions (VNF1, VNF2, VNF3). For example, the element management system (EMS1, EMS2, EMS3) can be responsible for fault and performance management. In some embodiments, each virtual network function (VNF1, VNF2, VNF3) is controlled by a corresponding VNF manager 1425, which exchanges information with the manager 1410 or the orchestrator 1417 and coordinates actions.
[0124] The NFV architecture 1400 may include an operations support system (OSS) / business support system (BSS) 1430. The OSS / BSS 1430 handles network management, including fault management using OSS functions. The OSS / BSS 1430 also handles customer and product management using BSS functions. Some embodiments of the NFV architecture 1400 use a descriptor set 1435 for storing descriptions of services, virtual network functions, or infrastructure supported by the NFV architecture 1400. The information in the descriptor 1435 can be updated or modified by the NFV M&O 1415.
[0125] The NFV architecture 1400 implements network slicing that provides control plane functions or user plane functions. A network slice is a complete logical network that provides communication services and network functions that may vary from slice to slice. A user device can simultaneously access multiple slices that support multiple service flows between the core network and the user device. Some embodiments of the user device provide network slice selection assistance information (NSSAI) parameters to the network to assist in selecting a slice instance for the user device. A single NSSAI can result in the selection of multiple slices. The NFV architecture 1800 can also use device capabilities, subscription information, and local operator policies to make selections. NSSAI is a collection of smaller components, and each single NSSAI (S-NSSAI) includes a slice service type (SST) and a possible slice differentiator (SD). The slice service type refers to the expected network behavior in terms of features and services (e.g., specifically for broadband or large-scale IoT), while the slice differentiator can help select among multiple network slice instances of the same type, such as isolating traffic associated with different services into different slices.
[0126] In some embodiments, certain aspects of the above-described techniques may be implemented by one or more processors of a processing system that executes software. The software includes one or more executable instruction sets stored or otherwise tangibly embodied on a non-transient computer-readable storage medium. The software may include instructions and specific data that, when executed by one or more processors, manipulate the one or more processors to perform one or more aspects of the above-described techniques. Non-transient computer-readable storage media may include, for example, magnetic or optical disk storage devices, solid-state storage devices (such as flash memory, cache, random access memory (RAM) or other non-volatile storage devices), and other devices. The executable instructions stored on a non-transient computer-readable storage medium may be source code, assembly language code, object code, or other instruction formats that are interpreted or otherwise executable by one or more processors.
[0127] Computer-readable storage media may include any storage medium or combination of storage media that can be accessed by a computer system during use to provide instructions and / or data to the computer system. Such storage media may include, but are not limited to, optical media (e.g., compact discs (CDs), digital versatile discs (DVDs), Blu-ray discs), magnetic media (e.g., floppy disks, magnetic tapes, or magnetic hard drives), volatile memory (e.g., random access memory (RAM) or cache), non-volatile memory (e.g., read-only memory (ROM) or flash memory), or micro-electromechanical system (MEMS)-based storage media. Computer-readable storage media may be embedded in a computing system (e.g., system RAM or ROM), fixedly attached to a computing system (e.g., a magnetic hard drive), removably attached to a computing system (e.g., an optical disk or a universal serial bus (USB)-based flash memory), or coupled to a computer system via a wired or wireless network (e.g., a network accessible storage (NAS)).
[0128] As used herein, the term "circuitry" may refer to one or more or all of the following:
[0129] a) hardware circuit implementation only (such as implementation and only analog and / or digital circuitry) and
[0130] b) a combination of hardware circuitry and software such as (where applicable):
[0131] i. A combination of analog and / or (multiple) digital hardware circuits and software / firmware and
[0132] ii. any part of a hardware processor(s) with software (including digital signal processor(s), software and memory(s) working together to enable a device (such as a mobile phone or server) to perform various functions) and
[0133] c) Hardware circuits and / or processor(s), such as microprocessor(s) or portions of microprocessor(s), require software (e.g., firmware) for operation, but the software may not be present when not required for operation.
[0134] The definition of circuitry applies to all uses of the term in this application, including in any claims. As another example, as used in this application, the term circuitry also covers an implementation of only a hardware circuit or processor (or multiple processors) or a portion of a hardware circuit or processor and its (or their) accompanying software and / or firmware. The term circuitry also covers, for example and if applicable to a particular claim element, a baseband integrated circuit or processor integrated circuit for a mobile device or a similar integrated circuit in a server, cellular network device, or other computing or network device.
[0135] Note that not all of the above activities or elements in the general description are required, a portion of a specific activity or device may not be required, and one or more further activities or included elements may be performed in addition to those described. Further, the order in which the activities are listed is not necessarily the order in which they are performed. In addition, these concepts have been described with reference to specific embodiments. However, it is understood by those of ordinary skill in the art that various modifications and changes may be made without departing from the scope of the present disclosure as set forth in the following claims. Therefore, the description and drawings are to be regarded as illustrative rather than restrictive, and all such modifications are intended to be included within the scope of the present disclosure.
[0136] Benefits, other advantages and solutions to problems have been described above with respect to specific embodiments. However, benefits, advantages, solutions to problems, and any features that may cause any benefit, advantage, or solution to appear or become more apparent should not be interpreted as (multiple) key, required or essential features of any or all of the claims. In addition, the specific embodiments disclosed above are merely illustrative, as the disclosed subject matter may be modified and practiced in different but equivalent ways, which is obvious to those skilled in the art who benefit from the teachings herein. Except as described in the claims below, it is not intended to limit the details of the construction or design shown in this article. It is therefore apparent that the specific embodiments disclosed above may be changed or modified and all such changes are considered to be within the scope of the disclosed subject matter. Therefore, the protection sought herein is as set forth in the claims below.
Claims
1. A communication method, include: The subset of transport layer protocols supported by the first router and the second router is determined based on: sending a first message from the first router, the first message including information identifying a first set of transport layer protocols supported by the first router; as well as receiving, at the first router, a second message including information identifying a second set of transport layer protocols supported by the second router; Selecting a common transport layer protocol supported by the first router and the second router from the subset of transport layer protocols, wherein selecting the common transport layer protocol comprises: sorting the first set of transport layer protocols and the second set of transport layer protocols accordingly based on preferences of the first router and the second router; as well as At the first router, a Border Gateway Protocol (BGP) session is established with the second router through the common transport layer protocol. 2 . The method of claim 1 , wherein sending the first message comprises unicasting the first message to the second router. 3 . The method of claim 2 , wherein unicasting the first message comprises unicasting the first message to the second router via a single hop or multiple hops using targeted messaging. 4 . The method of claim 1 , wherein sending the first message comprises broadcasting or multicasting the second message to a plurality of routers including the second router over a plurality of links.
5. The method of claim 1, wherein the common transport layer protocol is selected include: A highest preferred transport layer protocol is selected among the subset of the transport layer protocols that are common to the first set of transport layer protocols and the second set of transport layer protocols.
6. The method of claim 5, wherein the first router and the second router are prioritized accordingly based on the first identifier and the second identifier.
7. The method of claim 6, wherein the common transport layer protocol is selected include: The common transport layer protocol is selected at a highest priority router among the first router and the second router.
8. The method of claim 7, wherein the first router is the highest priority router, and wherein the first router selects the highest preferred transport layer protocol in the subset of transport layer protocols as the common transport layer protocol.
9. The method according to any one of claims 1 to 8, wherein establishing the BGP session comprises configuring the BGP session based on parameters of the common transport layer protocol.
10. The method of claim 9, wherein configuring the BGP session include: The flow of the common transport layer protocol is mapped to at least one of: a network layer reachability information (NLRI) type, a characteristic, or a feature of information conveyed by the BGP session.
11. A first router, include: a transceiver configured to send a first message including information identifying a first set of transport layer protocols supported by the first router, and the transceiver configured to receive a second message including information identifying a second set of transport layer protocols supported by a second router; as well as A processor, the processor being configured to: determining a subset of transport layer protocols supported by the first router and the second router based on the information included in the first message and the information included in the second message; selecting a common transport layer protocol supported by the first router and the second router from the subset of transport layer protocols, wherein the first set of transport layer protocols and the second set of transport layer protocols are ordered accordingly based on preferences of the first router and the second router; A Border Gateway Protocol (BGP) session is established with the second router via the common transport layer protocol.
12. The first router of claim 11, wherein the transceiver is configured to unicast the first message to the second router.
13. The first router of claim 12, wherein the transceiver is configured to unicast the first message to the second router via a single hop or multiple hops in a targeted message.
14. The first router of claim 11, wherein the transceiver is configured to broadcast or multicast the second message to a plurality of routers including the second router over a plurality of links.
15. The first router of claim 11, wherein the highest preferred transport layer protocol is selected from a subset of the transport layer protocols that are common to the first set of transport layer protocols and the second set of transport layer protocols.
16. The first router of claim 15, wherein the first router and the second router are prioritized respectively based on the first identifier and the second identifier.
17. The first router of claim 16, wherein the common transport layer protocol is selected by a highest priority router among the first router and the second router.
18. The first router of claim 17, wherein the first router is the highest priority router, and wherein the processor selects the highest preferred transport layer protocol in the subset of transport layer protocols as the common transport layer protocol.
19. The first router according to any one of claims 11 to 18, wherein the processor configures the BGP session based on parameters of the common transport layer protocol.
20. The first router of claim 19, wherein the processor maps the flow of the BGP session to at least one of: a network layer reachability information (NLRI) type, a characteristic, or a feature of information conveyed by the BGP session.
21. A device for communication, include: at least one processor; as well as at least one memory including computer program code; The at least one memory and the computer program code are configured to, together with the at least one processor, cause the apparatus to at least perform the following operations: The subset of transport layer protocols supported by the first router and the second router is determined based on: sending a first message from the first router, the first message including information identifying a first set of transport layer protocols supported by the first router; as well as receiving, at the first router, a second message including information identifying a second set of transport layer protocols supported by the second router; Selecting a common transport layer protocol supported by the first router and the second router from the subset of transport layer protocols, wherein selecting the common transport layer protocol comprises: sorting the first set of transport layer protocols and the second set of transport layer protocols accordingly based on preferences of the first router and the second router; as well as A Border Gateway Protocol (BGP) session is established with the second router via the common transport layer protocol.
22. The apparatus of claim 21, wherein the at least one memory and the computer program code are configured such that the at least one processor together causes the apparatus to at least perform at least one of the following: sending a first message including information identifying a first set of transport layer protocols supported by the first router; and A second message is received, the second message including information identifying a second set of transport layer protocols supported by the second router.
