What Is Route Redistribution in Networking?
Also known as: route redistribution, redistribution networking, CCNP ENCOR route redistribution, redistribution OSPF EIGRP, redistribute command Cisco
On This Page
Quick Definition
Route redistribution is a networking technique that lets different routing protocols exchange route information. It allows a router running OSPF to tell a router running EIGRP about the networks it knows, and vice versa. This helps keep the whole network connected even when multiple routing protocols are in use.
Must Know for Exams
Route redistribution is a core topic in the Cisco CCNP Enterprise certification, especially in the ENCOR (350-401) exam. The ENCOR exam objectives explicitly include the ability to configure and verify redistribution between routing protocols. Exam questions often test candidates on the mechanics of redistribution, including seed metrics, route maps, and administrative distance.
Understanding the concept is essential because incorrect redistribution can lead to routing loops and network outages, which exam questions frequently explore through troubleshooting scenarios. The exam may present a topology where OSPF and EIGRP are both configured, and the candidate must identify the correct redistribution configuration to ensure full connectivity. Questions might ask about the default seed metric for different protocols, the use of the redistribute command, or the impact of route tagging.
Additionally, the exam covers best practices such as using passive interfaces and distribute lists to prevent loops. Candidates may face multiple-choice questions that require interpreting a configuration snippet and predicting how routes will propagate. Route redistribution also appears in the context of the overall network architecture, requiring candidates to understand where redistribution should and should not be configured.
The exam tests not only the configuration syntax but also the conceptual understanding of why redistribution is needed and what problems it can solve or create. Therefore, CCNP candidates must study redistribution thoroughly, practicing both configuration and troubleshooting on lab equipment or simulators. Success in the ENCOR exam depends on a solid grasp of redistribution mechanics and the ability to apply them in varied network scenarios.
Simple Meaning
Imagine you work in a large office building with several separate departments, each using a different system for internal communication. The sales team uses a color-coded message board, the engineering team uses a digital chat app, and the HR team uses paper memos. Now, the sales team needs to know when the engineering team has a meeting, so someone has to read the memo from HR, type it into the chat app, and also post it on the message board.
That person is acting as a translator between systems. In computer networking, route redistribution does the same thing for routers that speak different languages, called routing protocols. Each routing protocol, like OSPF, EIGRP, or RIP, has its own way of learning about networks and sharing that information with neighboring routers.
When a network uses more than one protocol, the routers might not know about entire sections of the network because they only hear about routes in their own protocol. Route redistribution is the process where a router takes routes learned from one protocol and injects them into another protocol. This ensures that every router in the network has a complete map of all reachable destinations, regardless of which routing protocol it speaks.
Without route redistribution, you would have isolated islands of connectivity, with devices in one part of the network unable to reach devices in another part. This technique is commonly used when companies merge networks, when connecting to a service provider, or during a migration from one routing protocol to another. It is a powerful tool but requires careful planning because it can easily introduce routing loops or suboptimal paths if not configured correctly.
Full Technical Definition
Route redistribution is a networking mechanism by which routes learned via one routing protocol are advertised into another routing protocol running on the same router or on different routers within a multi-protocol environment. This functionality is critical in enterprise networks where different routing protocols are used in different parts of the infrastructure, such as using OSPF in the core and EIGRP in a campus distribution layer, or when connecting to an external network that uses BGP. Redistribution occurs on a router that runs multiple routing protocols, acting as a boundary point.
The router takes routes from the routing table of the source protocol and re-advertises them using the rules and metric structure of the destination protocol. For example, if a router runs both OSPF and EIGRP, it can redistribute OSPF routes into EIGRP and vice versa. The process involves several technical considerations.
First, the router assigns a seed metric to redistributed routes, since metrics are not directly comparable across different protocols. OSPF uses cost, EIGRP uses a composite metric based on bandwidth, delay, load, and reliability, while RIP uses hop count. Administrators must manually define this seed metric for the redistributed routes.
Second, route redistribution can lead to routing loops if not combined with proper filtering. To prevent loops, techniques such as route tagging, passive interfaces, and distribute lists are used. Route tagging attaches a tag value to redistributed routes, which can then be filtered back to prevent them from being re-injected into the original protocol.
Third, redistribution can cause suboptimal routing if the seed metric is not chosen carefully, as a redistributed route might appear as a better path than a native one. In real IT environments, route redistribution is configured on Cisco IOS routers using the redistribute command under the routing protocol configuration mode. Administrators must specify the source protocol, the metric, and optionally the route map to filter specific routes.
Route maps provide granular control, allowing redistribution of only certain networks or routes with specific attributes. Route redistribution is a fundamental skill for the CCNP Enterprise certification, particularly in the ENCOR exam, where candidates must understand its operation, pitfalls, and best practices.
Real-Life Example
Think of a large international airport with three separate air traffic control towers: one for domestic flights, one for international flights, and one for cargo flights. Each tower uses its own radio frequency and has its own maps of the airspace. The domestic tower knows about flights coming from within the country, the international tower knows about overseas flights, and the cargo tower knows about freight planes.
Now, a cargo plane needs to land on the same runway used by a domestic passenger jet. If the cargo tower does not tell the domestic tower about the cargo plane's arrival, the domestic tower might direct a passenger jet into the same airspace, causing a dangerous collision. To avoid this, a central coordination officer listens to all three towers and writes down every flight's position and path on a master whiteboard.
The officer then shares this master view with each tower, so each tower knows about all flights, not just its own. In this analogy, each air traffic control tower is like a different routing protocol. The central coordination officer is the router performing route redistribution.
The master whiteboard is the routing table that contains all known routes. The officer's actions of listening and then writing on the whiteboard and informing the towers is the redistribution process. The domestic tower receiving information about the cargo plane is a redistribution of routes from the cargo protocol into the domestic protocol.
Without this coordination, each tower would be blind to flights managed by other towers, leading to chaos or collisions, just as networks without route redistribution would have unreachable parts and potential routing loops. This example shows how route redistribution creates a unified view of the network, enabling safe, efficient traffic flow across all protocols.
Why This Term Matters
Route redistribution matters because real-world networks rarely use a single routing protocol from end to end. Organizations merge, acquire other companies, or inherit network designs that use different protocols. Service providers often use BGP, while customer networks use OSPF or EIGRP.
Without route redistribution, these separate routing domains would be isolated, and devices in one domain would not be able to communicate with devices in another. This would break connectivity for critical applications like email, voice, and data sharing. Route redistribution bridges these islands, enabling seamless communication across the entire network.
In practical IT work, network engineers frequently encounter scenarios where redistribution is necessary, such as when connecting a branch office running EIGRP to a corporate headquarters running OSPF, or when migrating from an old RIP network to a modern OSPF network. Route redistribution also plays a role in network security and policy control. By using route maps and filtering, administrators can decide exactly which routes are shared, preventing sensitive internal routes from being advertised to external partners.
This ensures that the network remains efficient, secure, and manageable. Furthermore, misconfigured redistribution can cause devastating network outages due to routing loops or black holes. Therefore, understanding redistribution is not just a certification requirement, it is a practical necessity for any engineer responsible for maintaining a production network.
Mastery of this concept allows engineers to design resilient, scalable networks that can adapt to changing business needs without sacrificing performance or reliability.
How It Appears in Exam Questions
In CCNP ENCOR and other Cisco certification exams, route redistribution appears in several types of questions. Scenario-based questions present a network diagram with multiple routing protocols and ask the candidate to configure redistribution on the border router to achieve end-to-end connectivity. For example, a question might show an OSPF area connected to an EIGRP domain and require the correct redistribute command with appropriate metric and route map settings.
Troubleshooting questions describe a network where redistribution is already configured but traffic is not flowing correctly. The candidate must analyze show commands, such as show ip route or show ip protocols, to identify the misconfiguration, such as a missing seed metric or a filtering issue that is blocking certain routes. These questions often include multiple-choice answers with different configuration snippets or show command outputs.
Configuration questions may ask the candidate to complete partially written configuration commands. For instance, a question might provide router ospf 1 and then ask which line correctly redistributes EIGRP routes with a metric of 20. Architecture questions explore design choices, such as where to place redistribution points to minimize administrative overhead and avoid loops.
Candidates might be asked to evaluate a design that redistributes routes at multiple routers and identify the risk of feedback loops. Another common pattern involves administrative distance: the exam might test whether redistributed routes from a more trusted protocol can overwrite native routes, and how to manipulate administrative distance or use route maps to control path selection. Many questions also test the default behavior of redistribution, such as the fact that OSPF does not redistribute routes unless a metric is explicitly defined.
Candidates should be comfortable interpreting show ip route output to see redistributed routes marked with tags or special codes. Overall, the exam tests both conceptual knowledge and practical configuration skills, so candidates must study the redistribute command syntax and the associated show and debug commands.
Study encor
Test your understanding with exam-style practice questions.
Example Scenario
A company called TechCore has two merged departments. The Engineering department uses OSPF as its internal routing protocol, while the Marketing department uses EIGRP after being acquired. The two networks are connected through a single router, Router X, which runs both OSPF and EIGRP.
TechCore's IT team needs to ensure that all devices in Engineering can reach the Marketing department's file servers, and vice versa. To solve this, the network engineer configures route redistribution on Router X. Under the OSPF process, the engineer enters the command redistribute eigrp 100 metric 20, which tells OSPF to take routes learned from EIGRP and advertise them with a cost of 20.
Similarly, under the EIGRP process, the engineer enters redistribute ospf 1 metric 10000 100 255 1 1500, providing bandwidth, delay, reliability, load, and MTU values to form the composite metric. After configuration, a host in the Engineering subnet can ping a server in the Marketing subnet, and the packet traverses the network using Router X as the redistribution point. This scenario demonstrates the practical application of route redistribution to merge two routing domains without requiring a full protocol migration.
Common Mistakes
Assuming that redistribution automatically assigns a usable metric to redistributed routes.
Each routing protocol expects a specific metric. OSPF uses cost, EIGRP uses a composite metric, and RIP uses hop count. Without explicitly defining a seed metric during redistribution, the router may assign a default metric that makes the route appear unreachable or may not advertise the route at all.
Always specify a metric when configuring redistribution. For OSPF, use the metric keyword. For EIGRP, provide the five parameters of the composite metric or use the default-metric command.
Configuring redistribution on multiple routers without filtering, creating routing loops.
When routes are redistributed from Protocol A into Protocol B on one router, and then those routes are redistributed back into Protocol A on a second router, the original routes may be reinserted with a different metric, causing a feedback loop that degrades network performance.
Use route tagging, passive interfaces, distribute lists, or route maps to prevent routes from being redistributed back into their source protocol. Only redistribute on a single border router or ensure that redistribution is one-way and filtered.
Ignoring administrative distance differences when redistributing routes.
Administrative distance (AD) determines the trustworthiness of route sources. Redistributed routes may have a lower AD than native routes, causing them to overwrite preferred routes. For example, redistributing OSPF (AD 110) into EIGRP (AD 90) may cause EIGRP to prefer the redistributed route over its own direct route.
Be aware of the AD values of the protocols involved. Use route maps or adjust AD to ensure that native routes remain preferred over redistributed routes when appropriate.
Forgetting that route redistribution is not bidirectional by default.
Configuring redistribution from OSPF to EIGRP does not automatically enable redistribution from EIGRP to OSPF. Many beginners assume that once they configure redistribution in one direction, routes will flow both ways. This leads to one-way connectivity problems.
Explicitly configure redistribution in both directions if you need full bidirectional route exchange. Use separate redistribute commands under each routing protocol process.
Not filtering which routes are redistributed, leading to unnecessary route propagation and security risks.
Without route maps or prefix lists, redistribution sends all routes from the source protocol into the destination protocol. This can include private or internal routes that should not be exposed, or huge numbers of routes that overload the routing table.
Use route maps with match statements to selectively redistribute only desired routes. Apply distribute lists or prefix lists to control which networks are advertised.
Exam Trap — Don't Get Fooled
The exam might present a configuration where a redistributed route appears in the routing table even though no explicit metric was set, leading you to believe the command is correct. Always check the redistribution configuration by using show ip route and verifying the metric of redistributed routes. Remember that many protocols require an explicit metric.
In OSPF, if no metric is specified, the default metric for redistributed routes is 20, but only if the default-information originate is not relevant. In EIGRP, if no metric is set, the redistributed route is not advertised at all. Know the default behavior of each protocol.
Commonly Confused With
Default route injection (using default-information originate) tells routers to use a default gateway for unknown destinations. Route redistribution, on the other hand, shares specific routes between protocols. Default route injection is a type of redistribution but only for the default route, not for all routes.
If you want all routers to send traffic for unknown networks to a specific ISP router, you inject a default route. If you want to share all internal networks between OSPF and EIGRP, you use route redistribution.
Route filtering is used to block or allow specific routes from being advertised, while route redistribution is the process of sharing routes between protocols. Route filtering is often used in conjunction with redistribution to control which routes are shared.
Redistribution is like opening a pipe between two water systems. Route filtering is placing a valve on that pipe that only allows certain types of water to flow through.
Policy-based routing (PBR) is a mechanism that allows an administrator to forward packets based on rules other than the destination IP address, such as source address or traffic type. Route redistribution only deals with moving routes between protocols, not with forwarding individual packets.
If you want traffic from a specific server to always take a certain path, you use PBR. If you want a router running OSPF to know about networks in an EIGRP domain, you use redistribution.
Step-by-Step Breakdown
Identify the Border Router
Locate the router that is running both routing protocols. This router will be the redistribution point. In a network with OSPF and EIGRP, this router has interfaces in both routing domains.
Determine the Seed Metric
Decide on the metric value that will be assigned to redistributed routes in the destination protocol. For OSPF, this is a cost value. For EIGRP, it is a composite metric made of bandwidth, delay, reliability, load, and MTU. Without a seed metric, redistribution may fail or produce unusable routes.
Configure Route Maps for Filtering (Optional but Recommended)
Create a route map that matches specific networks or route attributes. This allows you to control exactly which routes are redistributed, preventing unnecessary or insecure routes from spreading.
Enter Configuration Mode for the Destination Protocol
Access the router configuration prompt and enter the configuration mode of the protocol into which you want to inject routes. For example, if you want to add EIGRP routes into OSPF, you enter router ospf 1.
Apply the Redistribution Command
Use the redistribute command followed by the source protocol, its process ID, the metric, and optionally the route map. For example, redistribute eigrp 100 metric 20 route-map FILTER_OSPF. This command tells OSPF to import EIGRP routes and advertise them with cost 20, but only those matching the route map.
Repeat for the Opposite Direction (If Needed)
If bidirectional route exchange is required, repeat steps 3 through 5 for the other protocol. Enter the other protocol's configuration mode and add a redistribute command pointing back to the first protocol.
Verify and Troubleshoot
Use show ip route to confirm that redistributed routes appear in the routing table with the correct metric. Use show ip protocols to view redistribution settings. Test connectivity between devices in both routing domains. If routes are missing, check for missing metrics, incorrect route map matches, or administrative distance issues.
Practical Mini-Lesson
Route redistribution is a vital skill for any network engineer managing multi-protocol environments. In practice, you will often encounter networks that grow organically, with different departments or acquired companies using different routing protocols. Your job as the engineer is to connect them without causing chaos.
Configuring redistribution is relatively simple in terms of syntax, but the real challenge is understanding the implications. One of the first things to consider is the seed metric. Each routing protocol calculates metrics differently, so you must manually assign a metric that makes sense in the context of the destination protocol.
For example, if you redistribute OSPF routes into EIGRP, you need to provide five parameters: bandwidth (in kbps), delay (in tens of microseconds), reliability (255 is perfect), load (1 is low), and MTU. A common mistake is to use a seed metric that is too low, causing redistributed routes to appear better than native routes and attracting traffic suboptimally. Another critical aspect is loop prevention.
When a route is redistributed from Protocol A to Protocol B on Router X, and Router Y also redistributes from Protocol B to Protocol A, a route can travel in a circle. This is known as a routing feedback loop. To prevent this, use route tagging.
When a route is redistributed on Router X, you can tag it with a number, say 100. Then, on Router Y, you can filter out any route that already has tag 100, preventing it from being redistributed back. This is a simple but effective technique.
Route maps are your best friend for this. In the exam and in real life, you must also be aware of administrative distance. When a route is redistributed, it inherits the administrative distance of the destination protocol by default.
But you can change that with the distance command if needed. For example, if you want OSPF routes redistributed into EIGRP to be less preferred than directly learned EIGRP routes, you could set the AD to a higher value. Finally, never forget to verify.
Use show ip route, show ip protocols, and ping tests. A common real-world issue is that redistribution works partially, and technicians find that some subnets are reachable while others are not. This usually points to a missing route map condition or a mismatched metric.
In summary, route redistribution is a powerful tool that requires careful planning. Always filter, always set metrics, and always test. This approach will keep your network stable and your certification exam performance strong.
Memory Tip
Remember the four pillars of redistribution: Metric, Map, Loop Prevention, Verify. Always set a metric, use a route map for control, prevent loops with tags, and verify with show commands.
Covered in These Exams
Related Glossary Terms
802.1Q is the networking standard that allows multiple virtual LANs (VLANs) to share a single physical network link by tagging Ethernet frames with VLAN identification information.
802.1X is a network access control standard that authenticates devices before they are allowed to connect to a wired or wireless network.
An A record is a DNS record that maps a domain name to the IPv4 address of the server hosting that domain.
Frequently Asked Questions
What is the default seed metric when redistributing into OSPF?
The default seed metric for redistributed routes into OSPF is 20 for routes from most protocols, and 1 for BGP routes. However, OSPF will not advertise redistributed routes at all if no metric is specified via the redistribute command.
Can route redistribution cause routing loops?
Yes, if redistribution is configured on multiple routers without filtering, routes can be redistributed back into their source protocol, creating a loop. This is prevented by using route tagging, route maps, or distribute lists.
Do I need to configure redistribution in both directions?
Yes, if you need routes to flow both ways between two protocols. Redistribution is unidirectional by default. You must configure separate redistribute commands under each protocol.
What is the difference between redistribution and default route injection?
Default route injection (default-information originate) only advertises a default gateway route. Redistribution shares all or selected routes from one protocol into another.
How do I verify that redistribution is working?
Use show ip route to see if redistributed routes are present. Use show ip protocols to see redistribution settings. Perform traceroute or ping tests between devices in different domains.
What is the role of administrative distance in redistribution?
Administrative distance determines the trustworthiness of routes. Redistributed routes use the AD of the destination protocol by default. If the AD is too low, redistributed routes may override direct routes, causing suboptimal routing.
Summary
Route redistribution is a fundamental networking technique that enables the exchange of routing information between different routing protocols, ensuring end-to-end connectivity across heterogeneous network environments. It is a key topic in the CCNP ENCOR exam and a practical skill for network engineers managing multi-protocol networks. The process requires careful configuration of seed metrics, route filtering, and loop prevention mechanisms to avoid routing loops, suboptimal paths, and security exposures.
Beginners should focus on understanding the conceptual need for redistribution before diving into protocol-specific commands. For the exam, memorize the syntax of the redistribute command, the default metrics for each protocol, and the methods for controlling redistribution with route maps and filters. In real-world IT work, route redistribution is essential during mergers, migrations, and when connecting to service providers.
By mastering this concept, you will be able to design robust, scalable networks that can seamlessly integrate diverse routing domains. Remember to always verify your configuration and test connectivity to ensure that the redistribution is working as intended.