Find the answer to your Linux question:
Results 1 to 2 of 2
how to know the number of reachable machines in the lan from my computer(not who command as it gives only users who are logged in)...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2006
    Posts
    2

    List Of Reachable Machines in the Lan


    how to know the number of reachable machines in the lan from my computer(not who command as it gives only users who are logged in)

  2. #2
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    you could use nmap for something like this.

    Lets take for example the network number 192.168.0.0 with subnet 255.255.255.0

    You can run:

    Code:
    nmap -sP 192.168.0.0/24
    and this will return all the ip's in that network and subnet that respond to a ping packet (most computers). That's probably the simplest way of doing something like that.
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •