On Sunday 22 April 2007 20:11, Maxim Veksler wrote: > Hi, > > I have X default getaways on my machine, I would like to test for > reachability from my machine outside using gw X1. All gateways exist > on the Internet. > > The way I'm thinking to solve this is by configuring a specific route > via gw X1 IP address to some host on the Internet (say 194.90.1.5) > then doing continues ping to it (with 60s interval). I can see on the > output of ifconfig ppp1 if the number of RX packets increased. > > I'm trying to solve a ppp going down problem by rerunning wvdial on it > by requirement. > > Any ideas on a "proper" solution?
I am assuming every DGW is on a different pppX ? If so, you can simply use ping -I <iface> (where iface is other IP of the interface or device name). If not, and they all go through the same interface, I guess routing by destination like you said is the right solution... -- Shimi ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]