Skip to content
LinkState
Go back

Type-2 vs Type-5 at Anycast IRB

Introduction to Symmetric IRB Fabrics

Symmetric IRB (Integrated Routing and Bridging) fabrics are a crucial component of modern data center networks, providing a scalable and efficient way to interconnect virtual machines and physical devices. At the heart of these fabrics lies EVPN (Ethernet VPN), a technology that enables the distribution of MAC addresses and IP prefixes across the network. EVPN uses various route types to encode different types of information, including host reachability and overlay indexing.

EVPN Route Types

EVPN defines several route types, each serving a specific purpose:

Role of RT-2 and RT-5 in EVPN

RT-2 and RT-5 are two critical route types in EVPN. RT-2 is used for advertising host MAC and IP addresses, while RT-5 is used for advertising IP prefixes. Understanding the roles of these route types is essential for designing and troubleshooting symmetric IRB fabrics.

EVPN RT-2 Route Type

The RT-2 route type is used for advertising host MAC and IP addresses. This route type is essential for enabling host mobility and ensuring that hosts can be reached across the network. A host will appear as an EVPN RT-2 route in the following scenarios:

# Enable EVPN on a Juniper Networks device
set protocols evpn
# Configure RT-2 route targets
set protocols evpn route-target 65000:1000

EVPN RT-5 Route Type

The RT-5 route type is used for advertising IP prefixes. This route type is essential for enabling IP routing across the network. RT-5 routes encode reachability information for IP prefixes. This information is used by network devices to determine the best path to a destination IP prefix. To configure RT-5 routes, you need to enable EVPN on the network devices and configure the necessary route targets. For example:

# Enable EVPN on a Cisco Nexus device
feature evpn
# Configure RT-5 route targets
evpn route-type ip-prefix route-target 65000:1000

Overlay-Index Recursion

Overlay-index recursion is a mechanism used in EVPN to tie together RT-2 and RT-5 routes. This mechanism enables network devices to recursively resolve the next hop for a destination IP prefix. Overlay-index recursion ties RT-2 and RT-5 routes together by using the RT-2 route to resolve the next hop for a destination IP prefix advertised in an RT-5 route. Overlay-index recursion is useful in the following scenarios:

Troubleshooting Common Misconceptions

One common misconception is that the presence of an RT-2 route implies the presence of an RT-5 route. However, this is not always the case, as RT-2 and RT-5 routes serve different purposes. To debug RT-2 and RT-5 route interactions, you need to analyze the EVPN route tables and verify that the routes are being advertised and received correctly. For example:

# Show EVPN route table on a Juniper Networks device
show evpn route-table
# Show EVPN route table on a Cisco Nexus device
show ip evpn route-table

Common issues with RT-2 and RT-5 routes include:

Scaling Limitations and Considerations

RT-2 and RT-5 routes have different scalability considerations. RT-2 routes are typically used for host mobility and are more scalable than RT-5 routes, which are used for IP routing. Overlay-index recursion can impact scaling by increasing the number of recursive lookups required to resolve the next hop for a destination IP prefix. Best practices for large-scale deployments include:

Operational Implications and Misconceptions

One common misconception is that RT-2 and RT-5 routes serve the same purpose. However, RT-2 routes are used for host mobility, while RT-5 routes are used for IP routing. Real-world examples of misinterpretation include:

Advanced Topics and Future Directions

EVPN route type extensions include:


Share this post on:

Previous Post
The Missing Type-2 on Silent Hosts
Next Post
Migrating from standard to large communities safely