How to find out the VM corresponding to a tap device?

Tony

Renowned Member
Nov 4, 2010
113
11
83
Hi,

on pve hosts when I run ip l, I see a lot of tap devices. How can I figure out the VM corresponding to a specific tap device, for example tap123i0?

I have setup netdata monitoring on the pve host, and it reports that a tap device has been dropping packets. But I don't know which VM is it.
 
If I am not mistaken, the VMID will be used in the TAP name. Should be 123 in your example.
 
  • Like
Reactions: Tony