multihoming BGP with load balancing (agreegation)

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.

I believe that BGP is not Load Balancing and will never be…is just the shortest route. I’m wrong?

Then what is the best solution to use my IP block over internet and do aggregation of links.

2.9.27 isn’t supported on the forums, you must upgrade if you want any help.

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 :frowning:

bye!

Michele Pietravalle

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.

I have taken licensed copy of routeros. But my harddisk got crashed and hence i’m using this version.

we trust you. anyway, 2.9.27 is old and unsupported version =)

(offtopic)
I have 2.9.24(l4) licensed version that is still working on a Pentium I 133Mhz beast :slight_smile:
(ontopic)
If you can setup OSPF with your providers it will be a lot easier to do load balancing based on bandwidth constants.

let me guess. providers WON’T setup OSPF for him