/ip route add gateway=1.2.3.4
0 chain=prerouting src-address=60.51.128.180 nth=2,0,0 action=mark-routing new-routing-mark=net1
1 chain=prerouting src-address=60.51.128.168 nth=2,0,0 action=mark-routing new-routing-mark=net2
# ADDRESS NETWORK BROADCAST INTERFACE
0 x.x.x.x/x x.x.x.x x.x.x.x ether1
1 y.y.y.y/y y.y.y.y y.y.y.y ether3
2 y.y.y.y/y y.y.y.y y.y.y.y ether2
# DST-ADDRESS PREFSRC G GATEWAY DISTANCE INTERFACE
0 ADC x.x.x.x/x x.x.x.x ether1
1 ADC y.y.y.y/y y.y.y.y ether3
2 ADC y.y.y.y/y y.y.y.y ether2
3 A S 0.0.0.0/0 r y.y.y.y ether2
4 A S 0.0.0.0/0 r y.y.y.y ether3
0 chain=prerouting src-address=y.y.y.y action=mark-routing new-routing-mark=net1
1 chain=prerouting src-address=y.y.y.y action=mark-routing new-routing-mark=net2
0 chain=srcnat out-interface=ether3 connection-type="" action=masquerade
Should be0 chain=prerouting src-address=60.51.128.180 nth=2,0,0 action=mark-routing new-routing-mark=net1
1 chain=prerouting src-address=60.51.128.168 nth=2,0,0 action=mark-routing new-routing-mark=net2
0 chain=prerouting src-address=60.51.128.180 nth=2,0,0 action=mark-routing new-routing-mark=net1
1 chain=prerouting src-address=60.51.128.168 nth=2,0,1 action=mark-routing new-routing-mark=net2
Bejan,hai guyss!!!!!
my load balancing is working now!!!! what i did wrong was in my masquerading. i solved it and now it's running! i'm so happy! thanks guys!!!
then what does a mikrotik load balancing do? doesn't it suppose to load balance my bandwidth? what do u mean by some applications? what are the applications suitable for mikrotik load balancing?no, simply load balancing is not a perfect solution to increase speed. for some applications it can help, for some not.
You can not achieve inbound load balancing without some kind of cooperation or control in both ends.the situation is like this...i have three WAN lines connected to my mikrotik. i try to experiment with the load balancing by downloading 10 files at the same time. what i get is the WAN1 shows the Rx is 2.5Mbps, WAN2 Rx is 495bps, WAN3 Rx is 495bps. what does this mean? does it means that my load balancing is not successful? what do i need to do so that my load balancing is correct?
# ADDRESS NETWORK BROADCAST INTERFACE
0 x.x.x.x/x x.x.x.x x.x.x.x ether1
1 y.y.y.y/y y.y.y.y y.y.y.y ether4
2 y.y.y.y/y y.y.y.y y.y.y.y ether3
3 y.y.y.y/y y.y.y.y y.y.y.y ether2
# DST-ADDRESS PREFSRC G GATEWAY DISTANCE INTERFACE
0 ADC x.x.x.x/x x.x.x.x ether1
1 ADC y.y.y.y/y y.y.y.y ether4
2 ADC y.y.y.y/y y.y.y.y ether2
3 ADC y.y.y.y/y y.y.y.y ether3
4 A S 0.0.0.0/0 r y.y.y.y ether4
r y.y.y.y ether2
r y.y.y.y ether3
0 chain=srcnat out-interface=ether2 action=masquerade
1 chain=srcnat out-interface=ether4 action=masquerade
2 chain=srcnat out-interface=ether3 action=masquerade
received-packets-per-second: 251 152 65 1
received-bits-per-second: 871.7kbps 507.1kbps 263kbps 480bps
sent-packets-per-second: 196 145 56 65
sent-bits-per-second: 758.4kbps 639.4kbps 105kbps 135.9kbps
does this mean that mikrotik cannot do the load-balance incoming traffic? is there any configuration to enable this? or the only solution is to collaborate with my ISPs...? if im going to collaborate with them...using BGP is not possible. any other suggestions?You should collaborate with your ISPs to get ingress load-balancing to work. (Hint: use BGP)
0 X chain=prerouting src-port=5050 action=mark-routing new-routing-mark=net1
1 X chain=prerouting src-port=1863 action=mark-routing new-routing-mark=net1
IP>FIrewall>Mangle
1 src-address=192.168.1.0/24 in-interface=LAN dst-address=:1863 protocol=tcp action=passthrough mark-connection=chat_con
2 src-address=192.168.1.0/24 in-interface=LAN dst-address=:5050
protocol=tcp action=passthrough mark-connection=chat_con
3 in-interface=LAN protocol=tcp connection=chat_con action=accept
mark-flow=chat_Flow
ip >policy-routing >rule
Dst=0.0.0.0/0 Src=0.0.0.0/0 InterFc=LAN Flow=chat_Flow
Action=lookup Table=Gateway1
chain=dstnat protocol=tcp in-interface=ether1 dst-port=80 action=redirect
to-ports=8000
does this mean that Mikrotik does not support RAID? RAID controllers here refer to RAID hardware or RAID software?RAID controllers that require additional drivers
are not supported
chain=dstnat in-interface=WAN protocol=tcp dst-port=80 action=dst-nat to-addresses=10.100.0.36 to-ports=80