networkop / meshnet-cni

a (K8s) CNI plugin to create arbitrary virtual network topologies
BSD 3-Clause "New" or "Revised" License
116 stars 28 forks source link

Debug commands #52

Open bpandipp opened 1 year ago

bpandipp commented 1 year ago

hi, I have created the connections between 2 PODS within same hosts and across hosts as well and ping is working as expected. However would like see the VXLAN tunnel interfaces and VNI's used to communicate across hosts for my understanding. Tried "ip a" and brctl commands in the host but nothing showing anything. Could you please share the steps to see the veth and vxlan interfaces created by the meshnet CNI?

networkop commented 1 year ago

Both veth and vxlan interfaces are first created in the root network namespace but then moved into the namespace of their respective pods. So you should be running the "IP link" commands inside of the pod to see the details

bpandipp commented 1 year ago

Thank you so much. Also, do we support bridge mode currently? I am looking to connect interfaces from each POD in a broadcast domain.

networkop commented 1 year ago

There's no bridge mode support from meshnet, but you can easily simulate that by spinning up a pod with ifreload (or any other linux network manager) and plugging your p2p interfaces into it.