I have successfully installed and tested nlbwmon and luci-app-nlbwmon and in testing it appeared to gather bandwidth stats successfully. I have now got it up and running in production but I am seeing multiple IPs for each MAC address.
The single production LEDE router serves two VLANS both connected to a central location via a wifi connection to the LANs via WDS.
Central LEDE router as AP1 (WDS) >wireless< Client1 non LEDE (WDS) > LAN1
Central LEDE router > AP2 non LEDE (WDS) >wireless< Client2 non LEDE (WDS) > LAN2
For each device in LAN1 and LAN2 I have configured DHCP on the central LEDE router to provide static leases so that I know which IP addresses are associated with which device and each device has a hostname associated with its IP and MAC addresses configured DHCP.
However, I only see two MAC addresses in luci-app-nlbwmon, one for each VLAN each with the IP addresses of the devices in each VLAN associated with them.
e.g. when you expand each MAC address entry in luci-app-nlbwmon you see:-
F8:8D-24-69-78-6F
192.168.1.100
192.168.1.101
192.168.1.102
192.168.1.103
F8:8C-24-69-78-6F
192.168.2.100
192.168.2.101
192.168.2.102
192.168.2.103
In testing this was not the case - each device was listed by MAC address with one IP address associated with each MAC address.
In testing the only difference was that I had both the central router and the Client1(WDS) with LEDE installed.
Central LEDE router as AP1 (WDS) >wireless< Client1 LEDE (WDS) > LAN1
rather than in production where the APs are non LEDE.
No hostnames or MAC addresses for each device are coming through to luci-app-nlbwmon.
So, it seems like only the IP addresses, not the MAC or hostnames are being passed through the Client APs via WDS to nlbwmon.
Strangely in the central LEDE router both MACs and hostnames are visible in the DNS connected hosts screen in LEDE.
Only the two MAC addresses are visible with multiple IP addresses for each MAC in the ARP table on the central LEDE router.
After testing the test router was put in place of the original production router so I know that the configuration is identical - only the SSIDs were changed to suit the production environment.
All routers are from the same manufacturer - TP-Link.
Does anyone know any way around this without installing LEDE on my production Client APs.
One client AP is up a pole outside and difficult to get at and replace if I brick it.
The other client AP is not supported by LEDE, but I can install LEDE on to it and was the same model of router that I used in testing.