LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-16-2006, 06:32 AM   #1
ashishag
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Rep: Reputation: 0
computers on network


How do I find which computers in the network are working(connected) and which are not.
 
Old 12-16-2006, 07:07 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
depends what you mean by "connected" or not... in my world that question would be answered with a ping, is that all you need? in actual fact if i wish to find all machines (that don't block icnmp) in my local lan i'd use fping to hit every possible address at once.
 
Old 12-16-2006, 08:53 AM   #3
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
Finding boxes which are not connected to your network would be real difficult ask. Otherwise you can ping the broadcast ip & see from which boxes did you get a reply.

And as Acid has prompted you an option of fping;
Quote:
Originally Posted by www.fping.com
fping (Maintained by Thomas Dzubin)

fping is a ping(1) like program which uses the Internet Control Message Protocol (ICMP) echo request to determine if a host is up. fping is different from ping in that you can specify any number of hosts on the command line, or specify a file containing the lists of hosts to ping. Instead of trying one host until it timeouts or replies, fping will send out a ping packet and move on to the next host in a round-robin fashion. If a host replies, it is noted and removed from the list of hosts to check. If a host does not respond within a certain time limit and/or retry limit it will be considered unreachable.

Unlike ping, fping is meant to be used in scripts and its output is easy to parse.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to network 2 computers glena General 7 07-03-2006 01:47 AM
how do I network 2 computers roofninja Linux - Newbie 1 05-24-2006 12:01 PM
could not see other computers on the network linuxqt Linux - Networking 3 08-04-2005 05:40 PM
see other computers on the network? teddmcload Linux - Networking 3 02-06-2005 11:09 AM
How to see other computers on the network Hevener Linux - Newbie 2 11-14-2002 04:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration