> -----Original Message-----
> From: Eric Fiterman [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 08, 2001 9:42 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: multiple IP addresses in /etc/hosts
> 
> 
> Hi:
> 
>   Is it possible to have an application like ping or telnet iterate
> through IP addresses for a given hostname, if a previous 
> attempt fails?
> 
>   For example:
> 
>   in /etc/hosts:
> ---------------
>   0.0.0.1 testhost
>   0.0.0.2 testhost
>   0.0.0.3 testhost
> ---------------
> 
> If I attempt to 'ping testhost', and the first entry 
> (0.0.0.1) fails, is
> there anything to configure which would allow an automatic attempt to
> ping 0.0.0.2? Is this possible?


Not exactly sure what your trying to accomplish - just tryuing to verify
that the ip addresses are operating the way they should?

nmap will probably do what you need, it's a network scanner designed to do
things like scan whole subnets.  You will find it in ports/security/nmap
IIRC, not only is it a great network scanner but it will do other tricks
like jump through flaming hoops and TCP thumbprint remote OS's.

Gene Dinkey
aka
Master of my domain
aka
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to