GLBer Creates the RouterOS configuration commands and a RouterOS script for the g0 Load BalanER aka GLBer. Then the Mikrotik RouterOS Router with the multiple point-to-point or point-to-multipoint uplinks balances the traffic among all uplinks without using source based policy routing.
You need to copy the configuration commands and the RouterOS script that GLBer produces from a host that has bash to the RouterOS router e.g. from a bash shell in a Terminal to a winbox terminal in the RouterOS.
RouterOS flushes the routing table every 10 minutes and then there is a good chance to reset the masqueraded connections. The RouterOS script created by GLBer runs every 10 minutes and resets the equal cost multipath route raising more the chance for the masqueraded connections to reset in a 10 minutes period.
# wget https://raw.githubusercontent.com/ipduh/glber/master/glber -O /usr/bin/glber && chmod 755 /usr/bin/glber
Create the RouterOS GLBer Configuration For 3 point-to-point uplinks
$ glber GLBer, g0 2014 Quick How-To: http://sl.ipduh.com/glber Enter gateways: alfa beta gama Enter interfaces:If all the uplink interfaces are point-to-point just enter their names when asked for gateways and just hit enter when glber asks you for interfaces.
Create the RouterOS GLBer configuration for 4 point-to-point uplinks and an uplink available in the LAN through the router's eth5 interface.
$ glber GLBer, g0 2014 Quick How-To: http://sl.ipduh.com/glber Enter gateways: 10.21.241.101 alfa beta gama delta Enter interfaces: eth5 alfa beta gama delta
GLBer logs all runs in ~/glber/UTC-UNIX-EPOCH.log
To Clean a RouterOS from the GLBer configuration find the UTC-UNIX-EPOCH in the RouterOS created by GLBer e.g. for the epoch 1420624338 you would run
$ glber file ~/glber/1420624338.logand run the GLBer RouterOS commands under
###RouterOS commands to remove the GLBer configuration###in the RouterOS terminal.