Public bug reported:

Recently I noticed the gnome-system-monitor was reporting unreasonably
high speeds for transfers to/from my NAS, and it seems the fault is in
(or also applies to) ifconfig. For example:

ifconfig eth1; dd if=/dev/zero of=/nfs/thecus/data/temp.dat bs=1M count=100; 
ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:1b:21:2f:ae:37  
          inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21b:21ff:fe2f:ae37/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:52691224 errors:5 dropped:0 overruns:0 frame:3
          TX packets:99490830 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:304653989 (304.6 MB)  TX bytes:1986981405 (1.9 GB)

100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 5.61017 s, 18.7 MB/s
eth1      Link encap:Ethernet  HWaddr 00:1b:21:2f:ae:37  
          inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21b:21ff:fe2f:ae37/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:52729570 errors:5 dropped:0 overruns:0 frame:3
          TX packets:99563684 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:307636348 (307.6 MB)  TX bytes:3337591581 (3.3 GB)

Instead of 100MB being reported, ifconfig is reporting 1288MB!

$ lsb_release -rd
Description:    Ubuntu 10.04.3 LTS
Release:        10.04

$ apt-cache policy net-tools
net-tools:
  Installed: 1.60-23ubuntu2
  Candidate: 1.60-23ubuntu2
  Version table:
 *** 1.60-23ubuntu2 0
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

$ uname -a
Linux paul-ubuntu 2.6.32-34-generic #77-Ubuntu SMP Tue Sep 13 19:40:53 UTC 2011 
i686 GNU/Linux

I expected ifconfig to report the correct amount of data sent!

** Affects: net-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/864846

Title:
  ifconfig reports wrong network values

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-tools/+bug/864846/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to