ngsdn-tutorial icon indicating copy to clipboard operation
ngsdn-tutorial copied to clipboard

The mininet container cannot use xterm and wireshark

Open pth2000 opened this issue 1 year ago • 5 comments
trafficstars

Hello,

When I execute 'xterm h2' in mininet, I get the following error:

Error: Cannot connect to display

I think this has something to do with docker containers. This prevents me from running wireshark on any host.

In Exercise 6: Segment Routing v6 (SRv6) it is mentioned that:

To verify that the device inserts the correct SRv6 header, you can use Wireshark to capture packet from each device port.

How should I run wireshark to capture the packet?

If anyone can help, thank you!

pth2000 avatar Nov 30 '23 05:11 pth2000

facing the same issue. Did you find any solution?

h-afsatariq avatar Apr 28 '24 07:04 h-afsatariq

facing the same issue. Did you find any solution?

@h-afsatariq

Hi. I found some alternatives to the above problems.

  • Edgeshark can help you capture packets of all links in docker network.
  • Regarding the terminal, here are some temporary solutions.

Cheers!

pth2000 avatar Apr 28 '24 07:04 pth2000

Thank you so much. I am stuck on another thing that I want to run the topology with ipv4 hosts in it but I am facing the problem that the hosts are unable to ping each other. Can you help me in this regard please?

h-afsatariq avatar Apr 28 '24 08:04 h-afsatariq

Thank you so much. I am stuck on another thing that I want to run the topology with ipv4 hosts in it but I am facing the problem that the hosts are unable to ping each other. Can you help me in this regard please?

@h-afsatariq

I haven't studied ngsdn further recently, so I may not know much about this issue. I'm concerned that the P4 forum is still active. Maybe someone in the forum can answer your questions.

Cheers!

pth2000 avatar Apr 28 '24 08:04 pth2000

I really appreciate your help. thanks

h-afsatariq avatar Apr 28 '24 08:04 h-afsatariq