Is it possible to use one RB951ui-2hnd as a load balancer with four internet connections?
This is how I have it:
ether1: WAN1 (DHCP client)
ether2: WAN2 (DHCP client)
ether3: WAN3 (DHCP client)
ether4: WAN4 (DHCP client)
ether5: LAN (10.33.0.1/24)
How can I configure the router to use the four WAN connections balancing the traffic? Is it possible?
Thanks!!
check your config, i have tested +40mbit/sec total wan bandwidth using a heavy configuration with address list, firewall, mangle and queues on a rb951Ui
even ipip over ipsec gives you about 25mbit/sec on a rb951Ui
I just noticed I have a problem.
The four WAN connections use the same IP ranges:
add address=192.168.1.1/24 network=192.168.1.0 broadcast=192.168.1.255 interface=ether1-WAN1
add address=192.168.1.2/24 network=192.168.1.0 broadcast=192.168.1.255 interface=ether2-WAN2
add address=192.168.1.3/24 network=192.168.1.0 broadcast=192.168.1.255 interface=ether3-WAN3
add address=192.168.1.4/24 network=192.168.1.0 broadcast=192.168.1.255 interface=ether4-WAN4
Will this mangle work?
add chain=prerouting dst-address=192.168.1.0/24 action=accept in-interface=ether5-LAN
I have the RB951 with 4 ADSL connections (ports 1,2,3,4) and port 5 with the LAN.
After configuring everything according the tutorial, I don’t see any activity in the ADSL connected to ports 3 and 4 (they are working).
Any idea? any help?
Concerning your 4 dsl connections: FYI, I am load balancing 12 vdsl connections on a 3011. My suggestion is, if possible, do not use the modems as routers. Set them to Bridge mode and have the MTik handle the PPPoE client connections. If you must use the modems as routers, it would be simpler to give both the router/modem and the Mtik static IP addresses. That way you avoid the DHCP issue.
Concerning your problem where two of the DSLs are not trafficking data: Please post ip/firewall/mangle rules. Also post ip/firewall/nat rules. Finally, also post ip/routes.
I tried to set the ADSL modems to Bridge mode but the ISP is changing them back to work as router because they don’t want to support Bridge mode - some stupid policy they have…
In rules 10 and 11 in mangle, under property PCC, you specify 2/2 and 2/3. This is not possible, since the second number is the remainder of a simple division operation. In brief, 2/0 means that the algorithm will divide the number of the connection by 2. if remainder is zero, then the rule is triggered. You will never have division by 2 with a remainder 2 or a remainder 3. Therefore they are never getting triggered. Since you have 4 connections, you need to use 4/0, 4/1, 4/2, and 4/3 in rules 8, 9, 10, and 11 in mangle, under the PCC property. There may be additional problems, but this one certainly would cause the behavior that you describe.