Community discussions

MikroTik App
 
ravin
Member Candidate
Member Candidate
Topic Author
Posts: 173
Joined: Mon Jan 29, 2007 3:59 pm
Location: mym

multihoming BGP with load balancing (agreegation)

Sun Aug 23, 2009 4:43 pm

Hi,

I have Internet Bandwidth from two providers ( 10Mbps & 4 Mbps). I have my own IP block of /21 which I want to advertise
using BGP. Also I want to do load balancing between this 2 links (so that I will get total 14 Mbps to use). My RouterOS is
2.9.27. I have implemented BGP peering successfully with both the providers, but couldn't do load balancing between two links.
When I run traceroute my packets go from one link always.

Please suggest some solution.
 
InoX
Forum Guru
Forum Guru
Posts: 1969
Joined: Tue Jan 09, 2007 6:44 pm

Re: multihoming BGP with load balancing (agreegation)

Sun Aug 23, 2009 5:42 pm

I believe that BGP is not Load Balancing and will never be...is just the shortest route. I'm wrong?
 
ravin
Member Candidate
Member Candidate
Topic Author
Posts: 173
Joined: Mon Jan 29, 2007 3:59 pm
Location: mym

Re: multihoming BGP with load balancing (agreegation)

Sun Aug 23, 2009 5:48 pm

Then what is the best solution to use my IP block over internet and do aggregation of links.
 
changeip
Forum Guru
Forum Guru
Posts: 3819
Joined: Fri May 28, 2004 5:22 pm

Re: multihoming BGP with load balancing (agreegation)

Sun Aug 23, 2009 7:50 pm

2.9.27 isn't supported on the forums, you must upgrade if you want any help.
Colo and Wholesale Bandwidth Available! Sales at SanDiegoBroadband dot com
 
User avatar
MichelePietravalle
Trainer
Trainer
Posts: 99
Joined: Sun Apr 19, 2009 9:03 pm

Re: multihoming BGP with load balancing (agreegation)

Sat Sep 05, 2009 12:06 pm

to help you, we need to know your networks.
however, in a similar scenario, i think to:

- announce your /21 on 10 mbps peer
- announce your /21 on 4 mbps peer prepending your AS# 1 time
- set default local pref on 10 mbps peer
- set a low local pref on 4 mbps peer
- if supported from 4 mbps peer, set a default local pref on 4 mbps peer for BGP communities that belong to 4 mbps peer.

in this way:

- you use 10 mbps for almost download
- you use 4 mbps for backup download / as with a short path
- you use 10 mbps for upload
- you use 4 mbps peer for upload to 4 mbps peer classes and customer classes.

Another way can be to split the /21 into 4 /23 and:

- announce on 10 mbps peer the aggregated /21 + the first 3 /23
- announce on 4 mbps the aggregated /21 + the last one /23.

In this way backup capability is ok, (aggregated /21), but the first 3 /23 will download from 10 mbps, the last one from the 4 mbps.

Try to change empirically the subnet announced on 4 mbps peer to balance in a good way.

in this scenario the first solution is very simple, but the 4 mbps will be used only a bit.
the second scenario can fullfill the 4 mbps but if a customer or more then one need >4mbps you are fucked :(

bye!

Michele Pietravalle
 
User avatar
omega-00
Forum Guru
Forum Guru
Posts: 1167
Joined: Sat Jun 06, 2009 4:54 am
Location: Australia
Contact:

Re: multihoming BGP with load balancing (agreegation)

Sat Sep 05, 2009 6:09 pm

Mikrotik will not support pirated software versions.. eg: 2.9.27
If you can afford a 10mbps link and a 4mbps link you can also afford the incredibly cheap price for a router license.
 
ravin
Member Candidate
Member Candidate
Topic Author
Posts: 173
Joined: Mon Jan 29, 2007 3:59 pm
Location: mym

Re: multihoming BGP with load balancing (agreegation)

Thu Sep 24, 2009 4:45 pm

I have taken licensed copy of routeros. But my harddisk got crashed and hence i'm using this version.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8393
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: multihoming BGP with load balancing (agreegation)

Thu Sep 24, 2009 10:06 pm

we trust you. anyway, 2.9.27 is old and unsupported version =)
Russian-speaking forum: https://forum.mikrotik.by/. Welcome!

For every complex problem, there is a solution that is simple, neat, and wrong.

MikroTik. Your life. Your routing.
 
User avatar
promind
Member Candidate
Member Candidate
Posts: 153
Joined: Thu Feb 23, 2006 11:26 am
Location: Rousse, Bulgaria
Contact:

Re: multihoming BGP with load balancing (agreegation)

Sat Sep 26, 2009 4:38 pm

(offtopic)
I have 2.9.24(l4) licensed version that is still working on a Pentium I 133Mhz beast :)
(ontopic)
If you can setup OSPF with your providers it will be a lot easier to do load balancing based on bandwidth constants.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8393
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: multihoming BGP with load balancing (agreegation)

Sat Sep 26, 2009 11:58 pm

let me guess. providers WON'T setup OSPF for him
Russian-speaking forum: https://forum.mikrotik.by/. Welcome!

For every complex problem, there is a solution that is simple, neat, and wrong.

MikroTik. Your life. Your routing.

Who is online

Users browsing this forum: No registered users and 10 guests