This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

How do I identify every IP address on my local network?

0

Hello,

I live in a flat with 5 other people and I want to find out the IP address for each computer in my flat, in each room there is a telephone port to connect each computer to the internet via a Ethernet cable, pleas help.

many thanks Andy

asked 09 Dec '11, 08:55

andypickleton456's gravatar image

andypickleto...
1111
accept rate: 0%

edited 09 Dec '11, 09:20

multipleinterfaces's gravatar image

multipleinte...
1.3k152340


5 Answers:

0

While capable of performing this task, Wireshark is probably overkill and not the best or easiest way to do so. Home networks usually come together at one point, and that is usually a router that performs DHCP to assign addresses to every device on the network. Just log in to your router and look at the DHCP table for a neat summary of IP Addresses to MAC Addresses (and probably Computer Names as well).

I assume by "telephone port" you mean "ethernet jack", and that your flat has network cables run in some way that make them difficult to follow (in the walls, under the floors, etc). Wherever your modem is plugged in to the phone or cable jack to go to the Internet is probably where your router is as well. If you must use Wireshark for this task, you will probably need to do some slight modification to your network setup as described in the Switched Ethernet wiki article.

answered 09 Dec '11, 09:19

multipleinterfaces's gravatar image

multipleinte...
1.3k152340
accept rate: 12%

Thank You, but the network in my flat is controlled from a outside source I am in halls it is owned and operated by the university, so I am not sure how that would work but I will give it a try

(09 Dec '11, 09:23) andypickleto...

In that case, things will probably be more difficult. Can't you ask them what their IP addresses are? The University is probably switched, and you will specifically not be able to do anything about it. If your friends run Windows, ask them to run ipconfig at a command prompt and tell you the IP address. If they run linux, as them to run ifconfig at the command line and tell you the IP address.

(09 Dec '11, 09:31) multipleinte...

I'm trying to do it on the sly, plus they mostly have mac's

(09 Dec '11, 10:10) andypickleto...

0

Try NMAP - it's free and a very common tool amongst Wireshark users. Look at your own ipconfig for the LAN address and then do a scan based on the IP/subnet you see there. No promises because the university's network may regard the scan as a prelude to a cyber attack but most do not.

answered 09 Dec '11, 23:21

EricKnaus's gravatar image

EricKnaus
46192026
accept rate: 0%

0

nmap is the way to go. If you know the size of your network, do a nmap scan with

nmap -sP 192.168.0.0/24

This of course is a simple class C. But that should let you know of others that are on your network.

answered 11 Dec '11, 14:04

NetSamSpade's gravatar image

NetSamSpade
1111
accept rate: 0%

0

With the suggested nmap scan, you will probably find a lot more IP addresses than just those of the 5 nodes in your flat. The network has its own topology and does not care about walls, flats, locations (apart from latencies). With the nmap against a class C subnet in a University it is likely you harvest several 10s, probably more then 100 or even 200 IP addresses (depends on how many are up and running at scan time). The University might regard that as an infringement of their policies. I'd rather not run that scan but ask my friends (I do not have a MAC but OS X is UNIX based, maybe it has also an ifconfig executable ...). However, if the addresses are not static but DHCP-provided and hence dynamic, those addresses are likely to change with every reboot (or network reset or ...).

Uwe

answered 14 Dec '11, 12:21

ufalke's gravatar image

ufalke
1112
accept rate: 0%

0

You can open the IP-Details.com to find the Internet IP address in every PC.

To find the computer IP address: For windows OS: Start--->run-->Type cmd Then command prompt will display. type ipconfig

For Linux OS: Goto terminal--->type ifconfig .

answered 21 Jun '13, 04:00

VelaiyatuPillai's gravatar image

VelaiyatuPillai
102
accept rate: 0%

edited 21 Jun '13, 04:03