How to get the devices details that are connected to my router?

pradiptart picture pradiptart · Jul 25, 2012 · Viewed 36.4k times · Source

I have problem in getting list of devices that are connected to my router.On the way to solve this question I have many problems to solve ,to get the answer of my question I have another question to solve as follow.Actually I have to get the device details connected to the router.

I am working in a company and I am having an IP for my pc which is a private IP only .e.g ;10.0.2.35

Now I have to go from this IP,my questions are as follows

1.first question is How to get the router Ip,some how i got this by using

route

command and i got some table from that table a FLAGS column is there and a 'G' will be there in one row and the 'Gateway' column of that row give me the router's address.I don't know it is correct or not,If not kindly give the solution for this.

2.second question is how to get the list of devices connected to this router ,is it possible to get the list of devices connected to this router.If yes can any one give some solution to get this information.

3.Third question is ,Is it possible to get the type of device connected to router.As it may be a PC,a Printer,a Mobile etc.

If this are possible then kindly tell some solution .I need this for my Project .

Is there is a way as nmap or some other tool to get the details of device connected to the router or how to identify a android phone connected to the network,even I have the IP I am not able to get this as an android.

Thanks

Answer

Pedro Nascimento picture Pedro Nascimento · Jul 25, 2012

You can use something like nmap.

Example: nmap -O 192.168.0.0/24

This will get you the list of devices on the same network (which is, if you're in a router, most probably everyone) and -O will also do OS detection.