Results 1 to 2 of 2

Thread: Scan clients connected to the LAN

  1. #1
    Join Date
    Aug 2010

    Scan clients connected to the LAN

    Hi guys,

    I was wondering if there's a way to check which clients are connected to my LAN? I'd want to know their IP and hostname.

    Any suggestions?

    Thanks in advance.

    Alessandro Desantis

  2. #2
    Join Date
    Nov 2008
    Metro Boston
    Kubuntu Development Release

    Re: Scan clients connected to the LAN

    sudo apt-get install nmap
    nmap -sP
    That will ping all the addresses between and and give you a list of all the hosts it finds. Whether the hostnames are returned depends on whether you have reverse-DNS resolution correctly configured on your network.

    nmap is an incredibly powerful tool with a lot of scanning options. Hell, even Trinity uses it in the second Matrix film.

    If there are Windows clients on the network, you can use the "nmblookup" utility that comes with Samba to get hostnames. "nmblookup -A" will return that host's "Netbios" name, the one that appears in a network search using Windows.
    Last edited by SeijiSensei; August 29th, 2011 at 02:12 PM.

Tags for this Thread


Posting Permissions

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