3. Traffic capture, multiple interfaces
In this third part we will see how to create a capture matching multiple interfaces and how to follow a flow along a path.
Two network namespaces lab
To keep the demonstration simple we are just going to use a tiny shell script that will create two network namespaces interconnected through a bridges thanks to veth interfaces.
Once executed, Skydive should have detected the two namespaces with all the links and should look like this.
Shortest path capture
After having expanded the two namespaces, double clicking on them or thanks to the left botton expand button, we can start a capture using the same process as for capturing one interface except here we are going to select the `eth0` of the first namespace as first interface and the `eth0` of the second namespace as second interface.
Journey of a packet
Let's generate a bit of traffic. Skydive embeds a packet generator but here we are just going to use a simple ping as the packet generator will be addressed in another part.
We can now check if we see ICMPv4 packets just by clicking on one captured interface in order to get the flows on the right panel. In order to see where ICMPv4 packets have been see we can place the mouse over the flow, the interfaces involved in the packet forwarding will be highlighted.