How to list all active IP addresses in the network from Linux command line

Linux Tutorial – Hello everyone, today I am going to show you how to list all active IP addresses in the network via command line. I am using Ubuntu Linux on this tutorial, but it should be the same for other Linux distribution. In order to display all used IP address on the network, we can use an application called arp-scan. This program can be downloaded and installed on most Linux distribution.

First, we need to install arp-scan package. If you are on Ubuntu, you can use the following command to install arp-scan.

Then, we can start scanning our network with the following command

Change wlp3s0 with your network interface. If you don’t know the network interface you are using, execute this command

Now scan the network using arp-scan

 

Be the first to comment

Leave a Reply

Your email address will not be published.


*