Sunday 8 February 2015

Know the IP addresses of other computers on the same network

Hey Guys,

A lot of us work on shared networks. We all have curiosity to know about other systems on same computer. So today I am going to tell you ways to know the IP address of computers on same network.


Method 1

If you know the computer's network name ping it in the terminal. You will get the IP address of the system.

          ping <computer's network name>

Method 2

Get your own IP address and subnet mask. In Ubuntu system you can use ifconfig command to get these values. The output will be of the given form



Here 10.1.97.206 is the IP address and 255.255.255.0 is the subnet mask. Now for zeros in mask replace those position with 255 in IP address. Here the new IP will be 10.1.97.255. Ping on this IP to get IP address of all computers connected to this network.

Method 3

Enter the following command in terminal

       arp -a

This will show the IP addresses and Mac addresses of all the the systems it knows.
:)

 

No comments:

Post a Comment