Replies: 2 comments 1 reply
-
Last time I looked it takes a lot of effort to install bpf capable kernel. And what's there from clab perspective to make this easy? How do you see clab can help there? |
Beta Was this translation helpful? Give feedback.
1 reply
-
I came across xdpcap and I was thinking that Containerlab might enable xdp capture on the veth pairs it creates. It would look something like this:
where (I think) XDP hook would look something like this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Virtual labs are ideal for capturing packets to analyze what’s going on in the network. However, currently with containerlab it’s a bit hard to figure out which links to monitor, and there is no option to collect from multiple links to trace packets end-2-end
Linux systems have eBPF kernel filters with XDP data path; these are very flexible and could be used to collect - say - vxlan packets with vni 1234, on all links
Beta Was this translation helpful? Give feedback.
All reactions