goalmarketing / vigor2130

Automatically exported from code.google.com/p/vigor2130
0 stars 0 forks source link

Incorrect amount of trafic #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Goto Diagnostics->Detailed Statistics on the routers web-page
2. Connect with putty to router and execute command ifconfig

What is the expected output? What do you see instead?
The Receive Total and Transmit Total items on the router web-page do not 
correspond with the values from command ifconfig

[webpage]
Rx Packets  101378722
Tx Packets  39165992

[ifconfig]
br-wan    Link encap:Ethernet  HWaddr 00:xx:xx:xx:xx:xx
          inet addr:xxx.xxx.xxx.xxx  Bcast:255.255.255.255  Mask:255.255.254.0
          inet6 addr: fe80::xx:xx:xx:xxx/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:303583 errors:0 dropped:0 overruns:0 frame:0
          TX packets:25657 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:31105035 (29.6 MiB)  TX bytes:3344617 (3.1 MiB)

What version of the product are you using? On what operating system?
First tested on version 1.4.1
Current version
Model   :   Vigor2130n
Firmware Version    :   v1.5.1_RC2

Please provide any additional information below.

Original issue reported on code.google.com by vincent....@gmail.com on 17 Apr 2011 at 10:00

GoogleCodeExporter commented 8 years ago
It is normal if the Hardware NAT works.
2130 default turn on the Hardware NAT engine.
CPU don't know the traffic through HNAT.
So the ifconfig (by CPU) statistics is less then WUI statistics (by switch 
chip).

Original comment by jht...@gmail.com on 17 Apr 2011 at 11:13

GoogleCodeExporter commented 8 years ago
As a consequence also the SNMP values are affected. Which makes graphing 
traffic "not usable" when using NAT.

How can one see via command line the "real" traffic?
Is it also possible to add the values to a SNMP tree?

Original comment by vincent....@gmail.com on 19 Apr 2011 at 9:56

GoogleCodeExporter commented 8 years ago
Maybe is this link helpfull?
http://www.roth.lu/cacti-snmp-tut.htm
Could this work?

Original comment by h...@wevers.org on 29 Apr 2011 at 6:14

GoogleCodeExporter commented 8 years ago
Where you able to solve this?
I'm trying to use Cacti too, but so far only strange values :(

Original comment by r...@progob.nl on 30 Mar 2012 at 9:16