aweber1nj has asked for the wisdom of the Perl Monks concerning the following question:
This works fine thru FIOS, but Comcast seems to block or otherwise mangle the icmp pings (no matter what target host I try). I tried switching the ping object to use UDP, but that doesn't work at all, and the Net::Ping docs seem to indicate that those are the only protocols that can be explicitly directed to a specific iface -- which I need to do, in order to check that specific connection.
Does anyone have any other options I can try to validate a WAN link's internet connectivity? I thought of using a WWW-Head request over http, but that can't be directed through a specific interface -- maybe if we dynamically adjusted the OS's routes to push the request thru an interface, but that seems klunky at best.
Anyone have any ideas how I can get Perl to detect my WAN status more accurately when I have multiple WAN interfaces? Thanks! -AJ
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::Ping not working right
by Bloodnok (Vicar) on Dec 09, 2008 at 15:12 UTC | |
by aweber1nj (Initiate) on Dec 09, 2008 at 15:23 UTC | |
by Bloodnok (Vicar) on Dec 09, 2008 at 15:44 UTC | |
|
Re: Net::Ping not working right
by inoci (Scribe) on Dec 09, 2008 at 15:30 UTC | |
by aweber1nj (Initiate) on Dec 09, 2008 at 16:55 UTC | |
|
Re: Net::Ping not working right
by inoci (Scribe) on Dec 09, 2008 at 19:16 UTC | |
|
Re: Net::Ping not working right
by svenXY (Deacon) on Dec 09, 2008 at 15:08 UTC |