I am trying to get statistics about virtual interfaces I have configured on my Linux box running Ubuntu.
/proc/net/dev contains entries for
eth1, but I also have two virtual interfaces,
eth1:1, which are not reported.
After some research, it seems like the virtual interfaces are just a layer on top of the kernel, but the kernel is still only handling the actual interfaces, so it cannot report statistics for the virtual interfaces.
I have read that using ipchains it is possible to get these statistics, but this introduces some significant administrative overhead which I would like to avoid.
Does anyone know how to get these statistics (received bytes, transmitted bytes, etc.) for virtual interfaces on Linux running Ubuntu?