BGP Multipath

BGP Multipath

BGP Multipath

In the realm of networking, BGP (Border Gateway Protocol) plays a crucial role in determining the most efficient paths for data traffic. One fascinating aspect of BGP is the concept of multipath routing, which allows for the simultaneous use of multiple paths to reach a destination. In this blog post, we will delve into the intricacies of BGP multipath and explore its benefits, considerations, and implementation strategies.

BGP multipath refers to the capability of a BGP router to install multiple paths to the same destination in its routing table simultaneously. Unlike traditional BGP, which selects a single best path based on factors like AS path length and MED attributes, multipath considers all available paths and distributes traffic across them. This can significantly enhance network performance, reliability, and load balancing.

Load Balancing: By utilizing multiple paths, BGP multipath enables efficient distribution of traffic across diverse network links, preventing congestion and optimizing resource utilization. Redundancy and Resilience: With multiple paths, BGP multipath provides built-in redundancy, ensuring that if one path fails, traffic seamlessly switches to an alternate path, maintaining seamless connectivity.

Improved Performance: Multipath routing allows for improved performance by leveraging the available bandwidth across multiple paths, resulting in faster data transmission and reduced latency.

Convergence Time: Multipath routing may introduce longer convergence times compared to traditional BGP due to the increased complexity of path selection and decision-making processes. This should be considered when implementing multipath in time-sensitive environments.

Path Selection Criteria: It is crucial to define clear path selection criteria to ensure optimal traffic distribution. Factors like path cost, link bandwidth, and network policies should be taken into account.

Compatibility: Not all routers and network devices support BGP multipath. Therefore, compatibility checks must be performed to ensure seamless integration within the existing network infrastructure.

Configuration: Enabling BGP multipath typically involves configuring relevant parameters on BGP routers, including maximum-paths and load-sharing options.

Testing and Validation: Before deploying multipath in a production environment, thorough testing and validation should be conducted to ensure its effectiveness and compatibility with existing network components.

Conclusion: BGP multipath offers a compelling solution for optimizing routing efficiency, load balancing, and network resilience. By understanding its benefits and considerations, network administrators can leverage multipath routing to enhance performance, reliability, and scalability in their networks. As networks continue to evolve and demand for efficient data transmission grows, BGP multipath emerges as a valuable tool in the hands of network engineers.

Highlights: BGP Multipath

BGP Multipath, also known as Border Gateway Protocol Multipath, is a routing feature that allows traffic load balancing across multiple paths in a network. This feature is handy in scenarios with various links or paths between two routers.

Traditionally, BGP selects only the best path for forwarding traffic based on various factors, such as the shortest AS path length or the lowest cost. However, in some situations, utilizing multiple paths simultaneously to distribute traffic more evenly and efficiently may be desirable.

With BGP Multipath, routers can install and use multiple paths for the same destination prefix, increasing the available bandwidth and improving overall network performance. This enables the routers to consider multiple paths as equally valid forwarding traffic options.

Solution for BGP Multipath

BGP multipath can also be used to share loads over multiple links. A separate BGP session is configured for each link between the two routers. BGP sessions are directly associated with interface addresses. As a result, each router receives a path for each link. There is only one difference between them: the neighbor address from which the path was received. Up to the maximum-paths value configured, the router can install all paths via eBGP multipath.

The enterprise border router and the provider router must be configured with the multipath feature. The provider may not desire BGP multipath since it can cause significant memory requirements, so eBGP multi-hop may be required. This is because the command to enable this feature is not specific to a particular peer or group of peers but to all BGP prefixes on the router.

In comparison to vanilla BGP, BGP multipath offers the following advantages:

  • Multiple links can be used to load-balance traffic. 

  • Failures in BGP sessions or links have a reduced impact. 

Having multiple paths installed ensures continuous forwarding and no packet loss in case of next-hop failures. 

In the event of a failure while multiple paths are active, the router must only remove the failed forwarding next hop rather than waiting for the RIB best path selection, FIB programming, and ASIC programming processes to complete. Only the failed path is affected, and all traffic to that destination is unaffected. 

There is an approximately half-effect on the traffic when two multipath links are in use. Approximately one-quarter of a system is affected by four links, and so on.

The Role of BGP

Border Gateway Protocol (BGP) was developed in 1989 to connect networks and provide interdomain routing. The goal was to create a scalable, non-chatty protocol. BGP grew in response to the overwhelming growth of the Internet, and its use cases now vary from Multicast, DDoS protection, Layer 2 services, BGP SDN, and the Routing Control Platform variations. A lot of its success comes down to the fact that it is a very well-known protocol.

BGP Additional Features

People know how to use BGP, and additional features are easily added, making it very extensible and easy to use. It’s much easier to troubleshoot a BGP problem than a complex IGP problem. If you want to add something new, you can create an attribute, and simple traffic engineering can be done using predefined BGP communities. Many tools are available within the protocol. Recently, there have been infrastructure improvements such as keepalive and update generation enhancements, parallel route refresh, adaptive update cache size, and multipath signaling. 

For pre-information, you may find the following helpful

  1. Application Aware Networking
  2. Port 179



BGP Add Path.

Key BGP Multipath Discussion Points:


  • Introduction to BGP Multipath and how it can be used.

  • Discussion on BGP Route Reflectors (RR) and end-to-end visibility.

  • Discussion on Hot Potato Routing.

  • A final note on BGP Add Path.

Back to basics with the BGP Multipath

At a fundamental level, BGP multipath allows you to install multiple internal and external BGP paths to the forwarding table. Selecting multiple paths enables BGP to load-balance traffic across multiple links. This allows multiple BGP routes to simultaneously reach the same destination.  The principal benefits of BGP multipath compared to normal BGP are:

  • The capacity to load-balance traffic across multiple links. 
  • Decreased impact in the event of a BGP session or link failure. 

By distributing traffic across multiple paths, BGP Multipath can help alleviate congestion on certain links, prevent bottlenecks, and optimize network utilization. It can also improve resiliency and reliability by providing redundancy in case of link failures. BGP Multipath can automatically reroute traffic to the remaining available paths in a link failure, ensuring uninterrupted connectivity.

It is important to note that BGP Multipath is not enabled by default and must be explicitly configured on the routers participating in the BGP peering. Additionally, not all BGP implementations support Multipath, so verifying compatibility with the specific router and software version is essential.

There are a few considerations to keep in mind when implementing BGP Multipath. First, it is crucial to ensure that all links involved in the multipath configuration have comparable bandwidth, delay, and reliability characteristics. This helps to prevent imbalances in traffic distribution and ensures that each path is utilized optimally.

BGP Multipath
Diagram: BGP Multipath

Second, it is essential to configure BGP Multipath to comply with the network’s policy requirements. This includes setting appropriate criteria for load balancing, such as equal-cost or unequal-cost multipath, and defining the maximum number of paths allowed for a given destination prefix.

Lastly, monitoring and troubleshooting tools should be utilized to verify the correct functioning of BGP Multipath and proactively identify any issues that may arise. Regular monitoring helps ensure traffic is distributed as intended and the desired network performance goals are met.

BGP Multipath:

Best Path only & Route-Reflector clusters

BGP Multipath enables BGP to send more than just the “best” path. It is helpful in design where hot potato routing is broken. When you install a route reflector (RR), you break hot potato routing and potentially create route oscillation. Route oscillations may occur in certain network topologies combined with specific MED configurations.

To eliminate MED-induced route oscillations, a route reflector must advertise multiple paths. A network with a full mesh of iBGP speakers has consistent and equivalent routing information. It is free from MED-induced route oscillations and other routing inconsistencies.

We need to find an approach where the RR advertises all the available paths for an address prefix or the prefixes that may cause MED-induced route oscillations. As a general design best practice to achieve consistent routing, the IGP metrics for links within a route reflector cluster are smaller than the IGP metrics for the links between the route reflector clusters.

The hot potato routing scheme

All transit providers want to protect the hot potato routing scheme for revenue reasons. Traffic consumes bandwidth, and bandwidth costs money. Therefore, providers wish to traffic to leave their networks as soon as possible, aka hot potato routing. The problem is that when a route reflector receives two updates, it only sends one.

This is done by design for scalability reasons. BGP may also withdraw paths with lower policies (MED, Local Preference), resulting in only one NLRI announcement (diagram above). It was relevant, but you might want to send multiple routes for many reasons.

For example, faster convergence requires a primary and backup path and Multipath TCP use. Another issue is that the route reflector selects the best path based on its IGP and the route reflector’s shortest exit point. Route reflector deployments will choose the egress router closest to the RR, not its clients. It selects the best path based on the IGP metric computed from its IGP database and announces it to clients.

This is not optimum for egress traffic selection. As a result, traffic may travel longer paths to exit an AS. To combat this, most service providers create a full mesh of route reflectors in all regions, resulting in a route reflector in every PoP. However, an RR in every region is expensive if you have an extensive transit network.

BGP Multipath

There are several ways to get an RR or an ASBR to advertise more than one path:

  1. Different RD per prefix
  2. BGP Best External
  3. BGP Add Path
  4. BGP Optimal Route Reflection (ORR) 

The recommended method for MPLS-VPN is to assign a different RD (VPN identifier) per prefix. If you are running Layer 3 VPN, you can assign different route distinguishers (RD) to the same prefix, resulting in different IP addresses NLRI. Then, the RR sees two different prefixes and will forward both.

RR does the best path on two different VPNv4/v6 NLRI. With BGP Best External, you tell the router not to withdraw an update, even if it’s not the best one. It provides the network with an external backup route.

BGP Add path

The BGP Add path feature is a new BGP capability. It is an extension added to a BGP update where you can signal multiple paths to neighbors that must be negotiated at startup with all BGP neighbors. It’s the best method if you have a good memory and all nodes support it. All the information will be in the control plane, and you can still do hot potato routing. There are many add-path flavors, including Add-n-path, Add-all-path, and Add-all-multipath+backup.

BGP Optimal Route Reflection enables a virtual IGP location-style design. It builds multiple RIBs and computes the best path for each RIB. It would help if you influenced your IGP to mimic what it would be like in other network locations. It essentially overwrites the default IGP location placement of the route reflector, enabling clients to direct traffic to their closest exit point in hot potato routing deployments.

BGP Multipath is a powerful feature that enhances BGP-based networks’ scalability, performance, and resiliency. Enabling traffic load balancing across multiple paths helps optimize network utilization, prevent congestion, and improve overall reliability. However, careful planning, configuration, and monitoring are essential to ensure its successful implementation.

 

Summary: BGP Multipath

BGP multipath plays a crucial role in optimizing network performance and ensuring efficient routing. In this blog post, we explored the concept of BGP multipath, its benefits, and how it can be effectively implemented. So fasten your seatbelts and get ready to explore the fascinating world of BGP multipath!

Understanding BGP Multipath

BGP multipath, or Multipath Load Sharing (MLS), is a feature that enables multiple paths in Border Gateway Protocol (BGP) routing. Traditionally, BGP selects a single best path based on attributes such as AS path length, origin type, and MED values. However, with BGP multipath, multiple paths with equal attributes can be utilized simultaneously, leading to enhanced load balancing and improved network efficiency.

Benefits of BGP Multipath

One of the primary advantages of BGP multipath is improved network resiliency. By utilizing multiple paths, BGP multipath allows for automatic rerouting in case of link failures or congestion. This redundancy ensures uninterrupted connectivity and minimizes downtime.

Moreover, BGP multipath enables efficient resource utilization. Balancing traffic across multiple paths optimizes bandwidth utilization and prevents congestion on any single link. This results in smoother network performance, reduced latency, and improved overall user experience.

Implementation Considerations

Implementing BGP multipath requires careful planning and consideration. Network administrators must ensure that their routers and networking devices support BGP multipath functionality. Additionally, appropriate configuration and tuning are essential to maximize its benefits.

Understanding the impact of BGP multipath on routing policies is also crucial. Since BGP multipath selects multiple paths, defining policies that influence the selection process is essential. Local preference, MED values, and community attributes can affect the path selection and achieve desired routing outcomes.

Troubleshooting and Best Practices

While BGP multipath offers several advantages, it can also introduce complexity to network operations. Proper monitoring and troubleshooting mechanisms are essential to identify and resolve any issues that may arise. Regular audits and analysis of BGP multipath configurations can help maintain optimal performance.

To ensure smooth operation, best practices such as maintaining consistent path attributes across multiple paths, monitoring link utilization, and keeping routing tables up to date are recommended. Regularly reviewing and fine-tuning BGP multipath configurations can help maintain an efficient and reliable network infrastructure.

In conclusion, BGP multipath is a powerful tool that enhances network resiliency, optimizes resource utilization, and improves overall network performance. Utilizing multiple paths enables load balancing and automatic rerouting, ensuring uninterrupted connectivity. However, proper planning, configuration, and monitoring are critical to harness its benefits effectively. So, embrace the BGP multipath world and unlock your network’s full potential!

Routing Control Platform

BGP-based Routing Control Platform (RCP)

Routing Control Platfrom

In today's fast-paced digital world, efficient network management is crucial for businesses and organizations. One technology that has revolutionized routing and network control is the Routing Control Platform (RCP). In this blog post, we will delve into the world of RCPs, exploring their features, benefits, and their potential impact on network infrastructure.

A Routing Control Platform is a software-based solution that offers centralized control and management of network routing. It acts as the brain behind the routing decisions, providing a unified platform for configuring, monitoring, and optimizing routing policies. By abstracting the underlying network infrastructure, RCPs bring simplicity and agility to network management.

1. Policy-based Routing: RCPs allow administrators to define routing policies based on various parameters such as network conditions, traffic patterns, and security requirements. This granular control enables efficient traffic engineering and enhances network performance.

2. Centralized Management: With RCPs, network administrators gain a centralized view and control of routing across multiple network devices. This simplifies configuration management, reduces complexity, and streamlines operations.

3. Dynamic Routing Adaptability: RCPs enable dynamic routing adaptability, which means they can automatically adjust routing decisions based on real-time network conditions. This ensures optimal traffic routing and improves network resiliency.

1. Enhanced Network Performance: RCPs optimize routing decisions, leading to improved network performance, reduced latency, and increased throughput. This translates into better user experiences and improved productivity.

2. Increased Flexibility: With RCPs, network administrators can easily adapt routing policies to changing business needs. This flexibility allows for rapid deployment of new services, efficient traffic engineering, and seamless integration with emerging technologies.

3. Simplified Network Management: RCPs provide a unified platform for managing and controlling routing across diverse network devices. This simplifies network management, reduces operational overhead, and enhances scalability.

1. Scalability: Ensure that the RCP can handle the scale of your network, supporting a large number of devices and routing policies without compromising performance.

2. Integration Capabilities: Look for RCPs that seamlessly integrate with your existing network infrastructure, including routers, switches, and SDN controllers. This ensures a smooth transition and minimizes disruption.

3. Security: Verify that the RCP offers robust security features, including authentication, access control, and encryption. Network security should be a top priority when implementing an RCP.

Conclusion: Routing Control Platforms have emerged as a game-changer in network management, offering centralized control, flexibility, and improved performance. By leveraging the power of RCPs, organizations can optimize their network infrastructure, adapt to changing demands, and stay ahead in the digital era.

Highlights: Routing Control Platfrom

Centralized Forwarding Solution

The Routing Control Platform (RCP) is a centralized forwarding solution, similar to BGP SDN that enables the collection of a network topology map, running an algorithm, and selecting the preferred BGP route for each router in an Autonomous System (AS). It does this by peering both the IGP platform and iBGP to neighboring routers and communicating the preferred routes using unmodified iBGP.

It acts similarly to an enhanced route reflector and does not sit in the data path. It is a control plane device, separate from the IP forwarding plane. The RCP protocol exhibits the accuracy of a full mesh iBGP design and scalability enhancements of route reflection without sacrificing route selection correctness.

Hot Potato Routing

A potential issue with route reflection is that AS exit best path selection (hot potato routing) is performed by route reflectors from their IGP reference point, which in turn gets propagated to all RR clients scattered throughout the network. As a result, the best path selected may not be optimal for many RR clients as it depends on where the RR client is logically placed in the network.

You may also encounter MED-induced route oscillations. The Routing Control Platform aims to solve this problem.

Before you proceed, you may find the following blog BGP of interest:

  1. What is BGP protocol in networking
  2. Full Proxy
  3. What Does SDN Mean
  4. DNS Reflection Attack
  5. Segment Routing



Routing Control.

Key Routing Control Platform Discussion Points:


  • Introduction to Routing Control Platform and how it can be used.

  • Discussion on BGP Route Reflectors (RR) and BGP Confederations.

  • Discussion on an IGP platform and how RCP works.

  • Details on extracting the topology.

Back to Basics Routing Control Platform

Routing Foundations

A network carries traffic where traffic flows from a start node to an end node; generally, we refer to the start node as the source node and the end node as the destination node. We must pick a path or route from the source node to the destination node. A route can be set up manually; such a route is static. Or we can have a dynamic routing protocol, such as an IGP or EGP.

With dynamic routing protocols, we have to use a routing algorithm. The role of the routing algorithm is to determine a route. Each routing algorithm will have different ways of choosing a path. Finally, a network can be expressed as a graph by mapping each node to a unique vertex in the graph, where links between network nodes are represented by edges connecting the corresponding vertices. Each edge can carry one or more weights; such weights may depict cost, delay, bandwidth, and so on. Many of these methods are now enhanced with an IGP platform and different types of routing control.

A key point: Replacing iBGP with the OpenFlow protocol

There are proposed enhancements to the Routing Control Platform by replacing iBGP with the OpenFlow protocol, providing additional capabilities beyond next-hop forwarding. This may be useful for a BGP-free edge core and will be addressed later. The following discusses the original Routing Control Platform proposed by Princeton University and AT&T Labs-Research.

Benefits of Routing Control Platforms:

1. Enhanced Network Performance:

RCPs offer granular control over routing decisions, allowing network administrators to optimize traffic flow and minimize latency. By intelligently distributing traffic across multiple paths, RCPs ensure that network resources are utilized efficiently, improving network performance and end-user experience.

2. Improved Network Resilience:

RCPs enable organizations to build highly resilient networks by implementing diverse routing paths. In the event of a network failure or congestion, RCPs automatically reroute traffic to alternative paths, ensuring uninterrupted connectivity and minimizing downtime.

3. Increased Security:

With the rise in cyber threats, organizations’ network security has become a top priority. RCPs provide advanced security features, such as traffic filtering and access control, to protect against malicious activities. By centralizing routing control, RCPs enable network administrators to implement robust security policies and mitigate potential risks.

4. Scalability and Flexibility:

As businesses grow and networks expand, scaling and adapting becomes crucial. RCPs offer scalability by allowing organizations to add or remove network devices seamlessly. Additionally, RCPs provide flexibility in managing routing protocols, allowing administrators to easily configure and customize routing policies based on specific business requirements.

Use Cases of Routing Control Platforms:

1. Internet Service Providers (ISPs):

ISPs can leverage RCPs to optimize network performance, enhance customer experience, and manage bandwidth effectively. RCPs allow ISPs to distribute traffic intelligently across their networks, ensuring optimal infrastructure utilization and reducing congestion.

2. Data Centers:

In data center environments, where high availability and low latency are critical, RCPs play a vital role in achieving efficient routing. By implementing RCPs, data centers can distribute traffic across multiple paths, balancing the load and minimizing response times.

3. Enterprise Networks:

Large enterprises with complex network infrastructures can benefit from RCPs to gain control over routing decisions. RCPs provide centralized management capabilities, simplifying the configuration and monitoring of routing policies across the entire network.

iBGP and eBGP

Routers within an AS exchange routes to external destinations using internal BGP (iBGP), and routers peer externally to their AS using external BGP (eBGP). All BGP speakers within a single AS must be fully meshed to propagate external destinations. For loop prevention, the original BGP design states reachability information learned from an iBGP router can not be forwarded to another iBGP router inside the full mesh. eBGP designs use AS-PATH for loop prevention. All routing protocols, not just BGP, require some mechanism to prevent loops.

With iBGP, the maximum number of iBGP hops an update can traverse is 1.

Route-reflection (RR) and confederations

To combat the scalability concerns with an iBGP full mesh design, in 1996, several alternatives, such as route reflection and confederations, were proposed. Both of these enable hierarchies within the topology. However, route reflection has drawbacks, which may result in path diversity and network performance side effects. There is a trade-off between routing correctness and scalability. With iBGP full mesh designs, if one BGP router fails, it will have a limited impact. An update travels only one i-BGP hop. However, if a route reflector fails, it has an extensive network impact. All iBGP peers peering with the route reflector are affected. 

An update message may traverse multiple route reflectors with a route reflection design before reaching the desired i-BGP router. This may have adverse effects, such as prolonged routing convergence. One of route reflection’s most significant adverse effects is reduced path diversity. A high path diversity can increase resilience, while low path diversity will decrease resilience. Since a route reflector only passes its best route, all clients peering with that route reflector use the same path for that given destination.

Lab on BGP Route-Reflection

The following lab guide will examine the BGP RR if you don’t want a full mesh of iBGP speakers. Route reflectors (RR) are one method of eliminating the full mesh of IBGP peers in your network. The other method is BGP confederations.

The route reflector allows all IBGP speakers within your autonomous network to learn about the available routes without introducing loops. 

The route reflector can have three types of peerings:

    • EBGP neighbor
    • IBGP client neighbor
    • IBGP non-client neighbor

In the example below, we have 3 IBGP routers. With standard IBGP rules, when R2 receives a route from R1, it will not be forwarded to R3 (IBGP split horizon). We will configure R2 as the route reflector to get around this.

BGP Route Reflection
Diagram: BGP Route Reflection

Proper route reflector placement and design can eliminate some of these drawbacks. We now have path diversity mechanisms such as the BGP ADD Path capability and parallel peerings for better route reflection design. These were not available during the original RCP proposal.

Routing Control Platform (RCP)

The RCP consists of several components: 1) Route Control Server ( RCS), 2) BGP Engine, and 3) IGP platform viewer. It is similar to the newer BGP SDN platform proposed by Petr Lapukhov but has an additional IGP platform viewer function. Petr’s BGP SDN solution proposes a single Layer 3 protocol with BGP – a pure Layer 3 data center.

The RCP platform has two types of peerings: IGP and iBGP. It obtains IGP information by peering with IGP and learns BGP routes with iBGP. The Route Control Server component then analyzes the IGP and BGP viewer information to compute the best path and send it back via iBGP. Notice how the IGP Viewer only needs one peering into each partition in the diagram below.

Routing Control Platform
Diagram: Routing Control Platform

Since the link-state protocol uses reliable LSA flooding, the IGP viewer has an up-to-date topology view. To keep the IGP viewer out of the data plane, higher costs are configured on the links to the controller. As discussed, the BGP engine creates iBGP sessions for other directly reachable speakers or via the IGP.

By combining these elements, the RCS has full BGP and IGP topology information and can make routing decisions for routers in a particular partition. The RCP must have complete visibility. Otherwise, it could assign routes that create black holes, forwarding loops, or other issues preventing packets from reaching their destinations.

Centralized controller: Extract the topology

RPC uses a centralized controller to extract the topology and make routing decisions. These decisions are then pushed to the data plane nodes to forward data packets. It aims to offer the correctness of full-mesh iBGP designs and the scalability of route reflector designs. It uses iBGP sessions to peer with BGP speakers, learn topology information, and send routing decisions for destination prefixes.

As previously discussed, a route reflector design only sends its best path to clients, which limits path diversity. However, the RCP platform overcomes this route reflector limitation and sends each router a route it would have selected in an iBGP full mesh design.

Routing Control Platforms empower organizations to take control of their network routing, leading to enhanced performance, improved resilience, and increased security. By leveraging RCPs, businesses can optimize their network infrastructure, ensuring smooth operations and a seamless user experience. As the demand for robust and flexible networks grows, Routing Control Platforms will play an increasingly vital role in effectively managing and controlling network traffic.

 

Summary: Routing Control Platfrom

Routing control platforms play a crucial role in managing and optimizing network infrastructures. From enhancing network performance to ensuring efficient traffic routing, these platforms have become indispensable in the digital era. In this blog post, we explored the world of routing control platforms, their functionalities, benefits, and how they empower network management.

Understanding Routing Control Platforms

Routing control platforms are sophisticated software solutions designed to control and manage network traffic routing. They provide network administrators with comprehensive visibility and control over the flow of data packets within a network. By leveraging advanced algorithms and protocols, these platforms enable efficient decision-making regarding packet routing, ensuring optimal performance and reliability.

Key Features and Functionalities

Routing control platforms offer many features and functionalities that empower network management. These include:

1. Centralized Traffic Control: Routing control platforms provide a centralized interface for monitoring and controlling network traffic. Administrators can define routing policies, prioritize traffic, and adjust routing paths based on real-time conditions.

2. Traffic Engineering: With advanced traffic engineering capabilities, these platforms enable administrators to optimize network paths and distribute traffic evenly across multiple links. This ensures efficient resource utilization and minimizes congestion.

3. Security and Policy Enforcement: Routing control platforms offer robust security mechanisms to protect networks from unauthorized access and potential threats. They enforce policies, such as access control lists and firewall rules, to safeguard sensitive data and maintain network integrity.

Benefits of Routing Control Platforms

Implementing a routing control platform brings several benefits to network management:

1. Enhanced Performance: Routing control platforms improve overall network performance by efficiently managing traffic routing and optimizing network paths, reducing latency and packet loss.

2. Increased Reliability: These platforms enable administrators to implement redundancy and failover mechanisms, ensuring uninterrupted network connectivity and minimizing downtime.

3. Flexibility and Scalability: Routing control platforms provide the flexibility to adapt to changing network requirements and scale as the network grows. They support dynamic routing protocols and can accommodate new network elements seamlessly.

Conclusion:

Routing control platforms have revolutionized network management by providing administrators with powerful tools to optimize traffic routing and enhance network performance. These platforms empower organizations to build robust and efficient networks, from centralized traffic control to advanced traffic engineering capabilities. By harnessing the benefits of routing control platforms, network administrators can unlock the true potential of their infrastructures and deliver a seamless user experience.

ip routing

Advances of IP routing and Cloud

 

ip routing

 

With the introduction and hype around Software Defined Networking ( SDN ) and Cloud Computing, one would assume that there has been little or no work with the advances in IP routing. You could say that the cloud has clouded the mind of the market. Regardless of the hype around this transformation, routing is still very much alive and makes up a vital part of the main internet statistics you can read. Packets still need to get to their destinations.

 

Advanced in IP Routing

The Internet Engineering Task Force (IETF) develops and promotes voluntary internet standards, particularly those that comprise the Internet Protocol Suite (TCP/IP). The IETF shapes what comes next, and this is where all the routing takes place. It focuses on anything between the physical layer and the application layer. It doesn’t focus on the application itself, but on the technologies used to transport it, for example, HTTP.

In the IETF, no one is in charge, anyone can contribute, and everyone can benefit. As you can see from the chart below, that routing ( RTG ) has over 250 active drafts and is the most popular working group within the IETF.

 

 

IP routinng
Diagram: IETF Work Distribution.

 

The routing area is responsible for ensuring the continuous operation of the Internet routing system by maintaining the scalability and stability characteristics of the existing routing protocols and developing new protocols, extensions, and bug fixes promptly

The following table illustrates the subgroups of the RTG working group:

Bidirectional Forwarding Detection (BFD) Open Shortest Path First IGP (OSPF)
Forwarding and Control Element Separation (forces) Routing Over Low power and Lossy networks (roll)
Interface to the Routing System (i2rs) Routing Area Working Group (RTGW)
Inter-Domain Routing (IDR) Secure Inter-Domain Routing (SCIDR)
IS-IS for IP Internets (isis) Source Packet Routing in Networking (spring)
Keying and Authentication for Routing Protocols (Karp)
Mobile Ad-hoc Networks (manet)

The chart below displays the number of drafts per subgroup of the routing area. There has been a big increase in the subgroup “roll,” which is second to BGP. “Roll” relates to “Routing Over Low power and Lossy networks” and is driven by the Internet of Everything and Machine-to-Machine communication.

 

IP ROUTING
Diagram: RTG Ongoing Work.

 

OSPF Enhancements

OSPF is a link-state protocol that uses a common database to determine the shortest path to any destination.

Two main areas of interest in the Open Shortest Path First IGP (OSPF) subgroups are OSPFv3 LSA Extendibility and Remote Loop-Free Alternatives ( LFAs ). One benefit IS-IS has over OSPF is its ability to easily introduce new features with the inclusion of Type Length Values ( TLVs ) and sub-TLVs. The IETF draft-IETF-OSPF-ospfv3-lsa-extend extends the LSA format by allowing the optional inclusion of TLVs, making OSPF more flexible and extensible. For example, OSPFv3 uses a new TLV to support intra-area Traffic Engineering ( TE ), while OSPFv2 uses an opaque LSA.

 

TLV for OSPFv3
Diagram: TLV for OSPFv3.

 

Another shortcoming of OSPF is that it does not install a backup route in the routing table by default. Having a pre-installed backup up path greatly improves convergence time. With pre-calculated backup routes already installed in the routing table, the router process does not need to go through the convergence process’s LSA propagation and SPF calculation steps.

 

Loop-free alternatives (LFA)

Loop-Free Alternatives ( LFA ), known as Feasible Successors in EIGRP, are local router decisions to pre-install a backup path.
In the diagram below:

-Router A has a primary ( A-C) and secondary ( A-B-C) path to 10.1.1.0/24
-Link State allows Router A to know the entire topology
-Router A should know that Router B is an alternative path. Router B is a Loop-Free Alternate for destination 10.1.1.0/24

OSPF LFA
Diagram: OSPF LFA.

 

This is not done with any tunneling, and the backup route needs to exist for it to be used by the RIB. If the second path doesn’t exist in the first place, the OSPF process cannot install a Loop-Free Alternative. The LFA process does not create backup routes if they don’t already exist. An LFA is simply an alternative loop-free route calculated at any network router.

A drawback of LFA is that it cannot work in all topologies. This is most notable in RING topologies. The answer is to tunnel and to get the traffic past the point where it will loop. This effectively makes the RING topology a MESH topology. For example, the diagram below recognizes that we must tunnel traffic from A to C. The tunnel type doesn’t matter – it could be a GRE tunnel, an MPLS tunnel, an IP-in-IP tunnel, or just about any other encapsulation.

 

In this network:

-Router A’s best path through E
-Routers C’s best path is through D
-Router A must forward traffic directly to C to prevent packets from looping back.

Remote LFA
Diagram: Remote LFA.

 

In the preceding example, we will look at “Remote LFA,” which leverages an MPLS network and Label Distribution Protocol ( LDP ) for label distribution. If you use Traffic Engineering ( TE ), it’s called “TE Fast ReRoute” and not “Remote LFA.” There is also a hybrid model combining Remote LFA and TE Fast ReRoute, and is used only when the above cannot work efficiently due to a complex topology or corner case scenario.

Remote LFAs extend the LFA space to “tunneled neighbors”.

– Router A runs a constrained SPF and finds C is a valid LFA

– Since C is not directly connected, Router A must tunnel to C

a) Router A uses LDP to configure an MPLS path to C

b) Installs this alternate path as an LFA in the CEF table

– If the A->E link fails.

a) Router A begins forwarding traffic along the LDP path

The total time for convergence usually takes 10ms.

Remote LFA has some topology constraints. For example, they cannot be calculated across a flooding domain boundary, i.e., an ABR in OSPF or L1/L2 boundary is IS-IS. However, they work in about 80% of all possible topologies and 90% of production topologies.

 

BGP Enhancements

BGP is a scalable distance vector protocol that runs on top of TCP. It uses a path algorithm to determine the best path to install in the IP routing table and for IP forwarding.

 

Recap BGP route advertisement:

  • RR client can send to a RR client.
  • RR client can send to a non RR client.
  • A non-RR client cannot send to a non-RR client.

One drawback to the default BGP behavior is that it only advertises the best route. When a BGP Route Reflector receives multiple paths to the same destination, it will advertise only one of those routes to its neighbors.

This can limit the visibility in the network and affect the best path selection used for hot potato routing when you want traffic to leave your AS as quickly as possible. In addition, all paths to exit an AS are not advertised to all peers, basically hiding ( not advertising ) some paths to exit the network.

The diagram below displays default BGP behavior; the RR receives two routes from PE2 and PE3 about destination Z; due to the BGP best path mechanism, it only advertises one of those paths to PE1. 

Route Reflector - Default
Diagram: Route Reflector – Default.

 

In certain designs, you could advertise the destination CE with different Route Distinguishers (RDs), creating two instances for the same destination prefix. This would allow the RR to send two paths to PE.

 

Diverse BGP path distribution

Another new feature is diverse BGP Path distribution, where you can create a shadow BGP session to the RR. It is easy to deploy, and the diverse iBGP session will announce the 2nd best path. Shadow BGP sessions are especially useful in virtualized deployments, where you can create another BGP session to a VM acting as a Route-Reflector. The VM can then be scaled out in a virtualized environment creating numerous BGP sessions. You are allowing the advertisements of multiple paths for each destination prefix.

Route Reflector - Shadow Sessions
Diagram: Route Reflector – Shadow Sessions.

 

BGP Add-path 

A special extension to BGP known as “Add Paths” allows BGP speakers to propagate and accept multiple paths for the same prefix. The BGP Add-Path feature will signal diverse paths, so you don’t need to create shadow BGP sessions. There is a requirement that all Add-Path receiver BGP routers must support the Add-Path capability.

There are two flavors of the Add-Path capability, Add-n-path, and Add-all-path. The “Add-n-path” will add 2 or 3 paths depending on the IOS version. With “Add-all-path,” the route reflector will do the primary best path computation (only on the first path) and then send all paths to the BR/PE. This is useful for large ECMP load balancing, where you need multiple existing paths for hot potato routing.

BGP Add Path
Diagram: BGP Add Path

 

Source packet routing

Another interesting draft the IETF is working on is Source Packet Routing ( spring ). Source Packet Routing is the ability of a node to specify a forwarding path. As the packet arrives in the network, the edge device looks at the application, determines what it needs, and predicts its path throughout the network. Segment routing leverages the MPLS data plane, i.e., push, swap, and pop controls, without needing LDP or RSVP-TE. This avoids millions of labels in the LDP database or TE LSPs in the networks.

 

Application Controls - Network DeliversDiagram: Application Controls – Network Delivers 

The complexity and state are now isolated to the network’s edges, and the middle nodes are only swapping labels. The source routing is based on the notion of a 32-bit segment that can represent any instructions, such as service, context, or IGP-based forwarding construct. This results in an ordered chain of topological and service instructions where the ingress node pushes the segment list on the packet.

 

Prefix Hijacking in BGP

BGP hijacking revolves around locating an ISP that is not filtering advertisements, or its misconfiguration makes it susceptible to a man-in-the-middle attack. Once located, an attacker can advertise any prefix they want, causing some or all traffic to be diverted from the real source towards the attacker.

In February 2008, a large portion of YouTube’s address space was redirected to Pakistan when the Pakistan Telecommunication Authority ( PTA ) decided to restrict access to YouTube.com inside the country but accidentally blackholed the route in the global BGP table.

These events and others have led the Secure-Inter Domain Routing Group ( SIDR ) to address the following two vulnerabilities in BGP:

-Is the AS authorized to originate an IP prefix?

-Is the AS-Path represented in the route the same as the path through which the NLRI traveled?

This lockdown of BGP has three solution components:

 

RPKI Infrastructure Offline repository of verifiable secure objects based on public-key cryptography
Follows resources (IPv4/v6 + ASN) allocation hierarchy to provide “right of use”
BGP Secure Origin AS You only validate the Origin AS of a BGP UPDATE
Solves most frequent incidents (*)
No changes to BGP nor the router’s hardware impact
Standardization is almost finished and running code
BGP PATH Validation BGPSEC proposal under development at IETF
Requires forward signing AS-PATH attribute
Changes in BGP and possible routers

The roll-out and implementation should be gradual and create islands of trust worldwide. These islands of trust will eventually interconnect together, making BGP more secure.

The table below displays the RPKI Deployment State;

RIR Total Valid Invalid Unknown Accuracy RPKI Adoption Rate
AFRINIC 100% .44% .42% 99.14% 51.49% .86%
APNIC 100% .22% .24% 99.5% 48.32% .46%
ARIN 100% .4% .14% 99.46% 74.65% .54%
LACNIC 100% 17.84% 2.01% 80.15% 89.87% 19.85%
RIPE NCC 100% 6.7% 0.59% 92.71% 91.92% 7.29%

Cloud Enhancements – The Intercloud

Today’s clouds have crossed well beyond the initial hype, and applications are now offered as on-demand services ( anything-as-a-service [XaaS] ). These services are making significant cost savings, and the cloud transition is shaping up to be as powerful as the previous one – the Internet. The Intercloud and the Internet of Things are the two new big clouds of the future.

Currently, the cloud market is driven by two spaces – the public cloud ( off-premise ) and the private cloud (on-premise). The intercloud takes the concept of cloud much further and attempts to connect multiple public clouds. A single application that could integrate services and workloads from ten or more clouds would create opportunities and potentially alter the cloud market landscape significantly. Hence, it is important to know and understand the need for cloud migration and its related problems.

We are already beginning to see signs of this in the current market. Various applications, such as Spotify and Google Maps, authenticate unregistered users with their Facebook credentials. Another use case is a cloud IaaS provider could divert incoming workload to another provider if it doesn’t have the resources to serve the incoming requests, essentially cloud bursting from provider to provider. It would also make economic sense to move workload and services between cloud providers based on cooling costs ( follow the moon ). Or maybe dynamically move workloads between providers, so they are closest to the active user base ( follow the sun )

The following diagram displays a Dynamic Workload Migration between two Cloud companies.

 

Intercloud
Diagram: Intercloud.

 

A: Cloud 1 finds Cloud 2 -Naming, Presence
B: Cloud 1 Trusts Cloud 2 -Certificates, Trustsec
C: Both Cloud 1 and 2 negotiate -Security, Policy
D: Cloud 1 sets up Cloud 2 -Placement, Deployment
E: Cloud 1 sends to Cloud 2 -VM runs in cloud-Addressing, configurations

The concept of Intercloud was difficult to achieve with the previous version of vSphere based on the restriction of latency for VMotion to operate efficiently. Now vSphere v6 can tolerate 100 msec of RTT.

InterCloud is still a conceptual framework, and the following questions must be addressed before it can be moved from concept to production.

1) Intercloud security

2) Intercloud SLA management

3) Interoperability across cloud providers.

 

Cisco’s One Platform Kit (onePK)

The One Platform Kit is Cisco’s answer to Software Defined Networking. It aims to provide simplicity and agility to a programmatic network. It’s a set of APIs driven by programming languages, such as C and Java, that are used to program the network. We currently have existing ways to program the network with EEM applets but lack an automation tool that can program multiple devices simultaneously. It’s the same with Performance Routing ( PfR ). PfR can program and traffic engineer the network by remotely changing metrics, but the decisions are still local and not controller-based.

 

Traffic engineering

One useful element of Cisco’s One Platform Kit is its ability to perform “Off box” traffic engineering, i.e., the computation is made outside the local routing device. It allows you to create route paths throughout the network without relying on default routing protocol behavior. For example, the cost is the default metric for route selection for equal-length routes in OSPF. This cannot be changed, which makes the routing decisions very static. In addition, Cisco’s One Platform Kit (onePK) allows you to calculate routes using different variables you set, giving you complete path control.

 

ip routing