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

Hi,

I have a NAS connected to a switch. From that same switch I have a wireless router connected. I want to know the IP of my NAS by sniffing it. I have the MAC address of the NAS but I need the IP to be able to connect to it.

I am on a laptop now connected wirelessly to the router. What filter do I use to be able to sniff the IP of the NAS?

asked 05 Feb '13, 07:54

aDonis's gravatar image

aDonis
1111
accept rate: 0%


Filter won't help you here, since you'll not be able to capture any packet unless the NAS broadcasts something. The switch will only send packets to you that the NAS directs at your MAC, which it probably will not if you haven't accessed it (which you need the IP address for). Maybe it will broadcast something when you boot it.

permanent link

answered 05 Feb '13, 10:20

Jasper's gravatar image

Jasper ♦♦
23.8k551284
accept rate: 18%

I am on a laptop now connected wirelessly to the router. What filter do I use to be able to sniff the IP of the NAS?

Please connect the laptop to another switch port and start Wireshark on the laptop. Then power cycle the NAS. If you are "lucky" the OS of the NAS will send out a gratuitous ARP after the IP stack was initialized. That gratuituous ARP packet will contain the IP address of the NAS.

You will not see that packet while you are connected to the router via wlan/wifi!! So, you need to connect the laptop directly to the switch.

Regards
Kurt

permanent link

answered 05 Feb '13, 13:21

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

edited 05 Feb '13, 13:21

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×349
×157
×19

question asked: 05 Feb '13, 07:54

question was seen: 4,567 times

last updated: 05 Feb '13, 13:21

p​o​w​e​r​e​d by O​S​Q​A