Community discussions

MikroTik App
 
roman117
just joined
Topic Author
Posts: 3
Joined: Thu Dec 22, 2016 8:55 pm

iBGP & 2x eBGP

Thu Dec 22, 2016 11:36 pm

Hello,

I have newbie question about iBGP configuration, please give some HOWTO.

Now we have:
- 1 office, 1 router and 1 EBGP session with our ISP;
- one AS-number and /22 IPv4 network.

We need:
- create an additional eBGP session to ISP in another town;
- rise up IGP between routers for exchanging routes;
- use one /24 subnet from our /22 subnet in new place. For example, we have 192.168.96.0/22 from RIPE, in first place we use 192.168.96.0/24 , in second office we need to use 192.168.97.0/24


I created iBGP with default settings(Remote IP, my AS) and it was successfully established.
Then i started eBGP session with ISP in second office, but after that all my subnet 192.168.96.0/24 stop working from first office.

All my /22 network start working from new place, but in routes on router1 i have only reconfigured 192.168.96.0/24 and on router2 192.168.97.0/24

Thanks for any advice!
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7054
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: iBGP & 2x eBGP

Fri Dec 23, 2016 12:44 pm

What prefixes you are advertising to each provider? Looks like you are advertising /22 from both peers and new one is more preferred.
 
roman117
just joined
Topic Author
Posts: 3
Joined: Thu Dec 22, 2016 8:55 pm

Re: iBGP & 2x eBGP

Fri Dec 23, 2016 12:49 pm

Hello,

It is the same provider, in 2 different places.
Yes, i am advertising /22 subnet from both places. It is how it was received from RIPE.
 
roman117
just joined
Topic Author
Posts: 3
Joined: Thu Dec 22, 2016 8:55 pm

Re: iBGP & 2x eBGP

Fri Dec 23, 2016 12:58 pm

There is a way to resolve situation if we advertising /22 network from both places?
 
faisali
Member Candidate
Member Candidate
Posts: 180
Joined: Fri Oct 08, 2010 5:11 am

Re: iBGP & 2x eBGP

Sun Dec 25, 2016 9:11 pm

Review this to see if it helps you in your design.

http://mum.mikrotik.com/presentations/H ... ktech1.pdf
 
User avatar
Murmaider
Member Candidate
Member Candidate
Posts: 126
Joined: Fri Oct 30, 2015 10:10 am

Re: iBGP & 2x eBGP

Mon Dec 26, 2016 5:16 am

There is a way to resolve situation if we advertising /22 network from both places?

Advertise the /22 on both routers.
Then advertise each /24 on their "preferred" router. So in your case, the first 3 /24's will be on router 1 and then 4th one on router 2.

All /24's are smaller network blocks, they will be the preferred router over BGP. However if one router goes down, traffic will use the /22 on the other router as redundancy.
 
reion
just joined
Posts: 24
Joined: Mon Nov 05, 2012 10:16 am

Re: iBGP & 2x eBGP

Tue Dec 27, 2016 3:01 pm

Why you do not advertise /24 subnets from their real place, mean 3X/24 from one side and one / 24 from another? Provider will advertise further as one /22 (summarized). But on it's iBGP it will have 4 routes to you!

Who is online

Users browsing this forum: No registered users and 21 guests