This has been presented by me a while ago with no help
the setup is like this:
ether1 - fixed ip from ISP
bridge1 (ether2-3-4-5) - the customers network with hotspot.
dhcp server on bridge1, lease time 1 day
hotspot setup standard, cookie expire in 3 days
Problem: at random times, a user gets ip from dhcp server but it does not receive the hotspot login page.
I can see it's mac, I can see it's lease, but i can't ping it.
From the client side , everything looks normal, i get the ip , i can't ping the gw
(on working customer i get a "destination net unreachable" message before hotspot auth, on weird customer i get request time out)
Solution no.1:
- disable hotspot (customer has now a working internet connection)
- delete customer cookie
- reboot mikrotik
- enable hotspot (customer now has hotspot login page, and after auth, a working connection)
Solution no.2:
- I noticed that if the customer receives the last ip from dhcp pool (.254, .253), he will not have a working connection.
- adding a bogus MAC on that ip (eg. 192.168.1.254, 192.168.1.253), customer receives a new ip and it has a working connection.
I deal with this problem since a year now, with no solution
This happents on 4.xx to 5.xx, no matter how many users are active.
I also noticed that if there are no sudden reboots (power failures), this will not happen for a few days.
Any suggestions are appreciated.
Thank you.