hi
i have RB1100 and 2 line ADSL2+ each line have 1Mbps upload.i want merg this 2 link for speedup upload.
every line WAN have one public ip so i want access to my router with openvpn to one of public ip and access to my local and use 2Mbps upload speed now how it is possible and what i do?
thanks a lot
no body?!
any help …
You can not just expect that 1+1=2(MB). One single connection will always go through one line. You can balance the load and spread it across those lines. Or You can reach the total only if you have other router somewhere in the Internet and run two bonded tunnels to it.
hi and tanks for reply I used load balancing and everything is very well but i want access to my router throw internet with one public ip,it is not possible???
You need to mangle connections by routing mark according to the wan from which they came and use routing rules for those marks to send the answers back via the right wan.
Then you can use both wans without any hassle.
thanks;can you show me that what i do?
WAN1=Public IP1
WAN2=Public IP2
LOCAL=192.168.100.0/24
OpenVPN is enabled and from out user can connect to my router (without load balancing)
now i have a billing server in my local and i want users from internet connect to billing server (192.168.100.1) and load balancing be enable now please help what i do?
You can get inspired here for example: http://forum.mikrotik.com/t/problem-with-dual-wan-failover-not-moving-back-to-primary/93907/2
There are also many other posts about this topic all around. ![]()
this post is about dual wan failover!
my problem is different i want use load balancing and my router have public ip that from internet be accessible some thing like Trunk Okay?
I had not told you you should copy that, just to read the mangle and routing things and get ispired by it.
Does not matter that the article is named “failover”. I thought you want to use both wans independently to get in the network, but maybe I have not understood your situation well…
yes,you have not understood my situation well…
anyway i thank you for replay.
listen to me :
WAN1 = PPPOE Static Public IP1
WAN2 =PPPOE Static Public IP2
LOCAL = 192.168.100.0/24
i use load balancing my local have 2 wan merged (8Mbps+8Mbps Download)(1Mbps+1Mbps Upload)
now i want connect to my router with OpenVPN to IP WAN1 and get ip in rang 192.168.100.0/24 and this user(openvpn) use BW completely to access my local…
okay?
i do it with simple scenario :
/ip firewall address-list
add address=192.168.1.0/24 disabled=no list=GW01_LAN
/ip firewall mangle
add chain=prerouting dst-address-list=GW01_LAN src-address-list=GW01_LAN
/ip firewall mangle
add action=mark-connection chain=forward connection-mark=no-mark
in-interface=pppoe-1 new-connection-mark=ISP1_conn passthrough=no add action=mark-connection chain=forward connection-mark=no-mark
in-interface=pppoe-2 new-connection-mark=ISP2_conn passthrough=no add action=mark-connection chain=forward connection-mark=no-mark
in-interface=pppoe-3 new-connection-mark=ISP3_conn passthrough=no add action=mark-connection chain=forward connection-mark=no-mark
in-interface=pppoe-4 new-connection-mark=ISP4_conn passthrough=no
/ip firewall mangle
add action=mark-connection chain=prerouting connection-mark=no-mark
in-interface=pppoe-1 new-connection-mark=ISP1_conn
add action=mark-connection chain=prerouting connection-mark=no-mark
in-interface=pppoe-2 new-connection-mark=ISP2_conn
add action=mark-connection chain=prerouting connection-mark=no-mark
in-interface=pppoe-3 new-connection-mark=ISP3_conn
add action=mark-connection chain=prerouting connection-mark=no-mark
in-interface=pppoe-4 new-connection-mark=ISP4_conn
/ip firewall mangle
add action=jump chain=prerouting connection-mark=no-mark in-interface=LAN
jump-target=policy_routing
/ip firewall mangle
add action=mark-routing chain=prerouting connection-mark=ISP1_conn
new-routing-mark=ISP1_traffic src-address-list=GW01_LAN
add action=mark-routing chain=prerouting connection-mark=ISP2_conn
new-routing-mark=ISP2_traffic src-address-list=GW01_LAN
add action=mark-routing chain=prerouting connection-mark=ISP3_conn
new-routing-mark=ISP3_traffic src-address-list=GW01_LAN
add action=mark-routing chain=prerouting connection-mark=ISP4_conn
new-routing-mark=ISP4_traffic src-address-list=GW01_LAN
/ip firewall mangle
add action=mark-routing chain=output connection-mark=ISP1_conn
new-routing-mark=ISP1_traffic
add action=mark-routing chain=output connection-mark=ISP2_conn
new-routing-mark=ISP2_traffic
add action=mark-routing chain=output connection-mark=ISP3_conn
new-routing-mark=ISP3_traffic
add action=mark-routing chain=output connection-mark=ISP4_conn
new-routing-mark=ISP4_traffic
/ip firewall mangle
add action=mark-connection chain=policy_routing dst-address-type=!local
new-connection-mark=ISP1_conn per-connection-classifier=
both-addresses:4/0
add action=mark-connection chain=policy_routing dst-address-type=!local
new-connection-mark=ISP2_conn per-connection-classifier=
both-addresses:4/1
add action=mark-connection chain=policy_routing dst-address-type=!local
new-connection-mark=ISP3_conn per-connection-classifier=
both-addresses:4/2
add action=mark-connection chain=policy_routing dst-address-type=!local
new-connection-mark=ISP4_conn per-connection-classifier=\ both-addresses:4/3
/ip route
add check-gateway=arp distance=1 gateway=pppoe-1 routing-mark=ISP1_traffic add check-gateway=arp distance=1 gateway=pppoe-2 routing-mark=ISP2_traffic add check-gateway=arp distance=1 gateway=pppoe-3 routing-mark=ISP3_traffic add check-gateway=arp distance=1 gateway=pppoe-4 routing-mark=ISP4_traffic add check-gateway=arp distance=2 gateway=pppoe-1
add check-gateway=arp distance=3 gateway=pppoe-2
add check-gateway=arp distance=4 gateway=pppoe-3
add check-gateway=arp distance=5 gateway=pppoe-4
Everything worked very well …