On Sun, 17 Oct 2004, Thanh Tra LUU wrote:
The virtual interfaces are considered like eql, teql, ...More details, i use the RTM_GETLINK, then I get all the interfaces (virtual + physical), so I dont know how to distinguish a virtual from a physic one.
As far as the kernel is concerned these are real devices..
But it I am not mistaken you can filter out teql devices by the fact that they do not have a MAC layer (type ARPHRD_VOID, flags IFF_NOARP).
But there is virtual interfaces such as VLAN interfaces where this is not true.
It can also be argued what is the interface when you have bonded interfaces together using a eql/teql device.
Regards Henrik - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html