- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2021 02:45 PM
Hello,
Here's a my topology:
As you can see, R1, R2, R3 and R4 are configured with OSPF (all the networks connected are declared). My goal is to configure R5 only with sating routing to better understand how it works.
So I configured all the static routes on R5, for example:
ip route 10.8.0.0 255.255.255.252 10.8.1.21
ip route 10.8.0.4 255.255.255.252 10.8.1.21
ip route 10.8.0.12 255.255.255.252 10.8.1.21
ip route 10.8.0.16 255.255.255.252 10.8.1.21
ip route 192.168.1.0 255.255.255.0 10.8.1.21
I'm a bit confused about the others routers, shoul I add the network 192.168.2.0/24 with a static route on all routers ?
Thanks!
Solved! Go to Solution.
- Labels:
-
Other Routing
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2021 03:22 PM
Hello,
on R3, you could add:
ip route 0.0.0.0 0.0.0.0 ethernet1/2 or IP address
!
router ospf 1
default-information originate
This would send a default route to all other OSPF routers, hence making it unnecessary to add static routes on all other routers...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2021 01:49 AM - edited 06-13-2021 02:51 AM
Hello
@Georg Pauwen on R3, you could add:
ip route 0.0.0.0 0.0.0.0 ethernet1/2 or IP address
!router ospf 1
default-information originate
@MHM Cisco World simple solution
config static route in R3 and redistribute this static route into ospf.
Adding a default static route on R3 pointing towards rR5 would only be applicable if you want all default traffic from R3 to route towards R5 however then to redistribute a default route to R5 would then cause a routing loop, so you DONT want to do this.
Plus performing the above would also advertise a default route to ALL other ospf rtrs in that topology which im sure you dont want to do either.
As you mention static routing then the easiest solution would be to manually add a default static route on R5 pointing towards R3.
R5
ip route 0.0.0.0 0.0.0.0 eth1/0 10.8.1.23
Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.
Kind Regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2021 02:50 PM
simple solution
config static route in R3 and redistribute this static route into ospf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2021 03:18 PM
As suggested - on R3 redistribute static to other routers. Or set up a relation between R5 and R3 as of OSPF.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2021 03:22 PM
Hello,
on R3, you could add:
ip route 0.0.0.0 0.0.0.0 ethernet1/2 or IP address
!
router ospf 1
default-information originate
This would send a default route to all other OSPF routers, hence making it unnecessary to add static routes on all other routers...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2021 01:17 AM
Thanks guys!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2021 01:49 AM - edited 06-13-2021 02:51 AM
Hello
@Georg Pauwen on R3, you could add:
ip route 0.0.0.0 0.0.0.0 ethernet1/2 or IP address
!router ospf 1
default-information originate
@MHM Cisco World simple solution
config static route in R3 and redistribute this static route into ospf.
Adding a default static route on R3 pointing towards rR5 would only be applicable if you want all default traffic from R3 to route towards R5 however then to redistribute a default route to R5 would then cause a routing loop, so you DONT want to do this.
Plus performing the above would also advertise a default route to ALL other ospf rtrs in that topology which im sure you dont want to do either.
As you mention static routing then the easiest solution would be to manually add a default static route on R5 pointing towards R3.
R5
ip route 0.0.0.0 0.0.0.0 eth1/0 10.8.1.23
Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.
Kind Regards
Paul
