OSPF vs. Static

I currently am using static routes for my MPLS Sites in my core layer3 switch as follows:
ip route 10.79.0.0 255.255.0.0 10.200.200.28
ip route 10.80.0.0 255.255.0.0 10.200.200.28
ip route 10.81.0.0 255.255.0.0 10.200.200.28
ip route 10.82.0.0 255.255.0.0 10.200.200.28
ip route 10.90.0.0 255.255.0.0 10.1.200.34

I also have OSPF enabled, but not using it. Here is what is curently configured for OSPF:
router ospf 10
 router-id 10.1.200.1
 log-adjacency-changes detail
 redistribute connected subnets
 redistribute static
 network 10.1.200.0 0.0.1.255 area 0
 default-information originate

My headend MPLS router is also configured for OSPF on the internal LAN. My question is can I eliminate the static routes above and add them to the OSPF route table as an advertised network?
dtadminAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

 
BusbarSolutions ArchitectCommented:
yup you can do that, the default-information originate will send all the traffic to the router, jsut make sure that your sites are running OSPF as well.
0
 
dtadminAuthor Commented:
ok. here is the ospf config from one of my mpls sites:

router ospf 10
 router-id 64.213.93.110
 log-adjacency-changes
 redistribute connected subnets
 redistribute static subnets
 network 10.80.31.1 0.0.0.0 area 31
 network 64.213.93.108 0.0.0.3 area 0

Is the above good to go if I remove the static routes from my core and add "network 10.80.0.0 0.0.0.0 area 0" to my core switch OSPF table?
0
 
BusbarSolutions ArchitectCommented:
yup, can you give me the show route on the HQ MPLS router.
0
 
dtadminAuthor Commented:
sorry I cannot. It is managed by our ISP. here is what is in the config that they gave us.

router ospf 10
 router-id 162.97.201.238
 log-adjacency-changes
 redistribute connected subnets route-map DENY-MGMT
 redistribute static subnets route-map DENY-MGMT
 network 10.200.200.0 0.0.0.255 area 0
 network 162.97.63.96 0.0.0.3 area 0
 network 162.97.201.236 0.0.0.3 area 0
 default-information originate
0
 
BusbarSolutions ArchitectCommented:
well looks like it will works but check with them about your changes, they might want to change something.

their router ID is lower than yours so you might want to change yours so they cna become the DR
0

Experts Exchange Solution brought to you by ConnectWise

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.