User Tools

Site Tools


virtualization:containerlab

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
virtualization:containerlab [2024/10/06 15:59] jotasandokuvirtualization:containerlab [2025/09/04 21:48] (current) jotasandoku
Line 140: Line 140:
 TCPDUMP IN CONTAINERLAB: TCPDUMP IN CONTAINERLAB:
 \\ \\
 +
 +  * Official guide: [[https://containerlab.dev/manual/wireshark/]]
 +  * netlab wrapper: ''netlab capture rtr eth1 icmp -l'' / ''netlab capture rtr eth1 -U -s0 -w - | sudo wireshark -k -i -''
 +    * more info : [[https://netlab.tools/netlab/capture/]]
   * We run tcpdump over the cname of the container in question:   * We run tcpdump over the cname of the container in question:
   sudo containerlab inspect --all    # find the name (cname)   sudo containerlab inspect --all    # find the name (cname)
Line 147: Line 151:
   ssh ubuntu@143.47.236.251 "sudo ip netns exec clab-vxlan1-s1 tcpdump -U -nni et1 -w -" | wireshark -k -i -   ssh ubuntu@143.47.236.251 "sudo ip netns exec clab-vxlan1-s1 tcpdump -U -nni et1 -w -" | wireshark -k -i -
    
 +
 +----
 +** SAVE WORK AND COME BACK **
 +# from your lab folder
 +  netlab collect -o saved    # important, folder is not called 'saved' otherwise overwritten
 +  netlab down --cleanup
 +
 +  netlab up
 +  netlab config saved
 +
 +
 +----
 +** INSPECT LAB WITH NETLAB **
 +  netlab report addressing
 +  netlab report wiring
 +  netlab show reports
 +
 +
  
virtualization/containerlab.1728230376.txt.gz · Last modified: by jotasandoku