I do load balance on router OS runing on Pentium 4. I have 2 ISPs and follow load balance exmaple in wiki. Here is my configuration.
My Modem1-router1 ip = 10.0.0.138
modem2-router2 = 192.168.1.1
0 A S 0.0.0.0/0 r 192.168.1.1 1 wan2 routing- mark = even
1 A S 0.0.0.0/0 r 10.0.0.138 1 wan1 routing- mark = odd
2 A S 0.0.0.0/0 r 10.0.0.138 1 wan1
3 ADC 10.0.0.0/24 192.168.1.2 0 wan2
4 ADC 192.168.1.0/24 192.168.1.2 0 wan2
5 ADC 192.168.10.0/24 192.168.10.1 0 local1
\
\
Here is my question.
1. If I disable default gate way (#2). All pcs connected to this router cannot connect to the internet, Why? It seems that all connections use the default gate way(no mark).
How to verify that this load balance work? I test on client pc using tracert -d 8.8.8.8, all client pc shows that it uses default gateway (non mark).
What happen if one of ISPs line fail? Thank you very much.
second:
try to open http://www.whatismyip.com from web-browser, see ur ip add, and then reload/refresh it, see ur ip add again, you should get a diffrent ip add, if not, try to reload it again.
or from ur winbox → firewall → connection, see the mark-ed connection, it should be equal from odd / even connection that already establised.
third:
it should be automaticly switching to the other connection “automatic fail over”
why don’t u try it, unplug the power from first/second isp modem/router, and then try the method above.
Hi GRiffiN,
I would use multiple gateways but I cannot masquerade the source IP because the IP are Public IP…
The scenario is:
There is a big wireless lan, with many client; the routing inside the wlan is based on OSFP; now the provider buy connection from second provider. The all IP are public. All client go to one MT pentium4. Now the MT pc is connected to 2 ISP; how can i split the traffic based on source address without natting?