Community discussions

MikroTik App
 
chris84
newbie
Topic Author
Posts: 31
Joined: Tue Mar 27, 2007 12:05 pm
Location: Vienna
Contact:

Loadbalancing with two different Gateways

Mon Nov 19, 2007 3:53 pm

Hi,

I have two wan-internet uplinks from different isp's, what I'm trying to do is a combination of failover and per traffic load balancing.
common services like http, ftp, skype, mail, etc. should be routet over the first line and e.g. p2p over the second one, if one line fails everything should flow over the other one.

Is this possible with ros?

regards,
chris
 
galaxynet
Long time Member
Long time Member
Posts: 646
Joined: Fri Dec 17, 2004 2:52 pm
Contact:

Re: Loadbalancing with two different Gateways

Mon Nov 19, 2007 4:47 pm

chris84 -

Check out these links at the wiki: http://wiki.mikrotik.com/wiki/Routing

You would most likely use the multiple gateway with persistent sessions....
 
Tanker
Member Candidate
Member Candidate
Posts: 131
Joined: Fri Nov 24, 2006 10:46 am

Re: Loadbalancing with two different Gateways

Wed Nov 21, 2007 1:56 pm

...... hi there

We got it all working - only to discover that Port 443 won't work....

We're still a little "cat-foot" at the moment (live network) - but if you come up with a solution please let me know...
Lots of irritated Banking Clients..!!!!!
 
galaxynet
Long time Member
Long time Member
Posts: 646
Joined: Fri Dec 17, 2004 2:52 pm
Contact:

Re: Loadbalancing with two different Gateways

Wed Nov 21, 2007 2:09 pm

Tanker -
I have not had an issue w/ https (port 443) when using persistant session connection marking. Let's see your setup and maybe we can figure out where you went wrong... :)

Thom
 
galaxynet
Long time Member
Long time Member
Posts: 646
Joined: Fri Dec 17, 2004 2:52 pm
Contact:

Re: Loadbalancing with two different Gateways

Wed Nov 21, 2007 3:24 pm

Tanker -

From an earlier post on the forum....it is talking about improved persitant ECMP wiki setup.

add the following line before the (2) odd rules:

/ip firewall mangle chain=prerouting action=mark-connection new-connection-mark=odd passthrough=yes connection-state=new in-interface=Local dst-port=443 protocol=tcp comment="HTTPS" disabled=no

Who is online

Users browsing this forum: No registered users and 57 guests