Balancing 3G connections

Hi,

I deal with balancing two 3G modems in Mikrotik RB. Distribution of users thus take place within two connectivity by balancing the results. A faster modem was configured firewall ratio of 2: 3 and a slower 1: 3. I have a local variable local INT1 pppoe1 and local INT2 pppoe2. I need to evaluate the value of modems ping speed and then compare which modem is faster and give it a ratio of 2: 3. For slower modem is ratio 1:3. Please advise someone how to achieve findings ping speed and then save it to a file? The script should determine ping speed 5 times after five seconds and always saved to a file. This will provide for each modem 5 files. The calculated values can then count the average pingspeed and pick a faster modem.

So I need to deal with the creation of the script for evaluating pingspeed of two modems.

Does anyone have any ideas? Thank you. :slight_smile: