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

how to choose an interface?

0

i recently downloaded wireshark and im new to the system. I was expirementing with it and was wondering how to know which interface to choose to collect packets off of my router. how do I know which one is my router. I tried the one receiving packets and tried to log onto something on my laptop while on the network to retrieve the password but it didn't show up in the packet. please help?

asked 20 Mar '13, 17:58

jp7799's gravatar image

jp7799
1111
accept rate: 0%

edited 21 Mar '13, 10:58

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196


One Answer:

0

Open wireshark application and click interface list on home page. It shows all the interfaces tied to your system and you can select one. Do an ifconfig(un*x) or ipconfig(windows) to identify the correct interface for packet capturing.

Identifying your router: According to me your router is your default gateway(Correct me if i am wrong). Do netstat -r -n on a Un*x machine and ipconfig/all on your windows to identify your router aka default gateway. The output of netstat -r -n should have a line with "default" in the first column; the interface listed near the end of that line is the interface used to communicate with your router.

Not an iota of clue with rest of your question.

answered 20 Mar '13, 18:16

krishnayeddula's gravatar image

krishnayeddula
629354148
accept rate: 6%

edited 21 Mar '13, 00:39

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196