Hello Friends.
I am trying to make a load balancing & fail-over job using router RB750.
I have to different ISP gateway.
GateWay1 & GateWay2. I am using 2 MANGLE rules to watch the packets sent by user and i have classified them by Ip's as below
Soho : 192.168.88.2-192.168.88.125
HDSL : 192.168.88.126-192.168.88.254
I have 4 routes rule as below :
0.0.0.0/0 to HDSL gateway routing mark HDSLRange distance 1
0.0.0.0/0 to SOHO gateway routing mark SOHORange distance 1
0.0.0.0/0 to SOHO gateway routing mark HDSLRange distance 2 ' for the failover job
0.0.0.0/0 to HDSL gateway routing mark SOHORange distance 2 ' for the failover job
till here everything is working well.
I would use a script to run the appropriate command in order to disable or enable the right routes.
Now I would use two scripts to disable or enable the appropriate route in order to apply the failover job
I don t know the syntax to ping an address from SOHO gateway and another script to ping an address from HDSL gateway.
while I am using netwatch there is no place to chose the gateway!!!
please guys point me to the right direction ...
I really appreciate you a lot
regards