cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
295
Views
5
Helpful
2
Replies

Newbie to OSPF, OSPF routes no longer coming across WAN

rpinon
Level 1
Level 1

 

   Not sure what is going on here. I have several routers conected via MetroE cloud.

 

R1                                                                                                                         

router ospf 100
 router-id 10.10.99.1
 auto-cost reference-bandwidth 100000
 network 10.6.237.0 0.0.0.15 area 0
 network 10.10.0.0 0.0.0.255 area 1010
 network 10.10.1.0 0.0.0.255 area 1010
 network 10.10.2.0 0.0.0.255 area 1010
 network 192.168.253.0 0.0.0.255 area 1010

!

 

ip route 10.10.0.0 255.255.255.0 10.10.2.1
ip route 10.10.1.0 255.255.255.0 10.10.2.1
ip route 10.10.2.0 255.255.255.0 10.10.2.1
ip route 192.168.253.0 255.255.255.0 Null0  *** for testing***

 

R2

router ospf 200
 router-id 10.3.1.129
 auto-cost reference-bandwidth 100000
 area 0 range 10.3.0.0 255.255.0.0
 summary-address 10.3.0.0 255.255.0.0
 summary-address 10.102.133.0 255.255.255.0
 
 network 10.3.1.129 0.0.0.0 area 0
 network 10.6.237.0 0.0.0.15 area 0
 network 10.96.0.0 0.0.0.255 area 0
 
 

 

They can see each other when I do a show ip ospf neighbor

Both routers can see OSPF routes from other routers, but I can not see any of the subnets from R1,, 

Thanks!!!

 

Ray

 

1 Accepted Solution

Accepted Solutions

Jon Marshall
Hall of Fame
Hall of Fame

Ray

ip route 10.10.0.0 255.255.255.0 10.10.2.1
ip route 10.10.1.0 255.255.255.0 10.10.2.1
ip route 10.10.2.0 255.255.255.0 10.10.2.1
ip route 192.168.253.0 255.255.255.0 Null0  *** for testing***

do you mean the above routes are not seen ?

If so using network statements for these routes under OSPF won't advertise static routes.

The "network ..." statement under your OSPF configuration tells OSPF which interfaces to start on. Once it starts on that interface the network would be advertised but if you have no interfaces on your router for those networks then it won't.

This is common to all IGPs but not BGP where the "network .." statement is actually used to tell BGP which networks to advertise.

So do you have interfaces in the router that have IPs from those subnets ?

If you don't then on your router you need to make these changes -

1) remove the "network ..." entries

2) under your router OSPF configuration -

redistribute static subnets

ie. you are redistributing the static routes you have configured into OSPF.

Couple of things -

1) only remove the statements if you don't have any interfaces in that range. So from the looks of it you would still need the "network 10.6.237.0 0.0.0.15 area 0" line

2) if you have other static routes you don't want advertised you will need to use a route map with the redistribute command to filter which routes you want redistributed.

If you do have interfaces with IPs from those subnets can you clarify why you have configured static routes ?

Jon

View solution in original post

2 Replies 2

Jon Marshall
Hall of Fame
Hall of Fame

Ray

ip route 10.10.0.0 255.255.255.0 10.10.2.1
ip route 10.10.1.0 255.255.255.0 10.10.2.1
ip route 10.10.2.0 255.255.255.0 10.10.2.1
ip route 192.168.253.0 255.255.255.0 Null0  *** for testing***

do you mean the above routes are not seen ?

If so using network statements for these routes under OSPF won't advertise static routes.

The "network ..." statement under your OSPF configuration tells OSPF which interfaces to start on. Once it starts on that interface the network would be advertised but if you have no interfaces on your router for those networks then it won't.

This is common to all IGPs but not BGP where the "network .." statement is actually used to tell BGP which networks to advertise.

So do you have interfaces in the router that have IPs from those subnets ?

If you don't then on your router you need to make these changes -

1) remove the "network ..." entries

2) under your router OSPF configuration -

redistribute static subnets

ie. you are redistributing the static routes you have configured into OSPF.

Couple of things -

1) only remove the statements if you don't have any interfaces in that range. So from the looks of it you would still need the "network 10.6.237.0 0.0.0.15 area 0" line

2) if you have other static routes you don't want advertised you will need to use a route map with the redistribute command to filter which routes you want redistributed.

If you do have interfaces with IPs from those subnets can you clarify why you have configured static routes ?

Jon

rpinon
Level 1
Level 1

That was it!!!  Thanks so much. It's always the little stuff that bites you at the end. Went ahead a put together an extensive route-map to control the distribution, all good here

Thanks again!!!

Ray

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