cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
603
Views
9
Helpful
6
Replies

OSPF routing issue

Wassim Aouadi
Level 4
Level 4

Hi networkers,

This is a scenario I'm sure some of you guys have encountered.

I have two routers. Each one has a link to the telco provider. One is 10M (line1) and the other is 2M (line2). R1 is connected to line1, and R2 is connected to line2. They are backbone area routers.

The issue is the following: most of the LANs of our branches are learned through R2. But some routes are learned through R1.

I first thought it's a matter of OSPF costs. Both my routers are connected to the telco, so I thought that R2, when it computes routes to branches, finds that it's preferable to reach them through ISP PE2 (connected on line2) than through R1 (which has a better WAN bandwidth).

Telco told me to configure "filters" as they said :-), I thought of distribute lists and route-maps.

6 Replies 6

davidsudjiman
Level 1
Level 1

Hi wass.aouadi,

You can start checking the OSPF DB via "sh ip ospf database" on both R1 and R2. Especially R1, check whether it receives both from R2 and from ISP and compare it.

rgds, dsu

Here are the "show ip ospf database" files

What about

sh ip ospf database summary 10.101.0.0

sh ip ospf database summary 10.101.0.32

sh ip ospf database external 10.101.0.0

sh ip ospf database external 10.101.0.32

on both R1 and R2

David,

here they are.

Issue: R1 will prefer 10.101.0.32 from 192.168.100.9 over 192.168.100.1 due to its intra-area path.

To Do:

1. You can make 192.168.100.9 not to advertise 10.101.0.32, or

2. you can filter LSA3 on R1 and R2 from appearing.

I did some shut/no shut on R1 and R2 interfaces. Here's what I noticed:

  • when both line1 and line2 are up, R1 builds and prefers inter-area routes
  • when line1 is down, the only way R1 builds routes is by learning LSAs from R2
  • when line1 is up and line2 is down, R1 builds routes based on External type 2 LSAs, and R2 builds its routes after learning LSAs from R1.

So I noticed that OSPF process prefers inter-area LSAs over External LSA.

the questions here are:

  1. how can I make OSPF prefer External LSAs for those routes? is it on the Service Provider side because they are doing redistribution of OSPF into/out of BGP?
  2. and if I do that, will it impact OSPF routes learned by R2 when line1 gets down?
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card