|
Question : advanced batch file, write or append ping result to file >.txt, load balancing, persistent routes, metrics.
|
|
Further to this, i'm trying to find a way to run diagnostics on the whole set up.
What i've come up with so far, is another batch file as follows:
route delete 0.0.0.0 route ADD 0.0.0.0 MASK 0.0.0.0 192.168.0.1 -p ping www.google.com >c:\ADSL\router1.txt route delete 0.0.0.0
route ADD 0.0.0.0 MASK 0.0.0.0 192.168.0.2 -p ping www.google.com >c:\ADSL\router2.txt
route delete 0.0.0.0 route ADD 0.0.0.0 MASK 0.0.0.0 192.168.0.3 -p ping www.google.com >c:\ADSL\router3.txt
route delete 0.0.0.0 route ADD 0.0.0.0 MASK 0.0.0.0 192.168.0.4 -p ping www.google.com >c:\ADSL\router4.txt
Is there a way of using dos commands to append to a batch file the ping results from each router?
Anyone got any better ideas?
I need a free window's proxy that's free, stable, load balancing, auto switching, (is bonding possible with ADSL when you use different isps??) that will do basically what the firebrick does. www.firebrick.co.uk <- maybe time to plug aaisp.net, thanks for the £1000+ quote!
Jasef, still only got 5 comps on, will add 5 more tomorrow, maybe another router too.
|
Answer : advanced batch file, write or append ping result to file >.txt, load balancing, persistent routes, metrics.
|
|
Yes, just use ">>" instead of ">" in your batch file. Like this:
ping www.google.com >> c:\adsl\router.txt ping www.microsoft.com >> c:\adsl\router.txt echo Howdy >> c:\adsl\router.txt
That should do it.
Jeff
|
|
|
|