Find Out All Live Hosts IP Addresses Connected on Network in Linux

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

6 Responses

  1. Rms-Mit says:

    This will work on IPv4 but not on an IPv6 network. a sub-net on IPv6 has 64 bits of address space in each sub-net. It would take a 1000 years for a fast computer to scan that IP range. I was hoping that there might be a reference to some Neighbor discovery tool to achieve this on an IPv6 network

  2. Mace Moneta says:

    Using nmap is an active scan, but that’s not necessary for this purpose. All hosts arp to identify themselves to other hosts on the network, so simply displaying the arp table will show you what you want, instantly.

    arp -n | grep -v “incomplete\|Flags” | sort -V

  3. Mightyjordi says:

    This is nice. Is there a command that will display (all live non assigned) available IP addresses in a network?

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?