I have Mikrotik routerOs v3.22. I have hotspot user accounts.
In Winbox, when I go to IP–>hotspt–>Hosts
in the first column, there is letters such as AD,AH,D,P,H
what are the possible letters and what do they mean.
In this list I see IPs other than the IPs of the users
No,
/ip hotspot host shows all users connected to the HotSpot interface.
D without A means that client is connected to HotSpot interface, but it is not authorized.
/ip hotspot active table should authorized HotSpot users.
I have hosts in my “HOST” tab showing “D”
Where that came from? it should be “H”. The ip should be given ( i force users to ask for dhcp ip address otherwise no connection ) by dhcp server.
AND THE PEOPLE ARE ACCESSING INTERNET. !!! Did i just got hacked?
If the dhcp server did not issue the ip, then the hotspot host list will show that client as “D”. That applies to clients that have a static ip or a dynamic ip issued by another dhcp server that has not been renewed. If the hotspot 1:1 nat has not been disabled, that will be translated to the “to-address” ip in the host list.
If the dhcp server did issue that ip, the hotspot host list shows that as “H”.
If there is no “A”, then that client is not logged in, and will not have internet access.
I have again user in “Hosts” list with “D”. But why?
I have users to allow users to connect only if they ask for IP from DHCP server first.
DHCP server conf: authoritative: yest, bootp: static.
Or
Maybe the computer shows up with “D” because the computer disconnected for a while and reconnected, while the ip still havent expired yet. I gave the ips for 1Day.
Maybe the computer shows up with “D” because the computer disconnected for a while and reconnected, while the ip still havent expired yet.
Yes, especially if the computer got its current ip from another dhcp server. Many times I find the “address” is not a localnet address for my network, but the “to-address” will always be a valid localnet ip.
If you need to see the specifics on each lease issued by the dhcp server,
/ip dhcp-server lease
print detail
If you want to see what the hotspot 1:1 nat has used