Community discussions

MikroTik App
 
pastranini
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 63
Joined: Mon Nov 19, 2007 5:48 am

LOAD BALANCING WITH 3 GW AND FAILOVER

Sat May 03, 2008 2:02 pm

Hello Everybody

I tried to make load balancing with 3 gateways and failover, i got mix up in ip route, how would be the correct configuration?

this is with 2
/ ip route
add dst-address=0.0.0.0/0 gateway=10.111.0.1 scope=255 target-scope=10 routing-mark=odd check-gateway=ping
add dst-address=0.0.0.0/0 gateway=10.112.0.1 scope=255 target-scope=10 routing-mark=even check-gateway=ping
add dst-address=0.0.0.0/0 gateway=10.112.0.1 scope=255 target-scope=10
add dst-address=0.0.0.0/0 gateway=10.111.0.1 scope=255 target-scope=10 distance=2

I did with 2 gateways but with 3 I Can't
Thanks ¡¡¡¡¡
 
pastranini
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 63
Joined: Mon Nov 19, 2007 5:48 am

Re: LOAD BALANCING WITH 3 GW AND FAILOVER

Fri May 09, 2008 7:57 pm

HElloo

this post has 91 views but anybody aswer it.

:S

help¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
Normis Please.
 
EgyCom
Member Candidate
Member Candidate
Posts: 123
Joined: Thu May 31, 2007 9:47 pm

Re: LOAD BALANCING WITH 3 GW AND FAILOVER

Sat May 10, 2008 6:58 am

Post your Mangle configurations
 
pastranini
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 63
Joined: Mon Nov 19, 2007 5:48 am

Re: LOAD BALANCING WITH 3 GW AND FAILOVER

Mon May 12, 2008 7:28 am

Hello
this is the conf.

Flags: X - disabled, I - invalid, D - dynamic
0 chain=prerouting in-interface=wlan1 connection-state=new nth=2,4,0
action=mark-connection new-connection-mark=PARCONN passthrough=yes

1 chain=prerouting in-interface=wlan1 connection-mark=PARCONN
action=mark-routing new-routing-mark=PAR passthrough=no

2 chain=prerouting in-interface=wlan1 connection-state=new nth=2,4,1
action=mark-connection new-connection-mark=INPARCONN passthrough=yes

3 chain=prerouting in-interface=wlan1 connection-mark=INPARCONN
action=mark-routing new-routing-mark=INPAR passthrough=no

4 chain=prerouting in-interface=wlan1 connection-state=new nth=2,4,2
action=mark-connection new-connection-mark=NULOCONN passthrough=yes

5 chain=prerouting in-interface=wlan1 connection-mark=NULOCONN
action=mark-routing new-routing-mark=NULO passthrough=no

Thanks
 
godovic
Frequent Visitor
Frequent Visitor
Posts: 53
Joined: Sun Mar 08, 2009 11:52 pm

Re: LOAD BALANCING WITH 3 GW AND FAILOVER

Thu Apr 23, 2009 12:26 am

I can buy you a beer.... I am little disappointed about mikrotik.... it seems that it is working good for wireless and not as multi wan router

waiting for a new OS
 
cdemers
Member Candidate
Member Candidate
Posts: 224
Joined: Sun Feb 26, 2006 3:32 pm
Location: Canada
Contact:

Re: LOAD BALANCING WITH 3 GW AND FAILOVER

Thu Apr 23, 2009 4:59 am

Maybe as a suggestion this wiki article is a good start

http://wiki.mikrotik.com/wiki/Load_Bala ... e_Gateways
 
leonset
Member Candidate
Member Candidate
Posts: 256
Joined: Wed Apr 01, 2009 9:09 pm

Re: LOAD BALANCING WITH 3 GW AND FAILOVER

Thu Apr 23, 2009 12:24 pm

This thread may give you some hints:

http://forum.mikrotik.com/viewtopic.php?f=2&t=30920
 
alphahawk
Member Candidate
Member Candidate
Posts: 101
Joined: Fri Mar 28, 2008 6:40 pm

Re: LOAD BALANCING WITH 3 GW AND FAILOVER

Fri Apr 24, 2009 12:19 am

Look at this how-to http://wiki.mikrotik.com/wiki/NTH_load_ ... masquerade

all you need to do as add a third mark and change your nth to 3,1 3,2 3,3 and then add in 3rd route.

ECMP is another way to load balance but currently there are a few bugs being worked out on it?
 
ayufan
Member
Member
Posts: 334
Joined: Sun Jun 03, 2007 9:35 pm
Contact:

Re: LOAD BALANCING WITH 3 GW AND FAILOVER

Mon Apr 27, 2009 3:50 pm

Wait for 3.24 when you will be able to use new Firewall Matcher: PCC :)

http://forum.mikrotik.com/viewtopic.php?f=2&t=31415