cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
418
Views
0
Helpful
6
Replies

OSPF Question

utawakevou
Level 4
Level 4

I know that with OSPF we only advertise locally attached networks on the network statement of the OSPF process. Is that right ? I have a situation recently where we made some changes by disabling one interface and move that network now to be behind a firewall. I use to have 3 network statements on my router as follows:

 network 192.168.1.2 0.0.0.0 area 1
 network 192.168.1.52 0.0.0.0 area 1
 network 192.168.9.1 0.0.0.0 area 1

Now since I move 192.168.9.0/24 behind a firewall via 192.168.1.52 interface I have to implement static routes. Check out my drawing with the red dotted lines the interface that was disabled.

Is there a way we can still tell my cisco router to advertise 192.168.9.0/24 coming off 192.168.1.52 ?
 

2 Accepted Solutions

Accepted Solutions

michael o'nan
Level 4
Level 4

You can do a static route and under ospf do redistribute static. If you have multiple static routes that you don't want advertised you can use a route map to send only the routes you want.

View solution in original post

You must remove the static route from the remote site if you want it to show up in OSPF on the remote router. If that doesn't work post the running config of both routers.

View solution in original post

6 Replies 6

michael o'nan
Level 4
Level 4

You can do a static route and under ospf do redistribute static. If you have multiple static routes that you don't want advertised you can use a route map to send only the routes you want.

I have added the redistribute static on my Cisco 1841, however I do see the route on the OSPF routing table on my HQ router ? Do I have to do it over there as well ?

Sorry, I meant "however I don't see the route on the route on the OSPF routing table on my HQ router". Forgot to mention that my static routes is already in and currently working from the HQ router and also at the remote site (cisco 1841)

BTW, here are my static routes that I have to add to make things work:

HQ router

ip route 192.168.9.0 255.255.255.0 192.168.1.2
ip route 192.168.43.0 255.255.255.0 192.168.1.2

 

remote site router (cisco 1841)

ip route 192.168.9.0 255.255.255.0 192.168.1.54
ip route 192.168.43.0 255.255.255.0 192.168.1.54

 

You must remove the static route from the remote site if you want it to show up in OSPF on the remote router. If that doesn't work post the running config of both routers.

Cool, thanks. Works now

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