Monday, November 15, 2021

Scanning used ip addresses in your network

To do this, a tool named nmap can be used. This tool can easily be installed using below command:


$ sudo apt install nmap -y


$ sudo yum install nmap -y

Once installed, to scan your network for used IP addresses, just run below command. Please change the network address to suit your envinronment.

$ nmap -sn 

You will be getting output like below, and in this case you know that 5 IPs in your network has been used.

No comments: