[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Kernel not counting trasmitted data



Hi all.
At the office, we have a debian server to take care of routing &
transparent proxy'ing.
I recently installed vnstat to monitor the bandwidth usage (turns out
some of the employees spent their day downloading with uTorrent, but
that's another story..) and for the last week or so I noticed that some
of the values drastically dropped.

The gateway server has two network interfaces, with eth0 connected to
the local network and eth1 to the cisco router. Iptables takes care of
the routing between them.

The local i'face seems to be fine, but eth1's data is really hard to
believe:


> root@dl580:/home/config# ifconfig 
> eth0      Link encap:Ethernet  HWaddr 00:03:47:42:5c:17  
>           inet addr:10.0.1.2  Bcast:10.0.1.255  Mask:255.255.255.0
>           inet6 addr: fe80::203:47ff:fe42:5c17/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:31640949 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:18811757 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000 
>           RX bytes:595968566 (568.3 MiB)  TX bytes:128856216 (122.8
> MiB)
> 
> eth1      Link encap:Ethernet  HWaddr 00:03:47:42:5c:18  
>           inet addr:***  Bcast:***  Mask:255.255.255.248
>           inet6 addr: fe80::203:47ff:fe42:5c18/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:7700 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:13057486 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000 
>           RX bytes:2652885 (2.5 MiB)  TX bytes:1146875616 (1.0 GiB)
> 

Most of the traffic is inbound, so it should show up in the RX bytes for
eth1. But it doesn't..
Any clue?

-RV



Reply to: