I’m running two cable modems. I want to use one router 750.
wan 1(cable dynamic ip) ------ > lan1(192.168.11.0/24)
wan 2(cable dynamic ip) ------ > lan2(192.168.12.0/24)
I want to load balance. I tried everything under the sun to load balance and nothing. So i connected the cable modems to there own routers than through the 450 i’m using to load balance. It finally worked.
I’ve found some threads on the topic, one even had a simple script. The 750 pings google.com but when i connect the computer with windows 7 it detects a network but no internet. One thread said the use the PCC script just direct traffic from the proper wan to the lan. I got nothing. I’m at a lost here.
Here is the script i used.
/ip route
add dst-address=0.0.0.0/0 routing-mark=to-wan1 gateway=1.1.1.1 distance=1
add dst-address=0.0.0.0/0 routing-mark=to-wan2 gateway=2.2.2.2 distance=1
add dst-address=0.0.0.0/0 gateway=1.1.1.1 distance=1
add dst-address=0.0.0.0/0 gateway=1.1.1.1 distance=2/ip firewall nat
add chain=pre-hotspot action=accept dst-address-type=!local hotspot=auth
/ip firewall mangle
add chain=prerouting in-interface=lan1 action=mark-routing new-routing-mark=to-wan1
add chain=prerouting in-interface=lan2 action=mark-routing new-routing-mark=to-wan2
/ip route
add dst-address=0.0.0.0/0 routing-mark=to-wan1 gateway=1.1.1.1 distance=0
add dst-address=0.0.0.0/0 routing-mark=to-wan2 gateway=2.2.2.2 distance=0
add dst-address=0.0.0.0/0 gateway=1.1.1.1 distance=1
add dst-address=0.0.0.0/0 gateway=2.2.2.2 distance=2
fyi - i did change the ips for the proper gateway.
Thanks in advance