Re: is host exist

From: Cameron Kerr (cameron.kerr_at_paradise.net.nz)
Date: 02/09/04


Date: 9 Feb 2004 18:45:37 +1300

xEM <me@o2.pl> wrote:
> How can i test if host exist, when host doesn't response for ping ?

If you mean the ping is timing out, then the presence of the timeout
should tell you that the host is not responding (or is dropping your
ping packets).

Using a UDP ping may be useful also.

Otherwise, your kinda screwed (unless the host is in the some subnet, in
which case you can solicit an ARP request (ping -c1 IP &))

-- 
Cameron Kerr
cameron.kerr@paradise.net.nz : http://nzgeeks.org/cameron/
Empowered by Perl!


Relevant Pages

  • Re: Batch file for Ping?
    ... the ping can take awhile to timeout when you ... but also the corresponding host name. ... Const OpenAsDefault = -2 ... ' Check for response. ...
    (microsoft.public.windows.server.scripting)
  • Re: Batch file for Ping?
    ... the ping can take awhile to timeout when you try ... with the -a option (to resolve the host name), ... Const OpenAsDefault = -2 ... ' Check for response. ...
    (microsoft.public.windows.server.scripting)
  • Re: connecting via broadband?
    ... > Ping statistics for 193.252.22.137: ... >> mail server and that it is responsive so you get a mail session ... >> host that responds to 'ping' does NOT mean the server program is ... >> actually running or responsive on that host. ...
    (microsoft.public.outlook.general)
  • Re: host availability
    ... >>>google.com, my default gateway, comcast's mail server etc. ... a host was "up or down". ... If you don't get an answer to a ping request, ... happened to reset the interface right then, remote system got trojaned ...
    (comp.security.firewalls)
  • RE: ICMP (Ping)
    ... I do like your reasoning that others do not generally have a business need ... to ping your hosts, however I still prefer to allow this service not simply ... how many hosts do not respond to ICMP echo. ... DHCP server should be able to assume that if the IP were in use a host would ...
    (Security-Basics)

Loading