Hi all,
Sorry if this is a noob question, but I'm monitoring bandwidth usage on our router (TP-Link Archer C7) and something doesn't seem right with our WAN stats.
I have successfully setup Collectd -> Influxdb -> Grafana, but something doesn't add up: let's say one is streaming a movie from Netflix or something, traffic flowing into out LAN does not equal (is not even close) to traffic coming from the WAN.
To explain, The switch has 5 ports configured in 3 VLANS on the router:
VLAN 1 is our wired LAN (to which the TV is connected).
VLAN 3 is a port reserved for LAN devices I want only connected to a VPN - this works & is not relevant here.
VLAN 100 is WAN port to our ISP.
I noticed in Grafana that the eth0.100
device (ie. traffic to/from our ISP) seems really small so took a look using bmon
(see below).
Note that bmon
shows 1.72MiB being transmitted to the LAN (eth0.1
). Cool. But where is that 1.72MiB coming from? This is not a local stream so must be WAN, but notice how eth0.100
bandwidth is super small. BTW, the ISP's router box has a web UI that I can login to and verify this traffic is certainly coming through that.
Have I missed something? Is there some known issue or something else 'odd' that happens when trying to collect traffic counters on a VLAN?
Edit: Going back and looking at our stats, I think this was broken a month or so ago when I upgraded from v19 to v22 (current version is 22.03.0), does that make any sense?
Interfaces │ RX bps pps %│ TX bps pps %
lo │ 1B 0 │ 1B 0
qdisc none (noqueue) │ 0 0 │ 0 0
>eth0 │ 1.76MiB 0 │ 1.76MiB 1.53K
qdisc none (fq_codel) │ 0 0 │ 1.75MiB 1.53K
eth0.3 │ 0 0 │ 0 0
qdisc none (noqueue) │ 0 0 │ 0 0
eth0.100 │ 3B 0 │ 31.33KiB 335
qdisc none (noqueue) │ 0 0 │ 0 0
eth0.1 │ 298B 0 │ 1.72MiB 1.20K
qdisc none (noqueue) │ 0 0 │ 0 0
wg_in │ 0 0 │ 0 0
qdisc none (noqueue) │ 0 0 │ 0 0
wg_uk │ 0 0 │ 0 0
qdisc none (noqueue) │ 0 0 │ 0 0
br-lan │ 2.28KiB 0 │ 15.56KiB 35
qdisc none (noqueue) │ 0 0 │ 0 0
wlan0 │ 662B 0 │ 750B 6
qdisc none (noqueue) │ 0 0 │ 0 0
wlan1 │ 3.73KiB 0 │ 17.61KiB 41
qdisc none (noqueue) │ 0 0 │ 0 0
TIA,
Robin