On Monday 04 May 2009 11:58:06 Ramkumar R wrote:
my experience with bsnl/airtel is that even if you can ping the gateway, the line may still be down further up the chain. You need to be able to ping something like google.com through the relevant ethernet card.
There's no reliable way to assert if a link is "working" then. Pinging the gateway will only tell you if the link is technically up. There are scenarios where you can access some websites but not others.
true - I was admin of a server where we had 4 ISPs - and went by the rule of thumb that if I could ping google.com, *then* it is technically up. At least that way I could tell users: ok, *I* can ping google so as far as I am concerned the link is up.