ZNetLab › Published › Lab

Lab: two routing domains, joined at two points

LabRouting@admin1 min read

Lab: two routing domains, joined at two points

Redistribute at one point and nothing can loop. Redistribute at two — which is what redundancy means — and this is what you have to do about it.

An EIGRP domain and an OSPF domain, joined at two routers for redundancy. That redundancy is also a loop, and this lab is about closing it without giving it up.

Do this

R1(config)# route-map TO-OSPF permit 10
R1(config-route-map)# set tag 100
R1(config)# router ospf 1
R1(config-router)# redistribute eigrp 100 subnets route-map TO-OSPF

The point

The failure here is not loss of connectivity — it is a path that works and is wrong, until something flaps and it becomes a black hole. That is why it survives testing: everything pings.

Two commands matter more than they look. `subnets`, without which OSPF redistributes only classful networks and silently drops every /30. And E1 versus E2 — E2 keeps the same metric everywhere, so the nearest exit is not necessarily chosen; E1 adds the internal cost, which is usually what you want with two exits.

Try breaking it

redistributioneigrpospfccnplab

Join the discussion

Replies, likes and bookmarks live in the community half, which needs a free account. This lab opens in the browser — no install, no plugin.

Open this in the communityEverything publishedHow this works