Sample Header Ad - 728x90

How to know if a network interface is tap, tun, bridge or physical?

30 votes
7 answers
52146 views
As far as I know, there are 4 main types of network interfaces in Linux: tun, tap, bridge and physical. When I'm doing sys admin on machines running KVM, I usually come across tap, bridge and physical interfaces on the same machine, without being able to tell them apart. I can't see any significant differences in ifconfig results, as in ip results. How can I know if an interface is a tun, tap, bridge, or physical? *note: I don't claim that there are no other types of network interfaces in Linux, but I know only these 4.*
Asked by user368507 (2223 rep)
Jun 11, 2012, 10:58 PM
Last activity: Jun 10, 2021, 06:23 AM