04-15-2018 10:58 AM - edited 03-08-2019 02:39 PM
Hi I am doing lab http://www.smartpctricks.com/2014/04/redistribution-between-eigrp-and-ospf.html
and am finding it difficult understanding the part where redistribution of EIGRP is occuring into OSPF.
There's the command:
router ospf 1
redistribute eigrp 1 metric 10 subnets
Can someone explain how it came to the conclusion that the metric should be "10"?
Thanks in advance.
Solved! Go to Solution.
04-16-2018 02:01 AM - edited 04-16-2018 02:02 AM
Not really. You can set any seed metric value that you want as long as it will match some of your criteria.
For example. If you have two exit points from your AS to the same networks you redistribute with different seed metric to make one link preferred to other link (there are other ways to do it, but it is out of scope here). Since seed metric is relevant for OSPF's best path calculation, it does not really matter what is metric assigned to some other protocol, or interface, or whatever...
To try to explain it a little bit different. If there is no metric configured in redistribution command (when redistributing from other protocols) default seed metric is 20 (except for the case that route is redistributed from BGP - in which case it would be one). Value of seed metric, generally, can be important only in the cases where there is more than one copy of the same route.
04-15-2018 11:08 AM - edited 04-15-2018 11:08 AM
It is just seed metric when route is redistributed into OSPF. It is relevant only for calculations inside OSPF process to calculate best path to external network. You can assign to seed value whatever you believe it is "good start metric".
04-15-2018 11:38 AM
04-15-2018 01:04 PM
Yes it is seed metric too. Seed metric is initial metric that route is getting during redistribution into routing protocol. For EIGRP and RIP default seed metric if not specified is infinite, so some seed metric need to be specified.
04-15-2018 12:45 PM
that 10 i believe is the ospf cost for ethernet on your N6 link
04-15-2018 12:52 PM - edited 04-15-2018 12:54 PM
Shouldn’t that cost be added to the serial link between R1 and R2 in that case with final cost being 64+10? If not, why?
04-15-2018 01:01 PM - edited 04-15-2018 01:09 PM
Not really, you can assign any metric you want, it does not have to be related to anything. Also, default external type is E2 and there is no adding cost to E2 type of external routes (inside of OSPF AS).
04-16-2018 01:46 AM
04-16-2018 02:01 AM - edited 04-16-2018 02:02 AM
Not really. You can set any seed metric value that you want as long as it will match some of your criteria.
For example. If you have two exit points from your AS to the same networks you redistribute with different seed metric to make one link preferred to other link (there are other ways to do it, but it is out of scope here). Since seed metric is relevant for OSPF's best path calculation, it does not really matter what is metric assigned to some other protocol, or interface, or whatever...
To try to explain it a little bit different. If there is no metric configured in redistribution command (when redistributing from other protocols) default seed metric is 20 (except for the case that route is redistributed from BGP - in which case it would be one). Value of seed metric, generally, can be important only in the cases where there is more than one copy of the same route.
04-16-2018 02:12 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide