Community discussions

MikroTik App
 
jmay
Member
Member
Topic Author
Posts: 326
Joined: Tue Jun 23, 2009 8:26 pm

How to send out default route ospf when using full bgp?

Fri Dec 05, 2014 1:43 am

I can't wrap my head around this. If router one is peered with a full bgp router how do i get the rest of my network to know through ospf that a default route is available since with full bgp there is no default route?

Do I need to use 2 routers at the fiber location? One for the full bgp routes and a 2nd for the ospf to the rest of the network?
 
User avatar
paoloaga
Member Candidate
Member Candidate
Posts: 224
Joined: Tue Mar 08, 2011 2:52 am
Location: Vaprio d'Agogna (NO) - Italy
Contact:

Re: How to send out default route ospf when using full bgp?

Fri Dec 05, 2014 1:53 am

If the BGP router with the full view talks OSPF to the other routers, just add "/routing ospf instance set YOURINSTANCE distribute-default
=always-as-type-X" (where YOURINSTANCE is the name of the OSPF instance and X is 1 or 2, depending on how you want to advertise the default route into OSPF).
 
jmay
Member
Member
Topic Author
Posts: 326
Joined: Tue Jun 23, 2009 8:26 pm

Re: How to send out default route ospf when using full bgp?

Fri Dec 05, 2014 3:44 pm

I got it working ty. Must have been doing something wrong at work. I work in a VERY noisy environment and its hard to concentrate. Logged in from home and got in it going in 2 mins!
 
CelticComms
Forum Guru
Forum Guru
Posts: 1766
Joined: Wed May 02, 2012 5:48 am

Re: How to send out default route ospf when using full bgp?

Tue Dec 09, 2014 5:06 am

If using distribute-always also consider what you want to happen if the upstream fails - especially if there is only one upstream available at that location.
Interlynx | Networking and Information Security Consultants & Trainers | Email: routerlynx@gmail.com
BGP | EIGRP | OSPF | MPLS | Firewall | VPN | IPsec | Multicast | QOS | IPv4/6 | STP | VLAN | PON | AE | M2M | and more!

Who is online

Users browsing this forum: leostereo and 17 guests