Network Traffic Stats on virtual interface
Hello All,
I am Santhosh. I am facing a problem collecting statistics like Received Packets, Received Bytes, Transmitted Bytes etc for a virtual interface configured on cpci card (zrl0:1). /sbin/ifconfig command output doesn't show any data for virtual interface however for interface which is maintained by kernel (zrl0) it shows. Following is the sample output zrl0 Link encap:Ethernet HWaddr 00:80:42:11:A8:4C inet addr:192.168.0.105 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:267926 errors:0 dropped:0 overruns:0 frame:0 TX packets:209036 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 Interrupt:9 zrl0:1 Link encap:Ethernet HWaddr 00:80:42:11:A8:4C inet addr:10.51.81.107 Bcast:10.255.255.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:9 My questions are : a) Does the stats shown for zrl0 interface, include traffic for both zrl0 and zrl0:1 OR is it just of zrl0 interface? b) If answer to question a) is NO, then how can I get stats for zrl0:1 virtual interface? Please advice. Thanks, Santhosh |
Hi,
And welcome to LQ! And you've got me stumped :} I've never seen or heard of a zrl0. What OS are you using, and what kind of device is this? Cheers, Tink |
Network traffic stats on virtual interface
Quote:
OS i am using is linux only. This interface is a znyx interface. I don't mind using eth0 aswell? Still I got into same issues. Rgds, Santhosh |
All times are GMT -5. The time now is 07:09 PM. |