Community discussions

MikroTik App
 
cybersyx
just joined
Topic Author
Posts: 12
Joined: Thu Jan 14, 2016 8:25 pm

Help with load balacing

Tue Mar 20, 2018 1:04 am

Hi, i've a little question about load balancing. I've two site; SITE A and SITE B. These sites are connected via two mikrotik dynadish. On both sites there is a routerboard with OSPF up and running and the link was made with two dynadish to increase the bandwidth but currently there is no load balancing. In fact through OSPF the routes are both active but only one link is used while the other remains unused, it is used only in case of failover. Do you have any suggestions? Thanks !


ip route print for example:

30 ADo 10.6.0.31/32 10.58.0.1 110
10.57.0.1
31 ADo 10.6.0.32/32 10.58.0.1 110
10.57.0.1
32 ADo 10.6.0.33/32 10.58.0.1 110
10.57.0.1
33 ADo 10.7.0.0/26 10.58.0.1 110
10.57.0.1
34 ADo 10.7.0.20/32 10.58.0.1 110
10.57.0.1
35 ADo 10.7.0.21/32 10.58.0.1 110
10.57.0.1
36 ADo 10.8.0.0/26 10.58.0.1 110
10.57.0.1
37 ADo 10.8.0.20/32 10.58.0.1 110
10.57.0.1
38 ADo 10.8.0.21/32 10.58.0.1 110
10.57.0.1
39 ADo 10.8.0.22/32 10.58.0.1 110
10.57.0.1
40 ADo 10.8.0.24/32 10.58.0.1 110
10.57.0.1
41 ADo 10.8.0.25/32 10.58.0.1 110
10.57.0.1
42 ADo 10.8.0.26/32 10.58.0.1 110
10.57.0.1
43 ADo 10.8.0.27/32 10.58.0.1 110
10.57.0.1
44 ADo 10.9.0.0/26 10.58.0.1 110
 
User avatar
sri2007
Member Candidate
Member Candidate
Posts: 205
Joined: Wed May 20, 2015 10:14 pm
Location: Lake Grove, NY

Re: Help with load balacing

Fri Apr 27, 2018 3:35 pm

Seems, like you have configured different costs per interface under /routing ospf interfaces; if you're trying to setup ECMP, you'll need to create two interfaces with same cost between those routers, and please double-check at both sites, because you may have a load balancing for the upstream and an active/backup for the downstream or viceversa.
 
cybersyx
just joined
Topic Author
Posts: 12
Joined: Thu Jan 14, 2016 8:25 pm

Re: Help with load balacing

Mon Jun 11, 2018 11:58 pm

Seems, like you have configured different costs per interface under /routing ospf interfaces; if you're trying to setup ECMP, you'll need to create two interfaces with same cost between those routers, and please double-check at both sites, because you may have a load balancing for the upstream and an active/backup for the downstream or viceversa.
I'm check the cost but is the same for the two interface:


Flags: X - disabled, I - inactive, D - dynamic, P - passive
# INTERFACE COST PRIORITY NETWORK-TYPE AUTHENTICATION AUTHENTICATION-KEY
0 D HOTSPOT 10 1 broadcast none
1 D BRIDGE_ANTENNE 10 1 broadcast none
2 D BRIDGE_ANTENNE 10 1 broadcast none
3 D BRIDGE_ANTENNE 10 1 broadcast none
4 D WAN2 10 1 broadcast none
5 D <pppoe-veronica> 10 1 point-to-point none
6 D BRIDGE_ANTENNE 10 1 broadcast none
7 D WAN4 10 1 broadcast none
8 D WAN1 10 1 broadcast none
9 D WAN3 10 1 broadcast none
 
User avatar
sri2007
Member Candidate
Member Candidate
Posts: 205
Joined: Wed May 20, 2015 10:14 pm
Location: Lake Grove, NY

Re: Help with load balacing

Wed Jun 13, 2018 4:20 am

Hi, are those in the same area, can you help us with the OSPF config for both routers?
 
cybersyx
just joined
Topic Author
Posts: 12
Joined: Thu Jan 14, 2016 8:25 pm

Re: Help with load balacing

Thu Jun 14, 2018 1:24 pm

Hi, are those in the same area, can you help us with the OSPF config for both routers?
Hi, thanks a lot for the reply. Here is the ospf configuration:


[admin@RB-FONDI] /routing ospf> export
# jun/14/2018 12:18:13 by RouterOS 6.41
# software id = 4L7W-B1RV
#
# model = 2011UiAS
# serial number = 762E07B5C31A
/routing ospf area
add area-id=0.0.0.1 name=clients
/routing ospf instance
set [ find default=yes ] router-id=10.95.0.2
/routing ospf network
add area=clients network=10.10.0.0/26
add area=clients network=10.3.0.0/26
add area=clients network=10.5.0.0/26
add area=clients network=10.6.0.0/26
add area=clients network=10.7.0.0/26
add area=clients network=10.8.0.0/26
add area=clients network=10.9.0.0/26
add area=clients network=10.1.0.0/26
add area=clients network=10.50.0.0/29
add area=clients network=172.26.50.0/29
add area=clients network=10.80.0.0/24
add area=backbone network=10.52.0.0/29
add area=clients network=10.12.0.0/26
add area=clients network=10.54.0.0/29
add area=clients network=10.18.0.0/26
add area=clients network=10.51.0.0/29
add area=clients network=10.56.0.0/29
add area=backbone network=10.57.0.0/29
add area=backbone network=10.58.0.0/29
add area=clients network=10.100.1.0/29
add area=clients network=10.90.0.0/26
add area=backbone network=10.53.0.0/29
add area=clients network=10.17.0.0/26
add area=backbone disabled=yes network=7.7.7.0/29
[admin@RB-FONDI] /routing ospf>

[admin@RB-FONDI.-2] /routing ospf> export
# jun/14/2018 12:22:16 by RouterOS 6.41
# software id = MREY-UQ5L
#
# model = 2011UiAS
# serial number = 60850553A59E
/routing ospf area
add area-id=0.0.0.1 name=clients
/routing ospf instance
set [ find default=yes ] router-id=10.97.0.1
/routing ospf network
add area=clients network=10.2.0.0/26
add area=clients network=10.61.0.0/26
add area=clients network=172.26.10.0/29
add area=clients network=172.26.11.0/29
add area=backbone network=10.57.0.0/29
add area=backbone network=10.58.0.0/29
add area=clients network=10.100.3.0/29
add area=clients network=10.18.0.0/26
add area=clients network=10.99.0.0/26
add area=clients network=10.10.0.0/26
add area=clients network=10.1.0.0/26
add area=clients network=10.9.0.0/26
add area=clients network=10.6.0.0/26
add area=clients network=172.26.12.0/29
add area=clients network=172.26.13.0/29
add area=backbone disabled=yes network=7.7.7.0/29
[admin@RB-FONDI.-2] /routing ospf>

Who is online

Users browsing this forum: No registered users and 4 guests