can someone tell me why ospf is being preferred over eigrp in this case?

routerA

router eigrp 1 redistribute bgp 6534 metric 1536 100 255 1 1500

router ospf 1 redistribute bgp 6534

---------------------------------------------------------------------------

RouterA#sh ip route | i 10.1.1 D 10.1.1.0/24 [90/28416] via 10.161.9.253, 7w0d, FastEthernet0/0 RouterA#sh ip route 10.1.1.0 Routing entry for 10.1.1.0/24 Known via "eigrp 1", distance 90, metric 28416, type internal Redistributing via eigrp 1 Advertised by bgp XXXXX Last update from 10.2.2.2 on FastEthernet0/1, 7w0d ago Routing Descriptor Blocks: * 10.2.2.2, from 10.2.2.2, 7w0d ago, via FastEthernet0/0 Route metric is 28416, traffic share count is 1 Total delay is 110 microseconds, minimum bandwidth is 100000 Kbit Reliability 248/255, minimum MTU 1500 bytes Loading 1/255, Hops 1 10.2.2.2, from 10.2.2.2, 7w0d ago, via FastEthernet0/1 Route metric is 28416, traffic share count is 1 Total delay is 110 microseconds, minimum bandwidth is 100000 Kbit Reliability 255/255, minimum MTU 1500 bytes Loading 1/255, Hops 1 ================================================================ RouterB

router ospf 1 redistribute bgp 64532 metric 20 subnets

----------------------------------------------------------------------------------------------- RouterB#sh ip route | i 10.1.1 O E2 10.1.1.0/24 [110/50] via 10.3.3.3, 7w0d, GigabitEthernet0/2 RouterB#sh ip route 10.1.1.0 Routing entry for 10.1.1.0/24 Known via "ospf 1", distance 110, metric 50, type extern 2, forward metric 2 Advertised by bgp 64532 Last update from 10.3.3.3 on GigabitEthernet0/2, 7w0d ago Routing Descriptor Blocks: 10.3.3.3, from 10.5.5.1, 7w0d ago, via GigabitEthernet0/2 Route metric is 50, traffic share count is 1 * 10.3.3.2, from 10.5.5.1, 7w0d ago, via GigabitEthernet0/1 Route metric is 50, traffic share count is 1

when I do an extended trace from antoher router in another AS, the preferred route is via RouterB instead of A, is it something to do with the redistribution metric?

Thanks for any info

Reply to
k65020
Loading thread data ...

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.