08-26-2014 02:35 PM - edited 03-04-2019 11:37 PM
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 ?
Solved! Go to Solution.
08-26-2014 03:26 PM
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.
08-26-2014 04:02 PM
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.
08-26-2014 03:26 PM
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.
08-26-2014 03:46 PM
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 ?
08-26-2014 03:51 PM
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)
08-26-2014 03:58 PM
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
08-26-2014 04:02 PM
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.
08-26-2014 04:12 PM
Cool, thanks. Works now
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide