Platform : Ubuntu Linux , But its works all linux Variant
How to find the IP available in you local network. Its pretty much if you are firewall is not blocking you . Here i have one solution to find the IP address and Mac address in you local network.
Try to download the "fping" packages from the repo
sudo apt-get install fping
Type the first command
fping -g <range starts here> to <range end here>
eg : fping -g 184.108.40.206 220.127.116.11
fping send a halfway ping to request to all the machine in your local network. Only the alive machine will give response to this mass ping
Type the Second command
arp -v or arp -a
You will get the all IP or hostane , Mac Address and interface of the machine.
By using an appropriate shell-script we can save these data in to the database (Its necessary) . When we are going to mass ping , ARP Cache table fill with machine entries . this will clear at certain point.. On that time... we could not get the data.
Use Scripts and Enjoy....