Scenario
Your local neighborhood pet shop has asked you to help them solve some network problems. The pet shop is running OSPF and recently bought another shop that is running EIGRP. To achieve connectivity they use redistribution but now some users are complaining about the slow network speed. Up to you to fix some problems!
Goal:
- All IP addresses have been preconfigured for you.
- Configure OSPF on router Ace and Aggie and only advertise network 192.168.12.0 /24.
- Configure EIGRP AS 1 on router Ace, Aggie and Abu. Only advertise network 192.168.13.0 /24 and 192.168.23.0 /24.
- Redistribute the loopback0 interface in EIGRP AS 1 on router Abu.
- Redistribute EIGRP information into OSPF on router Ace.
- Do a traceroute from router Aggi or Ace to network 3.3.3.0 /24. You notice that you are not using the most optimal path…fix this problem so router Aggie uses the most optimal path.
It took me 1000s of hours reading books and doing labs, making mistakes over and over again until I mastered all the routing protocols for CCNP.
Would you like to be a master of routing too? In a short time without having to read 900 page books or google the answers to your questions and browsing through forums?
I collected all my knowledge and created a single ebook for you that has everything you need to know to become a master of routing.
You will learn all the secrets about redistribution between OSPF and EIGRP, sub-optimal routing and more.
Does this sound interesting to you? Take a look here and let me show you how to Master CCNP ROUTE
IOS:
c3640-jk9s-mz.124-16.bin
Topology:
Video Solution:
Configuration Files
You need to register to download the GNS3 topology file. (Registration is free!)Once you are logged in you will find the configuration files right here.
The How to Master series helps you to understand complex topics like spanning-tree, VLANs, trunks, OSPF, EIGRP, BGP and more.
Written by René Molenaar - CCIE #41726
Super lab. 3 ways to solve it like the multipoint one way scenario you can use distribute lists, tagging or alter the distance.
Glad you like it. This is one of the labs that is very helpful to understand the issues that redistribution might cause.
I used access list 1 deny 3.3.3.0 0.0.0.255 in router ACE
then applied on ospf DISTRIBUTE-LIST 1 out
but it’s good thank you 🙂
That’ll work, don’t forget to add a ‘permit any’ though or everything will be blocked by the implicit deny any at the bottom of the access-list.
in video, you DO NOT need to type metric when redistribute connected in eigrp. It will work fine without it, thoug its not a mistake.
Thanks for sharing this. I didn’t realize this but you are correct. Redistributing the directly connected interfaces doesn’t require a seed metric, only from other routing protocols.
This Lab is excellent. I really learnt the redistribution concept. Thanks Rene.
Regards
Rakesh
Thanks Rakesh!
I always had trouble with Access list and different ways to use it. Could you please upload a dedicate lab for teaching access list concepts in detail.
plz i do have a question
i tried instead od increasing the AD of OSPF external routes
i increased the AD of EIGRP to 180. and decreased the AD of OSPF external to 100
on Router Ace it didn’t work but it worked in router Aggie
i disabled Split horizon and now Router Ace can see it through router Aggie but can’t ping it
my question is, why it sees it going to the interface of Router Aggie not directly to Abu
and why its not pinging knowing that even Aggie is pining 3.3.3.3
[color=red]Personally i believe that it needs a way of connection between the redistributed eigrp and network 192.168.12.0 because when i tried to ping 3.3.3.3 with source interface f1/0 with ip 192.168.12.2, it failed but a normal ping works[/color]
here is my output for Ace
Ace(config-router)#do sir
Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2
i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2
ia – IS-IS inter area, * – candidate default, U – per-user static route
o – ODR, P – periodic downloaded static route
Gateway of last resort is not set
C 192.168.12.0/24 is directly connected, FastEthernet1/0
C 192.168.13.0/24 is directly connected, FastEthernet0/0
3.0.0.0/24 is subnetted, 1 subnets
O E2 3.3.3.0 [100/20] via 192.168.12.2, 00:02:35, FastEthernet1/0
D 192.168.23.0/24 [90/30720] via 192.168.13.3, 00:09:09, FastEthernet0/0
Ace(config-router)#do ping 3.3.3.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
…..
Success rate is 0 percent (0/5)
Ace(config-router)#do trace 3.3.3.3
Type escape sequence to abort.
Tracing the route to 3.3.3.3
1 192.168.12.2 16 msec 28 msec 16 msec
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
i solved by adding another distributing OSPF under EIGRP in both Aggie and Ace, but if there is any other way plz let me know
Hello Rene !
I have a question about this lab.
After done, i tried to shut the Abu f1/0 interface and ping 3.3.3.3 from Aggie but the ping not working, Why ? Abu have a route to Ace and Ace have a route to Abu where is my mistake ?
check 06:25 of the video again…
hello, I guess since we have single point redistribution, router abu doesn’t have any knowledge about the route 192.168.12.0. If we shut down the port f1/0 in router abu, the reply for the ping request from aggies to 3.3.3.3 network should be returned via 192.168.12.0 network and check the routing table of abu you cannot find 12.0 entry. Now turn on the f1/0 port and you can see aggies select the route 192.168.23.0 (the EIGRP route) to 3.3.3.3. Router abu knows the network 23.0 and the reply should be sent via 23.0 link.
enter your message here…[quote=ReneMolenaar]That’ll work, don’t forget to add a ‘permit any’ though or everything will be blocked by the implicit deny any at the bottom of the access-list.[/quote]
hi rene,i tried your advise about to add a ‘permit any’ at access list,but still 3.3.3.3 uses ospf route in aggie..but when i get rid of ‘permit any’ at the access-list, 3.3.3.3 on aggie then uses the eigrp route going to 192.168.23.0..why is that..??
Hi guys, quick question. Why don’t we add the Abu’s loopback int in the EIGRP config?
I wasn’t seeing the external routes, then I removed the loopback network from EIgrp config and it worked?
Also is there a nice explanation that breaks down redistribution on this site?
Thanks for your help!
Fabian
Dear Rene,
This is waqar I already downloaded your CCNP books.If you have plan or you are in middle of writihng CCIEv5 book kinly let me know.
Thnaks
BR
Waqar
Great lab,!! there are many ways to solved this!
I used the distance ospf extenal 190 on router Ace and Aggie ( thus changing the AD in extenal ospf to 190.
I also used a route-map set a next-hop 192.168.23.3 🙂 method 2 …
It was fun.
Thanks Rene.
Hi Rene,
Thanks a million for this lab.
Please i have a question. in the video, why are you not able to ping 3.3.3.3 except when you source it from the f0/0 interface?
Possible ways to accomplish this lab:
1) Change administrative distance in EIGRP on Aggie to have external routes with a lower AD than 110…OR change AD in OSPF so that the type 5/7 LSAs get a AD of > 170. Changing AD isn’t always recommended, as it introduces chances of blackholing (what AD is trying to prevent).
2) Distribution list on Aggie (not scalable) to block the LSA from being put in the routing table.
I simply put a static route on Aggie to reach 3.3.3.0 through it’s f0/0 interface, which gives the default AD of 1.
But then I was worried that Aggie would advertise this static route to Ace (which would have an AD of 1 for the static) and cause Ace to use the wrong path to get to 3.3.3.0, but Ace kept its path going straight to Abu. I’m guessing this is because my static route wasn’t being redistributed into OSPF.
So yeah, unless there’s a danger I missed, I think I chose the simplest solution.