Community discussions

MikroTik App
 
pedja
Long time Member
Long time Member
Topic Author
Posts: 684
Joined: Sat Feb 26, 2005 5:37 am

How to advertise external BGP routes through local network?

Fri Mar 18, 2011 10:10 pm

I am pretty much inexperienced with BGP.

My goal is to set BGP among several community networks. All networks use differrent private IP ranges and static routing among them worked fine. But we wanted to repalce static with BGP routing to easy maintenance.

So far we have no problems establishing BGP among networks that are directly connected. BGP works fine, and routes are advertized properly.

Problem is that not all netorks are connected in one point. Here is simplified example:


R1 (ASN1) <-bgp-> R2(ASN2) --- R3 --- R4(ASN2) < -bgp-> R5 (ASN3)

So here are three networks with ASN1, ASN2 and ASN3.

R1 and R2 are connected, bgp works and routes are advertized. Also R4 and R5 are connected and routes among them are advertised.

But, R1 does not get routes from R5 and R5 does not get routes from R1. How should I achieve this?
 
pedja
Long time Member
Long time Member
Topic Author
Posts: 684
Joined: Sat Feb 26, 2005 5:37 am

Re: How to advertise external BGP routes through local netwo

Fri Mar 18, 2011 11:50 pm

In meanwhile i've set bgp peer connection between R2 and R4, and now I have routes advertised among them. I am not sure if that is how it should be done, but it works.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7042
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: How to advertise external BGP routes through local netwo

Sat Mar 19, 2011 12:41 pm

Yes that is correct, you had to set up iBGP connection between R2 and R4

Who is online

Users browsing this forum: No registered users and 17 guests