Question:
How to know of a device's IP ?
Shaun L
2006-07-09 04:29:49 UTC
Let's just say I have a new manageable device, such as a router or even a manageable switch (Layer 2/3). All these device would have an IP address where you can launch your browser and key in that IP address and access it. However, what if, for some reason, the IP address of the device has been forgotten. Is there any "IP Sniffer" software out there that can scan for devices that si directly connected to my computer's LAN port?

If I wanna find out the IP address of the router or switch, I would have a direct connection between my computer and the device so that the software can scan for any immediate attached devices.

I would not want to factory reset that device as that would make me lose all my settings.

Thanks in advance for your help.
Nine answers:
Mikal
2006-07-20 13:23:29 UTC
isolate the device interface and a pc with ethereal on the same switch - run ethereal with no filters, reboot the device in question and wait for it to spit something out. scanning for the address means that you need to know the network/subnet that the address is on, but if you just listen promiscously then you will eventually see something come out of the device, especially if it's a router, but even a layer 2 switch will spit something out.



or just use "tcpdump" if you have a linux box.
ajaypal
2006-07-09 09:28:19 UTC
I usually face this kind of problem regularly, as I tend to forget the IP's of my managagable decives in unmanagable numbers.



For that I suggest you install a free network scanner by the name nmap

http://www.insecure.org/nmap/



Download it and install it

You must have a vague idea of atleast the subnet of the device. Set the IP of your machine to some IP of which you are sure is not assigned to the device.



Then isolate your own machine and the device in a subnet or shutdown all other computers/ devices.

Deactivate your firewall.



The in a command window type this

nmap -sP 192.168.1.1-254



If the subnet is 192.168.1.0/24



this will scan the whole shubnet and list IP addresses that respond. Hope your device's IP is listed.



If not try other types of scans with nmap.

If all else fails, try ethereal network sniffer, and leave it running, maybe the device will send some IP data giving you some hint of it.



Regarding, if the device can only be managed from a specific IP, that is a little tought, as you have to do a number of permutations and combinations to find the actual management IP, and the method can very from situation to situation. Maybe some shell scripting skills can help.



BTW I prefer GNU/ Linux for such types of jobs.
mhp_wizo_93_418
2006-07-09 04:36:14 UTC
you say you have an "New Managable Device" but you don't want to reset the factory settings, HMMMMMMMM makes me wonder.



okay, you manual should have the IP address. If not contact the manufacture of the device, and they can usally provide the address. however if you have changed the address. then you could be SOL. and just may have to reset the factory settings. so sad really
kel
2006-07-09 07:43:03 UTC
you're on the right track here. doing an ipconfig on the dos prompt (considering it is a windows computer) should give you a default gateway number - that's the ip of the router.

details:

for Windows 2000/XP --> start, run, cmd, ipconfig

for Windodws 98/SE/ME --> start, run, winipcfg
damongligaw
2006-07-22 19:37:47 UTC
on the Local Area Network look Internet Protocol (TCP/IP), click properties, then check obtain IP Address Automatically
anonymous
2006-07-09 04:52:18 UTC
on the computer were the device is installed, click start> accessories>command prompt



Then type "ipconfig /al"
Prince O Zamunda
2006-07-16 11:02:33 UTC
what is this secret "device"?
syd_guy
2006-07-09 05:00:21 UTC
ipconfig/all
okmessageme
2006-07-09 05:57:41 UTC
http://www.softperfect.com/products/networkscanner/



here you go


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...