BGP Routing Help

Hi,
I need some assistance with this configuration. I have a network: 1.1.1.1/22, it is connected to a single ISP but using two interfaces. I’m using this AS Number: 65534.
I have problem prepending routes. All the traffic are still going to ISP1 and not doing traffic balancing. Kindly check if there is something wrong with this configuration.

/routing bgp instance
set default as=65534 client-to-client-reflection=no

/routing bgp network
add network=1.1.1.0/22 synchronize=no

/routing bgp peer
add name=toISP2 out-filter=isp2-out remote-address=4.4.4.4 remote-as=4775
add name=toISP1 out-filter=isp1-out remote-address=5.5.5.5 remote-as=4775

/routing filter
add action=accept chain=isp1-out prefix=1.1.1.0/22 set-bgp-prepend=2
add action=discard chain=isp1-out

add action=accept chain=isp2-out prefix=1.1.1.0/22
add action=discard chain=isp2-out

That’s correct, but BGP does not do traffic balancing. If you want to do this you must deceive him.
You have a / 22 you can cut in / 24 and announce one by one and others by another.
Another thing that you should do is to make an internal BGP, so that two bgp have the complete routes even with a jump.

Example
ISP1: announces 103.68.156.0/24 and 103.68.157.0/24
ISP2: announces 103.68.158.0/24 and 103.68.159.0/24

BGP session between ISP1 and ISP2 (ISP1 will receive ISP2 networks and ISP2 will receive ISP1 networks)
BGP session between ISP1 and Globe (will announce 103.68.156.0/24 and 103.68.157.0/24 as own and 103.68.158.0/24 and 103.68.159.0/24 with a jump)
BGP session between ISP2 and Globe (will announce 103.68.158.0/24 and 103.68.159.0/24 as own and 103.68.156.0/24 and 103.68.157.0/24 with a jump)

First of all you should ask to Gobal if they announce the ranges of yours that have defined although they are cut, since there are operators that only announce the ranges of yours as they are defined in Ripe)

I’d suggest doing some reading on BGP, two ISPs having the same AS is not two ISPs :slight_smile:

Posting questions and reading answers in forums is already doing some reading. :slight_smile:
Where did you get the two ISP idea?

probably from:

if you would like to have two links to one ISP and exchange routes via BGP you probably should ask for communities used by your upstream to set routing preferences on their side.

Because you’re concerned about load sharing inbound traffic, what you really need to do is see if the ISP can enable BGP multipath and then you can remove the prepend and see traffic inbound on both circuits. MikroTik does not have this capability inherently in BGP although ECMP can be achieved by using an IGP underneath like OSPF or static routes.

https://www.juniper.net/documentation/en_US/junos/topics/concept/bgp-multipath-understanding.html

http://gns3vault.com/bgp/bgp-multipath-load-balancing/