Link to home
Start Free TrialLog in
Avatar of leblanc
leblanc

asked on

ospf not advertise default route

I have this setup (see pic) and it does not seem that OSPF is advertise the default route to the neighbor. I want my mpls link as the primary default gateway and my Internet link as my backup gateway with higher AD, I use default-information originate in ospf to redistribute my default gateway. But I don't see it from the core.
From the core, sh ip ro shows the last resort as 10.10.110.1. Isn't it supposed to be 10.10.100.1 (advertised via ospf from the wan router?

User generated image
Avatar of Predrag Jovic
Predrag Jovic
Flag of Poland image

That is OK, meaning of that is:
You should send data to 10.10.110.1 and that router will know where to forward data from there.  
Actually, router is not advertising that route to OSPF process as default route, it advertise itself as ASBR - I have default route, I am exit from this network to rest of the world, send traffic for unknown destination to me, I know where to forward it. If you want 10.10.100.1 to be advertised as default route you need to configure default-information originate on mpls router.
MPLS router has its own routing table(s), so all traffic for your IP address range is sent to your WAN router all other traffic is sent most likely to its default route.
Avatar of leblanc
leblanc

ASKER

My wan router knows where the Internet traffic is. It has a default route to the mpls router. I want to advertise that default route to my neighbor and the is why I did default-information originate in ospf. But the core and the fw did not receive that route. It should. Correct?
SOLUTION
Avatar of Predrag Jovic
Predrag Jovic
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of leblanc

ASKER

Sorry but I am so lost. I guess because my ospf knowledge is very limited. I understand the concept of ASBR, DR/BDR, etc... In my case, R1 is a ASBR because I have redistribute my default route. So I don't need to default route on my core. Correct? because via ospf, the core knows that he has to go to the ASBR to get to the Internet. So what if my mpls link fails, what happen to my backup default route "ip route 0.0.0.0. 0.0.0.0 10.10.120.1 250". Will it still work because, traffic from the core will go to R1 per the ASBR concept. Then from there, R1 has a default route to 10.10.120.1 as the exit to the Internet. Correct?

PS. What I don't understand is why core does show the last resort in the sh ip ro.

Thanks
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of leblanc

ASKER

In my scenario, my mpls router and my fw router are ASBR. my mpls like is the primary link for the Internet and my internet link is the backup link. So I get rid of the floating static router with AD 250. You're correct. that does not do anything for the backup internet link.

But you said that every routing device needs a default route. In my case for the core, if I have a default route pointed to 10.10.110.1 and my mpls link goes down. How will this work, assume that the wan router knows about the backup default route from the fw router via ospf.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of leblanc

ASKER

"You will need to use higher floating static route on R3 if you want to prevent R3 to use itself as exit point," This is what I need to solve my issue.