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

How to show all interfaces of some remote shells on wireshark?

0

Hello.

I've launch wireshark from a remote shell like the explanation in https://ask.wireshark.org/questions/10941/how-do-you-launch-wireshark-from-a-remote-shell, but I need to launch it with interfaces of two or more shells of different virtualized nodes running over linux.

Somebody that knows how to do it?

I will explain it better. I have a virtual network running over linux with mininet. I open the shells of the network nodes through mininet. When the shells appears, I run the commands like explain here: https://ask.wireshark.org/questions/10941/how-do-you-launch-wireshark-from-a-remote-shell; but two differents wireshark windows appear, each of one with the interfaces of the corresponding node.

So, I need that the interfaces of all my nodes appear in the same wireshark window.

Please, your help.

Thanks.

asked 17 Jul '15, 09:25

mjargvell's gravatar image

mjargvell
6112
accept rate: 0%


One Answer:

0

So, I need that the interfaces of all my nodes appear in the same wireshark window.

You can use more than one -i statements on the commandline.

Example:

wireshark -i eth0 -i eth1 -i eth2 -n ....

Regards
Kurt

answered 17 Jul '15, 10:36

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

Well, the problem is that I have one shell for every router. For example, if I have routers R1 and R2 and if I run the command wireshark -i eth0 -i eth1 in the R1 shell and wireshark -i eth0 -i eth1 in the R2 shell, Wireshark opens two differents windows, each of one with the interfaces of only one router.

I don't know if I'm explaining well. Do you get my problem?

Thanks.

(17 Jul '15, 10:54) mjargvell
1

I don't know if I'm explaining well. Do you get my problem?

Well, let's see: Do you have 3 virtual systems (router) with Mininet that you have to telnet/ssh into and then capture on the virtual interfaces within those virtual systems?

(17 Jul '15, 10:58) Kurt Knochner ♦

Yes, this is my testing environment.

(17 Jul '15, 11:15) mjargvell

O.K. that's not easy. See my answer to a similar question.

https://ask.wireshark.org/questions/13059/capturing-from-multiple-pipes

(17 Jul '15, 13:01) Kurt Knochner ♦

Ehh, no, that's not what he's doing.

He's using the remote shell to run Wireshark GUI at the router. He just exports the DISPLAY towards his management station. These multiple Wireshark GUI processes (one on each router) give multiple windows on his management station. This he would like to aggregate into one.

(17 Jul '15, 22:23) Jaap ♦