Community discussions

MikroTik App
 
qaq2010
newbie
Topic Author
Posts: 25
Joined: Thu Feb 03, 2011 4:57 pm

Discussion: LoadShare over 2 wans !?

Mon Dec 12, 2011 8:54 pm

hello guy's

sorry about my slacking english :P

oky so what i wannted to talk about is loadsharing wans over 2 wans

as some knows u can loadshere 2 wans on any mikrotik boards easy without any problems
/ip address
add address=192.168.1.100/24 broadcast=192.168.1.255 comment="" disabled=no interface=WAN1 network=192.168.1.0
add address=192.168.4.100/24 broadcast=10.0.0.255 comment="" disabled=no interface=WAN3 network=192.168.4.0
add address=192.168.100.1/24 broadcast=192.168.100.255 comment="" disabled=no interface=Local network=192.168.100.0

/ip firewall mangle
add action=mark-connection chain=input comment="" disabled=no in-interface=WAN1 new-connection-mark=WAN1_conn passthrough=yes
add action=mark-connection chain=input comment="" disabled=no in-interface=WAN3 new-connection-mark=WAN3_conn passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=WAN1_conn disabled=no new-routing-mark=WAN1 passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=WAN3_conn disabled=no new-routing-mark=WAN3 passthrough=yes
add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=Local new-connection-mark=WAN1_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:2/0
add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=Local new-connection-mark=WAN3_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:2/1
add action=mark-routing chain=prerouting comment="" connection-mark=WAN1_conn disabled=no in-interface=Local new-routing-mark=WAN1 passthrough=yes
add action=mark-routing chain=prerouting comment="" connection-mark=WAN3_conn disabled=no in-interface=Local new-routing-mark=WAN3 passthrough=yes

/ip route
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.1.1 routing-mark=WAN1 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.4.254 routing-mark=WAN3 scope=30 target-scope=10
add check-gateway=ping comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.4.254 scope=30 target-scope=10
add check-gateway=ping comment="" disabled=no distance=2 dst-address=0.0.0.0/0 gateway=192.168.1.1 scope=30 target-scope=10

/ip firewall nat
add action=masquerade chain=srcnat comment="" disabled=no out-interface=WAN1
add action=masquerade chain=srcnat comment="" disabled=no out-interface=WAN3

/ip dns
set allow-remote-requests=no cache-max-ttl=1w cache-size=2048KiB max-udp-packet-size=512 servers=8.8.8.8,8.8.4.4
oky

when i try to loadshere any thing over 2 wans Is not possible
"sometimes u can do it with 3 but u will get 50% off the 3d wan only not 100%"

we know that u can do it load balance with the pcc way but its not loadshere

so what i wanted to know and Discuss

did any one had manged to loadshere 3 - 4 -5 wans on the same board

and tell us about your Experience with the loadshere
 
nielsbos
just joined
Posts: 10
Joined: Thu Dec 15, 2011 9:45 pm

Re: Discussion: LoadShare over 2 wans !?

Fri Dec 16, 2011 2:07 pm

I've heard that you can use 2 RouterOS, one local, one on the internet, to build an ethernet stack over both connections. This should result in 1 virtual network, that you can use any functions on, including hotspot. This way, it all behaves as a single connection.

I haven't tried it myself yet, although I find it very tempting... With normal balancing, you either balance per-connection or per-packet. Per-packet is better balancing, but some protocols (like SIP) go wrong. Per-connection is more dependable, but I often found that stored connection routes are hard to get rid of, causing all kinds of delays for the users.
By virtualizing the connection, it appears as only one single connection, so we should have no issues with the protocols whilst still load-balancing per-packet. It should also mean that fail-over is much quicker/smoother than with the connections.
When I've given it a go, I'll be sure to post on the forum about it!

Cheers,
Niels
niels.bos@live.com
 
qaq2010
newbie
Topic Author
Posts: 25
Joined: Thu Feb 03, 2011 4:57 pm

Re: Discussion: LoadShare over 2 wans !?

Sat Dec 17, 2011 7:06 pm

thx for the replay

i know u can do that

but my question was

can u load share 4 links

4 DSL lines - 4 fiber links on one board witch u can do with 2 now but can u do it with 4 links ?!

at the same time on the same board

Who is online

Users browsing this forum: NanoTik and 22 guests