0
Votes

Client numbers reported by router and controller differs significantly from reality

 
0
Votes

Client numbers reported by router and controller differs significantly from reality

Client numbers reported by router and controller differs significantly from reality
Client numbers reported by router and controller differs significantly from reality
Tuesday - last edited 13 hours ago
Model: ER605 (TL-R605)  
Hardware Version: V2
Firmware Version: 2.2.6

hi all,

 

this is the second time, that I open this, as my first question wasn't apparently noticed by no one from TP-Link:

 

the client numbers reported by Controller (version 5.15.8.2) and routers are completely out of reality:

 

  • Site 1:
    • Controller:
      • Clients:               58 (excl. router)
      • Known clients:    65 (excl. router)
    • Router:
      • SNMP:               34 (incl router)
    • Nmap:
      • Quick Scan:       70 (incl router)

 

  • Site 2:
    • Controller:
      • Clients:               13 (excl. router) (*) (**)
      • Known clients:    13 (excl. router) (*) (***)
    • Router:
      • SNMP:               13 (incl router) (***)
    • Nmap:
      • Quick Scan:       17 (incl router)

 

please note: all lists contain mix of static and DHCP (by routers) assigned IPs

 

(*) the two lists are not identical - only 6 clients are on both lists

(**) the two lists are not identical - 12 clients are on both lists

(***) the two lists are not identical - only 5 clients are on both lists

 

observation: there isn't really any list of DHPC assigned IP addresses available - via controller nor reading data from router via SNMP

 

my question is: why are the numbers so different? epecially the SNMP reported numbers - they should IMHO reflects the reality

/BR ZoloNN --------------------------------------------------------------------------------------------------------------------- Omada 2x ER605(UN) v2.0 + SG200P(UN) V3.20 + 3x EAP615-Wall(EU) V1.0
#1
Options
4 Reply
Re:Client numbers reported by router and controller differs significantly from reality
Yesterday - last edited 13 hours ago

Hi  @ZoloNN 

 

 Here are the possible reasons:

  • Inconsistent Data Statistics Range
    • The statistics of the Controller's Known clients and Clients may adopt different criteria, resulting in different numbers and mismatches with the Router's statistical results.
  • Different Data Update Frequencies
    • The Controller and the Router may have different data update mechanisms, resulting in statistics at different time points, making the statistical results inconsistent. For instance, the Controller may update more slowly, while the Router's SNMP or Nmap scan results are the latest, thus resulting in different numbers of clients.
    • Different tools may have different network detection mechanisms and frequencies, leading to differences in the client information they capture during statistics. For example, Nmap's Quick Scan may be more capable of detecting newly joined clients in a timely manner than SNMP, resulting in a higher statistical number of Nmap.
  • Network Environment Complexity
    • Some clients in the network may be in an unstable state at certain times, such as intermittent connections or being temporarily blocked by firewalls or security policies, and different statistical tools handle such clients differently. For example, the Controller may exclude temporarily unavailable clients from statistics, while Nmap's Quick Scan may consider them as online clients.
    • The mixture of static IPs and DHCP-assigned IPs in the network may cause confusion, and different tools handle these IPs differently, resulting in different statistical results. Meanwhile, the lack of a clear DHCP-assigned IP list may lead to inaccurate client number statistics because it is not clear which clients are newly assigned via DHCP.
  • Differences in Statistical Algorithms and Filtering Rules
    • The Controller may have its own client identification and filtering rules, while the Router's SNMP or Nmap has different algorithms. For example, the Controller may filter out some clients that it deems inactive or not meeting specific conditions, while SNMP may count them in the statistics.
    • Different tools may not handle duplicate counting of the same client properly. For example, some tools may consider a client that disconnects briefly and reconnects as a new client, while others may not.

 

 

Side note: this topic is not a feature request. Next time, you'd better go to router block to get a faster and more professional answer.

Wish you a happy life and smooth network usage! 
#2
Options
Re:Client numbers reported by router and controller differs significantly from reality
Yesterday - last edited Yesterday

Hi @Vincent-TP 

 

I fully understand, that Controller can be not always on latest numbers, but I definitely can't understand, why the client list on router directly isn't up to date.

 

and what I can't absolutely understand, why there is no table with actual DHCP leases. even the (excuse my french) stupidest 20$ home router can do this and I've tried address this here, and later my similar observation here - which has no replies, just 157 views. that's the reason why I've put my question here to catch the attention (sorry for that). 

 

current numbers from Site 1:

Nmap: 75 devices, where 32 are from DHCP range

Router SNMP query: 33 devices, where 17 are from DHCP range

 

regarding your remarks about network complexity, the networks are "plain" one IP subnet networks without firewall in-between, cross-connected via pfSense site2site WireGuard (reason for usage of pfSense is here)

 

my suggestion is to make the router's DHCP list accessible at least via SNMP. 

 

/BR ZoloNN --------------------------------------------------------------------------------------------------------------------- Omada 2x ER605(UN) v2.0 + SG200P(UN) V3.20 + 3x EAP615-Wall(EU) V1.0
#3
Options
Re:Client numbers reported by router and controller differs significantly from reality
13 hours ago

Hi @ZoloNN

You scanned via Nmap, did you scan the whole subnet including the remote VPN site?

 

Run show arp and see what it reports. That should be the real local devices. You should get a clear view from that. Other tools are not accurate.

ARP contains the cache. I don't know how ASUS/merlin processes that. At least, I don't think they show the clients based on ARP.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
#4
Options
Re:Client numbers reported by router and controller differs significantly from reality
6 hours ago

Hi @Clive_A,

Clive_A wrote

You scanned via Nmap, did you scan the whole subnet including the remote VPN site?

 

Run show arp and see what it reports. That should be the real local devices. You should get a clear view from that. Other tools are not accurate.

ARP contains the cache. I don't know how ASUS/merlin processes that. At least, I don't think they show the clients based on ARP.

 

RE Nmap scan:

yes, 've scanned whole subnets in form of "192.168.xx.0/23"

 

RE arp cache:

arp has nothing to do with DHCP! arp protocol is initiated only when router wants to communicate with device, or device with router. and I definitely doubt, that any router makes regularly arp discovery of network.......

currently nmap detects on Site 1 73 active IPs, "show arp" outputs 31 hosts (including hosts with static IPs and upstream ISP router)

looking around the controller UI I've found, that router notifies the controller about every IP assigned via DHCP (Site Menu -> Logs -> Events -> Device), so the controller has all the information needed to show this info in separate table - like (not only) the Asus does.

all DCCP servers must keep track of all assigned IPs with remaining validity time, so there is IMHO absolutely no reason to hide it from admins

 

BTW: I'm freelance Windows Server and VMware admin wink

/BR ZoloNN --------------------------------------------------------------------------------------------------------------------- Omada 2x ER605(UN) v2.0 + SG200P(UN) V3.20 + 3x EAP615-Wall(EU) V1.0
#5
Options