Hi all,
I'm confused regarding setting ospf distance for a specific prefix from a specific neighbor (router-id) in OSPF. I have the same equal-cost prefix (13.13.11.11/32) in R2, from two OSPF neighbors R4 (rid 13.134.4) and R5 (rid 13.13.5.5) The network between the three is frame-relay, ospf network-type broadcast. What I want to do in R2 is to prefer the path to 13.13.11.11 via 13.13.5.5 by influencing the distance for this prefix from this particular neighbor. The two routers R4 and R5 have the 13.13.11.1/32 from internal EIGRP, and redistributes this to OSPF. R2 is only running OSPF. The routing-table for this prefix in R2 before manipulating the distance; R2#sh ip ro 13.13.11.11 Routing entry for 13.13.11.11/32 Known via "ospf 1", distance 110, metric 20 Tag 2, type extern 2, forward metric 195 Last update from 13.13.9.5 on Serial0, 00:00:09 ago Routing Descriptor Blocks: 13.13.9.5, from 13.13.5.5, 00:00:09 ago, via Serial0 Route metric is 20, traffic share count is 1 Route tag 2 * 13.13.9.4, from 13.13.4.4, 00:00:09 ago, via Serial0 Route metric is 20, traffic share count is 1 Route tag 2 R2#sh ip ospf neig Neighbor ID Pri State Dead Time Address Interface 13.13.4.4 0 FULL/DROTHER 00:00:37 13.13.9.4 Serial0 13.13.5.5 0 FULL/DROTHER 00:00:34 13.13.9.5 Serial0 Now I'm reconfiguring R2 according to the below; router ospf 1 distance 50 13.13.5.5 0.0.0.0 2 access-list 2 permit 13.13.11.11 The routing-table in R2 for this prefix after manipulating the distance; R2#sh ip ro 13.13.11.11 Routing entry for 13.13.11.11/32 Known via "ospf 1", distance 50, metric 20 Tag 2, type extern 2, forward metric 195 Last update from 13.13.9.5 on Serial0, 00:00:08 ago Routing Descriptor Blocks: 13.13.9.5, from 13.13.5.5, 00:00:08 ago, via Serial0 Route metric is 20, traffic share count is 1 Route tag 2 * 13.13.9.4, from 13.13.4.4, 00:00:08 ago, via Serial0 Route metric is 20, traffic share count is 1 Route tag 2 Now as you can see the distance for this prefix has changed to 50, but I still do have equal-cost via both of the neighbors!!?? How come R2 is not prefering the prefix from R5 before the path via R4? Thanks in advance and Best Regards _________________________________________________________________ Spara, redigera och organisera dina foton enkelt med Photo Gallery! http://get.live.com/photogallery/overview
