Home/Reference Architecture/Routing and redistribution
Layer 02 — Routing and redistributionWhere routing domains meet.
Most estates run more than one routing protocol, for reasons that made sense at the time. The interesting part is never the protocols themselves — it is the boundaries between them, where intent has to be translated and something is always lost in translation.
This environment is invented. It was built for these pages and does not describe any client, employer or real estate. Work produced under an engagement belongs to the client who commissioned it and is not republished in any form, redacted or otherwise. This environment is designed to contain the decisions worth discussing, which no single real estate ever does.
Watch it build 5 steps, then it loops.
How this layer is put together.
Each step adds one part of the design. The last one is usually where the trouble lives.
- 01EIGRP runs inside each data center — fast, simple, and the protocol the estate grew up with.
- 02OSPF runs between the two data centers, because at some point somebody needed a neutral protocol at the boundary.
- 03BGP faces outward: to the cloud over Direct Connect, and to the carrier at the PE.
- 04Every boundary between those needs redistribution, and every redistribution point needs tags and filters to stop routes coming back in.
- 05Those tags stop at the carrier. Where the PE re-originates routes into its VPN and hands them back at the far site, the loop prevention that is correct on campus quietly does not apply.
A redistribution design can be textbook-correct inside the estate and still fail end to end, because the technique it depends on is invisible to the network in the middle.
6 choices, and what each one costs later.
None of these is a mistake. Each is a defensible trade made with the information available at the time. What they have in common is that the cost arrives somewhere other than where the decision was made — which is why it lands on somebody who was not in the room.
Two-way redistribution at more than one point
The decision. Routes cross between EIGRP, OSPF and BGP in both directions, at more than one device.
Why it gets made. Single-point redistribution is a single point of failure. Redundancy demands more than one boundary.
What it costs when it is wrong. Two-way redistribution at multiple points is the textbook cause of route feedback. A route leaves one process, returns through the other, and either loops or beats the path that was intended. It behaves perfectly until a link fails.
Tag-and-filter loop prevention
The decision. Routes are tagged as they are redistributed and filtered on the way back.
Why it gets made. It is the correct technique, it is what the documentation recommends, and it works.
What it costs when it is wrong. Tags do not survive a carrier that re-originates routes into its own VPN. A route can return into the estate at the far data center looking entirely native, and the filter that should have caught it never sees a tag.
Summarization at the boundaries
The decision. A summary is advertised outward rather than the individual prefixes.
Why it gets made. Smaller tables, fewer advertisements, less churn during convergence. On a large estate this is close to mandatory.
What it costs when it is wrong. A summary is preferred only until something advertises a more specific inside it. That something is usually a DR site or a cloud attachment added later by a different team, and the traffic quietly changes path.
Static routes layered on top
The decision. A number of static routes carry intent that no protocol expresses.
Why it gets made. They solve a problem in five minutes that would take a fortnight to solve properly, and they are stable.
What it costs when it is wrong. They are invisible to every routing tool, they survive the person who wrote them, and they win over dynamic routing without announcing it. Half the surprises in a routing assessment are static routes nobody remembered.
Seed metrics between protocols
The decision. A default metric is applied when routes cross from one protocol into another.
Why it gets made. Redistribution requires one. Somebody set it once, it worked, and nobody has revisited it.
What it costs when it is wrong. That arbitrary number decides path selection for every redistributed route. Two boundaries configured with different seeds will prefer different paths for the same destination, and the resulting asymmetry is invisible until something stateful is in the way.
What the branches receive
The decision. Branches receive the summary rather than the specific prefixes.
Why it gets made. There is no reason a branch needs the detail, and the smaller table is easier on older hardware.
What it costs when it is wrong. A branch cannot distinguish which data center holds a given prefix. Harmless in steady state; during a partial failure the branch keeps sending to a summary that is still being advertised by the site that cannot serve it.
The layers connect. That is the point.
Each layer is drawn on the same estate, so a decision taken here shows up as a constraint somewhere else. Reading two of them together is usually more informative than reading either one twice.
Recognize your own estate in this?
Most environments contain several of these decisions. Establishing which ones, and what they are costing, is what an assessment is for.