I have a ASUS AC1900P running Merlin v386.5_2
I've been setting up a Graphite monitoring system for my little network. I'm screen scraping my AT&T provided Gateway for interface counters but I wanted to also verify them by getting the byte counts from the ASUS router as well. I discovered the MIB 1.3.6.1.2.1.2.2.1.16.x (out bytes) and 1.3.6.1.2.1.2.2.1.10.x (in bytes) where (x) is the interface id. By reading this forum and inspecting the numbers, I have decided that:
4 (eth0) is Primary WAN
6 (eth1) is the Wi-Fi 2.4 GHz band
7 (eth2) is the Wi-Fi 5 GHz band.
In general, these seem to work as I expect. However, sometimes eth0 seems a bit, er, weird if it really is the WAN interface. Since I have an Ethernet cable between the ASUS's WAN port and a LAN port of the AT&T Gateway, I expect to see mirror images of traffic (i.e. what one shows as in, the other shows as out, and vice versa). And, for the most part, I do. However, occasionally, the ASUS shows pretty much equivalent numbers for out as it's showing for in, but that traffic only appears as "out" on the Gateway's interface, so ASUS seems to be sending bytes out, equal to the bytes in, but they're not making it to the Gateway.
What this might be telling me is that eth0 is not, or not simply, WAN traffic.
Traffic also appears on interfaces 1 (lo, obviously not what I'm looking for), 8 (vlan1) and 12 (br0). My conclusion was the vlan1 would be the traffic to the 4 Ethernet ports and br0 would be the sum of 6, 7 and 8 (though I've not seen that bourn out).
Anybody got any decent ideas?
I've been setting up a Graphite monitoring system for my little network. I'm screen scraping my AT&T provided Gateway for interface counters but I wanted to also verify them by getting the byte counts from the ASUS router as well. I discovered the MIB 1.3.6.1.2.1.2.2.1.16.x (out bytes) and 1.3.6.1.2.1.2.2.1.10.x (in bytes) where (x) is the interface id. By reading this forum and inspecting the numbers, I have decided that:
4 (eth0) is Primary WAN
6 (eth1) is the Wi-Fi 2.4 GHz band
7 (eth2) is the Wi-Fi 5 GHz band.
In general, these seem to work as I expect. However, sometimes eth0 seems a bit, er, weird if it really is the WAN interface. Since I have an Ethernet cable between the ASUS's WAN port and a LAN port of the AT&T Gateway, I expect to see mirror images of traffic (i.e. what one shows as in, the other shows as out, and vice versa). And, for the most part, I do. However, occasionally, the ASUS shows pretty much equivalent numbers for out as it's showing for in, but that traffic only appears as "out" on the Gateway's interface, so ASUS seems to be sending bytes out, equal to the bytes in, but they're not making it to the Gateway.
What this might be telling me is that eth0 is not, or not simply, WAN traffic.
Traffic also appears on interfaces 1 (lo, obviously not what I'm looking for), 8 (vlan1) and 12 (br0). My conclusion was the vlan1 would be the traffic to the 4 Ethernet ports and br0 would be the sum of 6, 7 and 8 (though I've not seen that bourn out).
Anybody got any decent ideas?