This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| virtualization:containerlab [2023/11/02 14:38] – external edit 127.0.0.1 | virtualization:containerlab [2025/09/04 21:48] (current) – jotasandoku | ||
|---|---|---|---|
| Line 140: | Line 140: | ||
| TCPDUMP IN CONTAINERLAB: | TCPDUMP IN CONTAINERLAB: | ||
| \\ | \\ | ||
| - | * We run tcpdump over the cname of the container in question: | ||
| + | * Official guide: [[https:// | ||
| + | * netlab wrapper: '' | ||
| + | * more info : [[https:// | ||
| + | * We run tcpdump over the cname of the container in question: | ||
| + | sudo containerlab inspect --all # find the name (cname) | ||
| + | docker exec clab-simple_ipv4-rtr ip a | grep ' | ||
| ssh $containerlab_host_address "ip netns exec $lab_node_name tcpdump -nni $if_name" | ssh $containerlab_host_address "ip netns exec $lab_node_name tcpdump -nni $if_name" | ||
| # Enable non-sudo users to capture: https:// | # Enable non-sudo users to capture: https:// | ||
| 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 ' | ||
| + | netlab down --cleanup | ||
| + | |||
| + | netlab up | ||
| + | netlab config saved | ||
| + | |||
| + | |||
| + | ---- | ||
| + | ** INSPECT LAB WITH NETLAB ** | ||
| + | netlab report addressing | ||
| + | netlab report wiring | ||
| + | netlab show reports | ||
| + | |||
| + | |||